I have a mouse over event that will change the graphic of a button using javascript pretty straight forward. I use the same logic on a hyperlink, but the mouse over event does not seem to change the object. Here's my code
[tt]
'Image Button
ImgBtnChoice.Attributes.Add("onmouseover", "this.src='/GalleryCatalog/Image/arrow_sel.gif';"
ImgBtnChoice.Attributes.Add("onmouseout", "this.src='/GalleryCatalog/Image/arrow_unsel.gif';"
'Hyperlink
lnkAdvanceBid.Attributes.Add("onmouseover", "this.src='/GalleryCatalog/Image/arrow_sel.gif';"
lnkAdvanceBid.Attributes.Add("onmouseout", "this.src='/GalleryCatalog/Image/arrow_unsel.gif';"
[/tt]
If I make the hyperlink button an image button it works fine. Any ideas?
Jason Meckley
Database Analyst
WITF
[tt]
'Image Button
ImgBtnChoice.Attributes.Add("onmouseover", "this.src='/GalleryCatalog/Image/arrow_sel.gif';"
ImgBtnChoice.Attributes.Add("onmouseout", "this.src='/GalleryCatalog/Image/arrow_unsel.gif';"
'Hyperlink
lnkAdvanceBid.Attributes.Add("onmouseover", "this.src='/GalleryCatalog/Image/arrow_sel.gif';"
lnkAdvanceBid.Attributes.Add("onmouseout", "this.src='/GalleryCatalog/Image/arrow_unsel.gif';"
[/tt]
If I make the hyperlink button an image button it works fine. Any ideas?
Jason Meckley
Database Analyst
WITF