Saturday, March 31, 2012

Single Navigation Control for all pages w/ buttons

I'm trying to build a user control to navigate between my pages. I've seen a demonstration using AppPath, where a single user control can handle the navigation for pages regardless of which directory (or subdirectory) they're located in. However, my problems lies in the fact that my nav bar (control) contains mouseovers. So I need to combine:


<asp:HyperLink id="HyperLink1" runat="server" NavigateUrl="http://www.yahoo.com"><img src="http://pics.10026.com/?src=http://localhost/test/images/button1.gif" border="0"></asp:HyperLink>

-AND-


<img name="yahoo" border="0" src="http://pics.10026.com/?src=images/button1.gif" width="135" height="22">

Any help greatly appreciated.Did you try to add your onmouseover and onmouseout attributes to the Hyperlink tag?
Ah, I see what I did wrong. I was using the ID attribute instead of Name...

thanks.

0 comments:

Post a Comment