
March 1st, 2004, 07:30 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 8
Time spent in forums: 28 m 41 sec
Reputation Power: 0
|
|
Preloading and New Windows
I am currently using the mm_menu.js provided by Macromedia Fireworks MX to create drop-down menus on my site. Because the menus are graphical, and have an image for normal and another image for mouse over (highlighted), I needed to preload the images for the menu, using
image1 = new Image()
image1.src = 'somewhere.gif'
This preloading works, but everytime I click on a menu option that needs to open a new window _new (or _blank) to view pdf files (no menus on the pop up page) after the new window pops up the menus on the old page act as if the images had never been preloaded and turn gray when theyre opened until the images load.
How can I correct this? Are images supposed to be un-cached when a new window is opened?
|