FORUMS: list search recent posts

Include File Rollover Problem

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
David Coleman
Include File Rollover Problem
on May 20, 2005 at 5:52:40 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.

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

Thanks,
David


Return to posts index

Curtis Thompson
Re: Include File Rollover Problem
on May 20, 2005 at 7:09:38 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


Return to posts index

David Coleman
Re: Include File Rollover Problem
on May 23, 2005 at 6:33:24 pm

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

David


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]