Announcement

Collapse
No announcement yet.

problem with custom rollovers and preview mode

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

    problem with custom rollovers and preview mode

    Hi, I'm adding custom rollovers to my navigation buttons like this

    <td><a href="More_Info.html"
    onMouseOver="SwapImage('moreinfo','brochuremore2.gif')"
    onMouseOut="RestoreImage()">
    <img src="brochuremore1.gif" alt="more info"
    name="moreinfo" border="0">
    </a></td>

    where more_info is a brochure page. The problem I have is if I upload the site it all works fine but if I preview the site it doesnt prepend the P_ to the url name and so cant find the link. Anyone know how to get this to work both online and in preview mode.

    Thanks.

    #2
    Including the full URL to the site would resolve but means the page has to be live and you need to be connected to the internet.... or trust in your code!

    I may be wrong but I assume the "P_" prepending is built into the core program.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      The way I make them work is to copy the HTML file to the 'PreviewHTML' folder with its original filename. Then it also works in preview mode.

      Comment

      Working...
      X