Announcement

Collapse
No announcement yet.

Mouseovers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mouseovers

    I have added NETQUOTEVAR:NAVBBACK after NETQUOTEVAR:FOOTERGUIDE in the Act_primary template and also quoted out NETQUOTEVAR:FOOTERGUIDE in Act_Footer.html and added NETQUOTEVAR:NAVBHOME AND NETQUOTEVAR:NAVBBACK there. This gives me a back button in the navigation bar on the left of my page and a home and back button at the botton of my pages. So far so good all seems to work and be in the right position apart from the mouseover effect no longer works on the back button. When I look at the source code all seems to be correct (i'm no expert) The interesting thing is if I take out the NETQUOTEVAR:NAVBBACK in the Act_primary template then the mouseover at the bottom of the page works fine. There must be some major thing that I am doing wrong somewhere as the mouseovers do not work on the buttons i've created as links to section pages either.Site is at www.local4.co.uk/acatalog
    I,ve spent days on this now so all help would be appreciated.

    Cheers

    #2
    I think it must be because both button images have the same 'name=' value, which would confuse the JavaScript.

    I suggest replacing NETQUOTEVAR:NAVBBACK with the following code:

    <A HREF="JavaScript:window.history.go(-1);" TARGET="_self" onMouseOver="SwapImage('hnavb_back2','back2.gif')" onMouseOut="RestoreImage()"><IMG SRC="back1.gif" ALT="Back" BORDER=0 HEIGHT=20 WIDTH=119 name=hnavb_back2></A>

    This now uses hnavb_back2 as the name of the image, and should get everything working again.

    Comment


      #3
      That sorted it.

      BIG BIG THANK YOU

      Comment

      Working...
      X