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

Rollover menu image: Browser variances


Poster: nstaylor
Dated: Thursday December 1 2005 - 11:09:28 GMT

Hi - Can you point me in the right direction....

I'm at a loss as why the rollover image on my menu see: http://www.tmpt.co.uk/location.html

works beautifully on my Mac browsers but on IE on my PC it doesn't locate the rollover image and replaces it with a red X.

I've tried to put in the full path to the image location in the code below but it makes no difference.

My code is:

Code:
<SCRIPT TYPE="text/javascript">

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(submenuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="none";
headercolor="#000000";
offcolor="#4B8BCA";
oncolor="#FCC14C";
padding=5;
pagecolor="black";
subimage="11x9_dotted_green.gif";
subimagepadding=8;
}

with(menuStyle=new mm_style()){
styleid=1;
align="right";
ondecoration='underline';
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="none";
headerbgcolor="#FFFFFF";
headercolor="#000000";
image="location.gif";
imageposition="right";
offcolor="#4B8BCA";
oncolor="#FCC14C";
overimage="location_on.gif";
pagecolor="black";
}

   
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="vertical";
top=200;
left=100;
screenposition="right";
position="relative";
style=menuStyle;
aI("text=HOMEPAGE:;url=http://www.tmpt.co.uk/index.html;");
aI("showmenu=SPACE;text=         ;");
aI("showmenu=Profile;text=About us:;url=http://www.tmpt.co.uk/profile.html;");
aI("showmenu=Location;text=Location;url=http://www.tmpt.co.uk/location.html;");
aI("showmenu=Investing for the future;text=Investing;url=http://www.tmpt.co.uk/investing.html;");
aI("showmenu=The Build Specifications;text=Specifications;url=http://www.tmpt.co.uk/specs.html;");
aI("showmenu=The Build Phases;text=Build Phases;url=http://www.tmpt.co.uk/phases.html;");
aI("showmenu=The Building a Community;text=Your Community;url=http://www.tmpt.co.uk/community.html;");
aI("showmenu=Try before you buy;text=Try before you buy;url=http://www.tmpt.co.uk/trybuy.php;");
aI("showmenu=Contact Us;text=Contact Us;url=http://www.tmpt.co.uk/contact.html;");
aI("showmenu=SPACE;text=         ;");
}
drawMenus();
    </SCRIPT>

many thanks in advance....

Nick


Poster: Ruth
Dated: Thursday December 1 2005 - 12:38:41 GMT

Hi,

There's something wrong with the image. If you go to it you get a page with a little red x, and it doesn't download, so either it's been corrupted or it's not there, though usually I get a page not found if it isn't there.

Also, you need to upgrade there have been a some bug fixes and some additional capabilities added.

You can get info on version information, a log of what is done, here
and if you want to be notified you can go to the Current Code Release Information topic, find the 'watch this topic' link and click it. In the blueglass template it is at the bottom.

EDIT: you might also want to take a look at the info on how to place the menu in a table. There will probably be some browsers that cause problems having it in the table like that. The submenus are supposed to be built first. There's a link below my name to that information.

Ruth

Thanks Ruth - to confirm...


Poster: nstaylor
Dated: Friday December 2 2005 - 13:41:00 GMT

Ruth much appreciated, the file must have been corrupted, I've got it working now.
Qu: I've downloaded the new release but its title states for a horizontal menu bar - I've a vertical menu - is it okay to upgrade with this or do I need another release package?

Thanks also for the links I had read through the tablemenu and thought I'd implemented/postioned correctly in the table but will recheck to see what I've missed.

Thanks again,

Nick


Poster: Ruth
Dated: Tuesday December 6 2005 - 21:21:03 GMT

Hi,

The default for the menu is vertical, you get one that is horizontal because the main menu has been coded with orientation="horizontal"; When you get the newest version the only files in which you have an interest are the 3 program files, the menu_data.js file you would not upload, you don't want to replace your own menu_data.js file.


Make sure that you backup the old files someplace in case some conflict happens with the newest version.

Ruth