Images not displaying on page load

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Livesey
Beginner
Beginner
Posts: 4
Joined: Wed Feb 28, 2007 8:22 am

Images not displaying on page load

Post by Livesey »

Hi

I downloaded Milonic yesterday (Ver. 5.770) and have implemented a menu shown on this site: http://corp.awards.co.za:8000/. I'm busy checking if it will work for our site before I purchase it.

The menu uses background images for the up, over and selected item states. In IE6, IE7 and FF, the images don't load on page load. Once you mouse over the menu items though they display just fine.

I've tried to search the forum for assistance, but the only article I found said that the issue was fixed in the latest version. Is there a later version than mine?

Thanks so much for the help

Aubrey
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try using our image pre-load module, available here. It's the first one on the list.
John
Livesey
Beginner
Beginner
Posts: 4
Joined: Wed Feb 28, 2007 8:22 am

Post by Livesey »

Hi

Thanks for the reply. I've tried using the preload function already, but it still doesn't load. I think that the problem lies in trying to load the background images as part of the new menuname construct. Code example below:

aI(bgimage='../scripts/milonic/deliver_up.gif';"overbgimage='../scripts/milonic/home_over.gif';itemwidth=106;text=Home;title=Back to Home Page;url=/;");//bgimage='../scripts/milonic/home_up.gif';pagebgimage='../scripts/milonic/home_selected.gif';

It works if I place the background image in the styles declaration, but I can't do this aas each button has a different background image.

Please advise.

Thanks
Aubrey
Livesey
Beginner
Beginner
Posts: 4
Joined: Wed Feb 28, 2007 8:22 am

Post by Livesey »

I've just put the problem back on http://corp.awards.co.za:8000/ for you to take a look at.
Livesey
Beginner
Beginner
Posts: 4
Joined: Wed Feb 28, 2007 8:22 am

Post by Livesey »

I'm still having no joy with this. In my desperation, I've even tried loading the images with my own javascript preloader but this doesn't help either.

Could someone explain what causes the error, then perhaps I can find a solution myself?

This is a link to my data file if it helps at all: http://corp.awards.co.za:8000/scripts/m ... nu_data.js

Thanks for the help.
Aubrey
Post Reply