Quoting from the Advanced users guide:
I did exactly this on a site I'm working on and it worked great but for some strange reason it has stopped working
My Act_Primary.html navigation code is:
<a href="NETQUOTEVAR:NAVBHOMELINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','home_btn_on.gif',1)"><img src="home_btn_off.gif" alt="Go back to the Homepage..." name="Home" width="61" height="30" border="0"></a></TD>
<TD><IMG SRC="grey.gif" WIDTH=392 HEIGHT=30 ALT=""></TD>
<TD><a href="NETQUOTEVAR:NAVBINFOLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Info','','info_btn_on.gif',1)"><img src="info_btn_off.gif" alt="Site Info" name="Info" width="48" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBSITEMAPLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Sitemap','','sitemap_btn_on.gif',1)"><img src="sitemap_btn_off.gif" alt="Sitemap" name="Sitemap" width="64" height="30" border="0"></a></TD>
<TD><a href="javascript:ShowPopUp('email.php',640,500);" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Email','','email_btn_on.gif',1)"><img src="email_btn_off.gif" alt="Email us" name="Email" width="55" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBCARTLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Viewcart','','viewcart_btn_on.gif',1)"><img src="viewcart_btn_off.gif" alt="View the contents of your shopping cart..." name="Viewcart" width="76" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBCHECKOUTLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Checkout','','checkout_btn_on.gif',1)"><img src="checkout_btn_off.gif" alt="Go to the checkout to order your goods..." name="Checkout" width="84" height="30" border="0"></a>
These NETQUOTEVARS now get stripped out! I've uploaded what I have so far so you can see what I mean. Have a look at www.rotecweldingequipment.co.uk/acatalog to see what I mean. Just blank <a href=""> tags ???
Anyone know why this has happened?
I appreciate I can hardcode the links but I would prefer not to.
Thanks in advance.
If you prefer, you can just use the URL of each navigation button as part of your own custom navigation control. To do this simply add the word 'LINK' onto the end of any of the above variables, and place them within an <a> tag. For instance:
<a href="NETQUOTEVAR:NAVBCARTLINK">. . .</a>
…will create a link to the shopping cart.
<a href="NETQUOTEVAR:NAVBCARTLINK">. . .</a>
…will create a link to the shopping cart.
My Act_Primary.html navigation code is:
<a href="NETQUOTEVAR:NAVBHOMELINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','home_btn_on.gif',1)"><img src="home_btn_off.gif" alt="Go back to the Homepage..." name="Home" width="61" height="30" border="0"></a></TD>
<TD><IMG SRC="grey.gif" WIDTH=392 HEIGHT=30 ALT=""></TD>
<TD><a href="NETQUOTEVAR:NAVBINFOLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Info','','info_btn_on.gif',1)"><img src="info_btn_off.gif" alt="Site Info" name="Info" width="48" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBSITEMAPLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Sitemap','','sitemap_btn_on.gif',1)"><img src="sitemap_btn_off.gif" alt="Sitemap" name="Sitemap" width="64" height="30" border="0"></a></TD>
<TD><a href="javascript:ShowPopUp('email.php',640,500);" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Email','','email_btn_on.gif',1)"><img src="email_btn_off.gif" alt="Email us" name="Email" width="55" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBCARTLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Viewcart','','viewcart_btn_on.gif',1)"><img src="viewcart_btn_off.gif" alt="View the contents of your shopping cart..." name="Viewcart" width="76" height="30" border="0"></a></TD>
<TD><a href="NETQUOTEVAR:NAVBCHECKOUTLINK" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Checkout','','checkout_btn_on.gif',1)"><img src="checkout_btn_off.gif" alt="Go to the checkout to order your goods..." name="Checkout" width="84" height="30" border="0"></a>
These NETQUOTEVARS now get stripped out! I've uploaded what I have so far so you can see what I mean. Have a look at www.rotecweldingequipment.co.uk/acatalog to see what I mean. Just blank <a href=""> tags ???
Anyone know why this has happened?
I appreciate I can hardcode the links but I would prefer not to.
Thanks in advance.
Comment