Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigation bar help

Status
Not open for further replies.

dtb

MIS
Jul 24, 2000
1
US
What is the best way to set up a navigation bar that will perform simple mouseover over each link.  there will be 5 links - just text images. one large image or separate ?thanks
 
You could either create a whole image and create an image map (where you define the coordinates for each area to be rolled over (here's one from my site that's actually showing and hiding layers rather than roll overs, but you get the idea):<br><br>&lt;A href=&quot;#&quot; onmouseout=&quot;stopImages();MM_showHideLayers('Layer2','','hide')&quot; onmouseover=&quot;initiate('BBC');MM_showHideLayers('Layer2','','show')&quot;&gt;<br><br>&lt;area COORDS=&quot;0,0,60,79&quot; HREF=&quot;<A HREF=" TARGET="_new"> target=&quot;mainFrame&quot; <br>&nbsp;&nbsp;shape=RECT&gt;&lt;/a&gt;<br><br>Alternatively, and I'd opt for this option, create seperate images for each roll-over. For a real simple navigation bar just create a table with five cells and insert your roll overs in each cell.<br><br>Creating one large image would be asking too much for a roll-over. Roll-overs should be very quick to load and a big image is more likely to do the opposite.<br><br>Hope this helps.<br><br><A HREF=" TARGET="_new"> (currently being revamped!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top