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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Rollover (navigation) - Using Templates

Status
Not open for further replies.

braves07

Technical User
Apr 24, 2007
40
US
I'm about to rip my hair out on this one. I have navigation that is using image rollovers to swap. Here is the code on my template page (I included the navigation above it as an example how they are the exact same on the template page) Problem I'm having is on the logset image:

Code:
<p class="navimage">
<a href="../gelfuelfireplaces.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gel Fuel Fireplaces','','../assets/menu/gelfireplaces_over.jpg',1)"><img src="../assets/menu/gelfireplaces_default.jpg" alt="Gel Fuel Fireplaces" name="Gel Fuel Fireplaces" width="158" height="34" border="0" id="Gel Fuel Fireplaces" /></a></p>
		  
<p class="navimage">
	  	  <a href="../logset.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Log &amp; Grate Set','','..assets/menu/log_over.jpg'',1)"><img src="../assets/menu/log_default.jpg" alt="Log &amp; Grate Set" name="Log &amp; Grate Set" width="158" height="34" border="0" id="Log &amp; Grate Set" /></a></p>

Notice the Set','','..assets/menu/log_over.jpg. It is the same as all the other navigation Set statements. However, for some reason when you view the actual page, instead of the template it adds this code:

Code:
<p class="navimage">
		   <a href="gelfuelfireplaces.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gel Fuel Fireplaces','','assets/menu/gelfireplaces_over.jpg',1)"><img src="assets/menu/gelfireplaces_default.jpg" alt="Gel Fuel Fireplaces" name="Gel Fuel Fireplaces" width="158" height="34" border="0" id="Gel Fuel Fireplaces" /></a></p>
		  
<p class="navimage">
<a href="logset.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Log &amp; Grate Set',Templates/'','..assets/menu/log_over.jpg'',1)"><img src="assets/menu/log_default.jpg" alt="Log &amp; Grate Set" name="Log &amp; Grate Set" width="158" height="34" border="0" id="Log &amp; Grate Set" /></a></p>

Can someone please help me solve this. This is the only image that does not swap. I deleted me entire navigation and re-entered them all, and this one is still doing it.

Thanks,

braves07
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top