Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:40

Images not displaying on page load


Poster: Livesey
Dated: Wednesday February 28 2007 - 7:33:18 GMT

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


Poster: John
Dated: Wednesday February 28 2007 - 15:07:43 GMT

Try using our image pre-load module, available here. It's the first one on the list.


Poster: Livesey
Dated: Wednesday February 28 2007 - 15:26:05 GMT

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


Poster: Livesey
Dated: Wednesday February 28 2007 - 15:28:29 GMT

I've just put the problem back on http://corp.awards.co.za:8000/ for you to take a look at.


Poster: Livesey
Dated: Wednesday February 28 2007 - 20:27:05 GMT

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