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:10

Menu Images will not load!


Poster: sp21674
Dated: Wednesday March 29 2006 - 10:38:09 BST

I have a page at: http://www.CompbenHR.com

It uses Image swapping on the vertical menu - however the images wont load until i run my mouse over them!

Anyone tell me whats wrong please?

Many Thanks,

Steve :roll:


Poster: Migru
Dated: Wednesday March 29 2006 - 10:39:14 BST

Hi

Your menu_data.js file needs do be terminated by

drawMenus();


Hope this helps

Michael

Thank you for your reply!


Poster: sp21674
Dated: Wednesday March 29 2006 - 10:56:41 BST

My Menu_data file looks like this:

fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=3;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=3;
}


with(milonic=new menuname("profp")){
style=menuStyle;
aI("text=Amanda Hatter;url=profpa.htm;");
aI("text=Mike White;url=profpm.htm;");
aI("text=Karen Manby;url=profpk.htm;");
aI("text=Brian Symcox;url=profpb.htm;");
aI("text=Julie Rees;url=profpj.htm;");
}
drawMenus();

As you can see I have drawMenus(); at the bottomas suggested!

Any other ideas?

Many Thanks,

Steve


Poster: Migru
Dated: Wednesday March 29 2006 - 11:17:12 BST

Hi

in the main menu, try this:

insert
Code:
itemwidth=232;


(maybe even more, e.g. 255)

hope this helps

Michael

Thank You once again


Poster: sp21674
Dated: Wednesday March 29 2006 - 11:21:56 BST

Thank You for trying but unfortunately it is still not working as you can see at http://www.CompbenHR.com

Any more ideas please?


Poster: Migru
Dated: Wednesday March 29 2006 - 11:44:02 BST

just for testing

comment out

//subimage="arrow.gif";
//subimagepadding=3;


and see if this works.

Michael


Poster: Migru
Dated: Wednesday March 29 2006 - 11:50:32 BST

Can´t find the

subimage="arrow.gif";

is it in the folder?

Definitely, it worked in FF as well as in IE, when I commented out the subimage, setting the itemwidth to 232, but you need to control your images. I tested it only with two images (Reward-on and off, which I downloaded into my local folder for testing)

I believe its a design problem, as the subimage plus padding need additional space and the table width should be set accordingly.

Michael

Still Not Working :-(


Poster: sp21674
Dated: Wednesday March 29 2006 - 12:06:55 BST

Hi,

Thank you so much for your perseverance.

I have deleted those two lines from the MenuData file and as you can see it still isn't working!

Any more ideas will be very greatfully received!

All the best,

Steve


Poster: Migru
Dated: Wednesday March 29 2006 - 12:17:07 BST

Please comment out the preloadimages for testing

Stil No Joy!


Poster: sp21674
Dated: Wednesday March 29 2006 - 12:32:29 BST

Sorry Still No Joy :cry:

All the best,

Steve


Poster: Migru
Dated: Wednesday March 29 2006 - 12:49:56 BST

Everything is working as it should here in my working environment.
Don´t know what the reason is, when it is called from your site its different.

Uploaded into a test directory, will immediately delete it, please see

http://www.dhyg.de/test/CompBenhr.htm


Michael

The files are zipped (not the Milonic files, hope you have a license...)

http://www.dhyg.de/test/testit.ZIP

Thank You


Poster: sp21674
Dated: Wednesday March 29 2006 - 14:32:19 BST

I copied your files onto my system and tested it and it still didn't work! This didn't make sense as I had seen it working at yours!

The only thing different was my milonic files! I have just downloaded the latest versions and it works fine now thank you!

Many Thanks for all your time & patience!

All the best,

Steve


Poster: Migru
Dated: Wednesday March 29 2006 - 15:00:12 BST

Hi

You´re welcome-

Michael