Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Include File Rollover Problem

  • Include File Rollover Problem

    Posted by David Coleman on May 20, 2005 at 5:52 pm

    Hello,

    I built a page title bar in PhotoShop CS and then edited it in ImageReady. The .html and image files were output and then uploaded to the server. The title bar appears on two types of pages: The home page, where code is just pasted in at the top, (the rollover works on this one). Also on the top.shtml (this is an include page for all other pages). The title bar appears on all pages, the buttons work, but the rollover (text should turn red) does not work. Any ideas would be greatly appreciated.

    https://www.vexlabs.com/index.htm is the home page

    Thanks,
    David

    David Coleman replied 20 years, 12 months ago 2 Members · 2 Replies
  • 2 Replies
  • Curtis Thompson

    May 20, 2005 at 7:09 pm

    hello…

    looks like your index page has the call to the preload image function in the body tag (as it should):

    <body onload=”preloadImages();”>

    which then triggers the preloadFlag boolean flag to true after it’s done…but on the other pages, it’s just a plain body tag:

    <BODY>

    and so then the preloadFlag never gets triggered and the image rollover won’t happen because it relies on that being set to true…

    sitruc

  • David Coleman

    May 23, 2005 at 6:33 pm

    Thanks! You hit the nail on the head! It is working great now!

    David

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy