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

cramped rollover image


Poster: rjgmg
Dated: Thursday August 14 2008 - 19:47:49 BST

I found Milonic after much searching (years) and happened upon this discussion, which was exactly what I was looking for:
http://www.milonic.com/mfa/2006-March/vertical-scrolling-slide-out-menu.html

I have purchased the registered version and I'm doing pretty good for my first day with the menu system (see test page:
http://www.grossmccleaf.com/mmenu.html)

The problem I'm having relates to the menu rollover image not having room to appear, presumably because of 100% table widths, but I am not sure. See same menu on a real page:
http://www.grossmccleaf.com/aaathumbindex.htm (note scrolling menu button - pretty cool, thanks Ruth!)

This happens in both Firefox and IE, and since I want to put the menu in a whole lot of pages, thought I'd see if there was an easy solution. (I guess NOT having the rollover image horizontal would be one easy solution)

Data file below, since I couldn't get it to attach. Menu Buttons attached below that (very bottom)

Any suggestions, or critiques welcome.
Thanks,
Ralph Johnson

************************************************************************************************************

fixMozillaZIndex=false; //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(sideStyle=new mm_style()){
bordercolor="#660000";
borderstyle="solid";
borderwidth=0;
fontfamily="century gothic, arial, sans-serif";
fontsize=10;
fontweight="normal";
fontstyle="normal";
headerbgcolor="#000000";
headercolor="#000000";
offbgcolor="#515151";
offcolor="#FFFFFF";
onbgcolor="#515151";
oncolor="#999966";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=7;
pagebgcolor="";
pagecolor="";
separatorcolor="#660000";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
disablePagePath=true;
}

sideStyle1=new copyOf(sideStyle)
sideStyle1.onbgcolor = "transparent";
sideStyle1.offbgcolor="transparent";
sideStyle1.borderwidth=0;
sideStyle1.subimage="trans1.gif";

with(new menuname("SideMenu")){
style = sideStyle1;
alwaysvisible = 1;
followscroll=200,10,10;
orientation="horizontal";
top=200;
left=3;
aI("image=menuV.gif;overimage=menuV_over.gif;showmenu=Side Menu;imagepadding=0;");

}

with(milonic=new menuname("Side Menu")){
style=sideStyle;
overflow="scroll";
aI("showmenu=AllArtists;text=All Artists;");
aI("showmenu=ArtistsAE;text=Artists A - E;");
aI("showmenu=ArtistsFL;text=Artists F - L;");
aI("showmenu=ArtistsMP;text=Artists M - P;");
aI("showmenu=ArtistsRZ;text=Artists R - Z;");
aI("text=Schedule;url=http://www.grossmccleaf.com/schedule.htm;");
aI("showmenu=Contact1;text=Contact;");
aI("text=Commissions;url=http://www.grossmccleaf.com/artistpages/Commission/commissionindex.htm;");
aI("text=Links;url=http://www.grossmccleaf.com/artistpages/linksetc/links.htm;");
}

with(milonic=new menuname("AllArtists")){
style=sideStyle;
aI("text=Artist List;url=http://www.grossmccleaf.com/artistpages/rollover/rollmarch.htm;")
aI("text=Artist Thumbnails;url=http://www.grossmccleaf.com/aaathumbindex.htm;")
}

with(milonic=new menuname("ArtistsAE")){
style=sideStyle;
aI("text=Ahlsted, David;url=http://www.grossmccleaf.com/artistpages/ahlstedpage.htm;")
aI("text=Akre, Mary Beth;url=http://www.grossmccleaf.com/artistpages/akrepage.htm;")
aI("text=Armstrong, Martha;url=http://www.grossmccleaf.com/artistpages/armstrongpage.htm;")
aI("text=Becker, Joan;url=http://www.grossmccleaf.com/artistpages/beckerpage.htm;")
aI("text=Bockrath, Mark;url=http://www.grossmccleaf.com/artistpages/bockrathpage.htm;")
aI("text=Brewster, David;url=http://www.grossmccleaf.com/artistpages/brewsterpage.htm;")
aI("text=Casadei, Giovanni;url=http://www.grossmccleaf.com/artistpages/casadei.html;")
aI("text=Chung, Naomi;url=http://www.grossmccleaf.com/artistpages/chungpage.htm;")
aI("text=Corpora, Sandra;url=http://www.grossmccleaf.com/artistpages/corporapage.htm;")
aI("text=DePascale, Frank;url=http://www.grossmccleaf.com/artistpages/depascalepage.htm;")
aI("text=Dougherty, Thomas;url=http://www.grossmccleaf.com/artistpages/doughertypage.htm;")
aI("text=Dusold, Paul;url=http://www.grossmccleaf.com/artistpages/dusoldpage.htm;")
aI("text=Eichelburg, Adrienne;url=http://www.grossmccleaf.com/artistpages/eichelburgpage.htm;")
}

with(milonic=new menuname("ArtistsFL")){
style=sideStyle;
aI("text=Francis, Larry;url=http://www.grossmccleaf.com/artistpages/francispage.htm;");
aI("text=Goodman, Eileen;url=http://www.grossmccleaf.com/artistpages/goodmanpage.htm;");
aI("text=Hartung, Dean;url=http://www.grossmccleaf.com/artistpages/hartungpage.htm;");
aI("text=Hom, Johnson;url=http://www.grossmccleaf.com/artistpages/hompage.htm;");
aI("text=Hopkins, David;url=http://www.grossmccleaf.com/artistpages/hopkinspage.htm;");
aI("text=Hutchinson, Ellen;url=http://www.grossmccleaf.com/artistpages/hutchinsonpage.htm;");
aI("text=Kaufmann, Charles;url=http://www.grossmccleaf.com/artistpages/kaufmann.html;");
aI("text=Kraft, Trudy;url=http://www.grossmccleaf.com/artistpages/kraft.htm;");
aI("text=Lafuente, Christine;url=http://www.grossmccleaf.com/artistpages/lafuentepage.htm;");
aI("text=Ledwith, Mary;url=http://www.grossmccleaf.com/artistpages/ledwithpage.htm;");
aI("text=Leonard, Bertha;url=http://www.grossmccleaf.com/artistpages/leonardpage.htm;");
aI("text=Lofquist, Ann;url=http://www.grossmccleaf.com/artistpages/lofquist.htm;");
}

with(milonic=new menuname("ArtistsMP")){
style=sideStyle;
aI("text=Martenson, Douglas;url=http://www.grossmccleaf.com/artistpages/martensonpage.htm;");
aI("text=Mason, Max;url=http://www.grossmccleaf.com/artistpages/masonpage.htm;");
aI("text=Moyer, Kurt;url=http://www.grossmccleaf.com/artistpages/moyer.html;");
aI("text=Muente, Kevin;url=http://www.grossmccleaf.com/artistpages/muentepage.htm;");
aI("text=Mundheim, Guna;url=http://www.grossmccleaf.com/artistpages/mundheimpage.htm;");
aI("text=Nissen, Chris;url=http://www.grossmccleaf.com/artistpages/nissenpage.htm;");
aI("text=Noel, Scott;url=http://www.grossmccleaf.com/artistpages/noelpage.htm;");
aI("text=Paquette, Thomas;url=http://www.grossmccleaf.com/artistpages/paquette.html;");
aI("text=Pederson-Krag, Gillian;url=http://www.grossmccleaf.com/artistpages/pederson-krag.html;");
aI("text=Pettegrow, Mark;url=http://www.grossmccleaf.com/artistpages/pettegrow.html;");
aI("text=Purves-Smith, Phyllis;url=http://www.grossmccleaf.com/artistpages/purvessmith.html;");
aI("text=Putman, Mary;url=http://www.grossmccleaf.com/artistpages/putmanpage.htm;");
aI("text=Pyrdsa, Michael;url=http://www.grossmccleaf.com/artistpages/pyrdsapage.htm;");
}

with(milonic=new menuname("ArtistsRZ")){
style=sideStyle;
aI("text=Reed, Jeffrey;url=http://www.grossmccleaf.com/artistpages/reedpage.htm;");
aI("text=Reisman, Celia;url=http://www.grossmccleaf.com/artistpages/reismanpage.htm;");
aI("text=Richardson, Emily;url=http://www.grossmccleaf.com/artistpages/richardsonpage.htm;");
aI("text=Rye, Marlene;url=http://www.grossmccleaf.com/artistpages/rye.htm;");
aI("text=Shevlino, David;url=http://www.grossmccleaf.com/artistpages/shevlino.htm;");
aI("text=Simon, Robert;url=http://www.grossmccleaf.com/artistpages/simonpage.htm;");
aI("text=Stratton, Shane;url=http://www.grossmccleaf.com/artistpages/strattonpage.htm;");
aI("text=Sweeney, Joseph;url=http://www.grossmccleaf.com/artistpages/sweeneypage.htm;");
aI("text=Trefny, Frank;url=http://www.grossmccleaf.com/artistpages/trefnypage.htm;");
aI("text=Tyng, Alexandra;url=http://www.grossmccleaf.com/artistpages/tyng.htm;");
aI("text=Wallman, Mary;url=http://www.grossmccleaf.com/artistpages/wallmanpage.htm;");
aI("text=Williams, Jim;url=http://www.grossmccleaf.com/artistpages/williamspage.htm;");
aI("text=Ziegler, Susan;url=http://www.grossmccleaf.com/artistpages/zeigler.htm;");
aI("text=Zmijewski, Chris;url=http://www.grossmccleaf.com/artistpages/zmijewskipage.htm;");
}


with(milonic=new menuname("Contact1")){
style=sideStyle;
aI("text=Price & Availability Inquiries;url=http://www.grossmccleaf.com/emailpage.htm;");
aI("text=Prospective Artists;url=http://www.grossmccleaf.com/artistpages/artistnotes.htm;");
}

with(milonic=new menuname("Links1")){
style=sideStyle;
aI("text=Links;url=http://www.gdaywa.com/links.php;");
}

drawMenus();

Re: cramped rollover image


Poster: Ruth
Dated: Friday August 15 2008 - 0:02:34 BST

Hi,

The problem has to do with the images being two different sizes. So, here are two new images for you to use. They are both 68px by 68px. You have to have the same sizes for your mouseover. Let me know when you get the images so I can remove them from my site :)

At the bottom is your 'new' menu data file. I suggest you name it something different, like menu_data_v1.js, when you copy and paste, in case you just want to go back to what you have.

What I did was to change the over and out filter for the 1st submenu. By using the Blinds filter and setting it to 1 blind then in IE the menu will look like it is sliding out and sliding back in. Now, that is only in IE since those filters are proprietary to Microsoft and IE browsers. In other browsers it looks just like it does now.

Also, note you have 3 styles now, 1 for the main, one for the first big sub and then the original for the other subs. This is only so you will have something to see what I have done to get the styles and the filters set ups. If you prefer what you have, just use your data file and rename the images to the ones I posted here.

IMAGE LINKS REMOVED

Code:
fixMozillaZIndex=false; //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(sideStyle=new mm_style()){
bordercolor="#660000";
borderstyle="solid";
borderwidth=0;
fontfamily="century gothic, arial, sans-serif";
fontsize=14;
fontweight="normal";
fontstyle="normal";
headerbgcolor="#000000";
headercolor="#000000";
offbgcolor="#515151";
offcolor="#FFFFFF";
onbgcolor="#515151";
oncolor="#999966";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=7;
pagebgcolor="";
pagecolor="";
separatorcolor="#660000";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
disablePagePath=true;
}

sideStyle1=new copyOf(sideStyle)
sideStyle1.onbgcolor = "transparent";
sideStyle1.offbgcolor="transparent";
sideStyle1.borderwidth=0;
sideStyle1.subimage="";
sideStyle1.overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";

sideStyle2=new copyOf(sideStyle)
sideStyle2.overfilter="Blinds(bands=1, direction='Right', duration=0.8);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=5)";
sideStyle2.outfilter="Blinds(bands=1, direction='left', duration=0.8)";

with(new menuname("SideMenu")){
style = sideStyle1;
alwaysvisible = 1;
followscroll=200,10,10;
orientation="horizontal";
top=200;
left=3;
aI("image=menuV_new.gif;overimage=menuV_over_new.gif;showmenu=Side Menu;imagepadding=0;");

}

with(milonic=new menuname("Side Menu")){
style=sideStyle2;
overflow="scroll";
top="offset=-54";
aI("showmenu=AllArtists;text=All Artists;");
aI("showmenu=ArtistsAE;text=Artists A - E;");
aI("showmenu=ArtistsFL;text=Artists F - L;");
aI("showmenu=ArtistsMP;text=Artists M - P;");
aI("showmenu=ArtistsRZ;text=Artists R - Z;");
aI("showmenu=Contact1;text=Contact;");
aI("text=Schedule;url=http://www.grossmccleaf.com/schedule.htm;");
aI("text=Commissions;url=http://www.grossmccleaf.com/artistpages/Commission/commissionindex.htm;");
aI("text=Links;url=http://www.grossmccleaf.com/artistpages/linksetc/links.htm;");
}

with(milonic=new menuname("AllArtists")){
style=sideStyle;
aI("text=Artist List;url=http://www.grossmccleaf.com/artistpages/rollover/rollmarch.htm;")
aI("text=Artist Thumbnails;url=http://www.grossmccleaf.com/aaathumbindex.htm;")
}

with(milonic=new menuname("ArtistsAE")){
style=sideStyle;
aI("text=Ahlsted, David;url=http://www.grossmccleaf.com/artistpages/ahlstedpage.htm;")
aI("text=Akre, Mary Beth;url=http://www.grossmccleaf.com/artistpages/akrepage.htm;")
aI("text=Armstrong, Martha;url=http://www.grossmccleaf.com/artistpages/armstrongpage.htm;")
aI("text=Becker, Joan;url=http://www.grossmccleaf.com/artistpages/beckerpage.htm;")
aI("text=Bockrath, Mark;url=http://www.grossmccleaf.com/artistpages/bockrathpage.htm;")
aI("text=Brewster, David;url=http://www.grossmccleaf.com/artistpages/brewsterpage.htm;")
aI("text=Casadei, Giovanni;url=http://www.grossmccleaf.com/artistpages/casadei.html;")
aI("text=Chung, Naomi;url=http://www.grossmccleaf.com/artistpages/chungpage.htm;")
aI("text=Corpora, Sandra;url=http://www.grossmccleaf.com/artistpages/corporapage.htm;")
aI("text=DePascale, Frank;url=http://www.grossmccleaf.com/artistpages/depascalepage.htm;")
aI("text=Dougherty, Thomas;url=http://www.grossmccleaf.com/artistpages/doughertypage.htm;")
aI("text=Dusold, Paul;url=http://www.grossmccleaf.com/artistpages/dusoldpage.htm;")
aI("text=Eichelburg, Adrienne;url=http://www.grossmccleaf.com/artistpages/eichelburgpage.htm;")
}

with(milonic=new menuname("ArtistsFL")){
style=sideStyle;
aI("text=Francis, Larry;url=http://www.grossmccleaf.com/artistpages/francispage.htm;");
aI("text=Goodman, Eileen;url=http://www.grossmccleaf.com/artistpages/goodmanpage.htm;");
aI("text=Hartung, Dean;url=http://www.grossmccleaf.com/artistpages/hartungpage.htm;");
aI("text=Hom, Johnson;url=http://www.grossmccleaf.com/artistpages/hompage.htm;");
aI("text=Hopkins, David;url=http://www.grossmccleaf.com/artistpages/hopkinspage.htm;");
aI("text=Hutchinson, Ellen;url=http://www.grossmccleaf.com/artistpages/hutchinsonpage.htm;");
aI("text=Kaufmann, Charles;url=http://www.grossmccleaf.com/artistpages/kaufmann.html;");
aI("text=Kraft, Trudy;url=http://www.grossmccleaf.com/artistpages/kraft.htm;");
aI("text=Lafuente, Christine;url=http://www.grossmccleaf.com/artistpages/lafuentepage.htm;");
aI("text=Ledwith, Mary;url=http://www.grossmccleaf.com/artistpages/ledwithpage.htm;");
aI("text=Leonard, Bertha;url=http://www.grossmccleaf.com/artistpages/leonardpage.htm;");
aI("text=Lofquist, Ann;url=http://www.grossmccleaf.com/artistpages/lofquist.htm;");
}

with(milonic=new menuname("ArtistsMP")){
style=sideStyle;
aI("text=Martenson, Douglas;url=http://www.grossmccleaf.com/artistpages/martensonpage.htm;");
aI("text=Mason, Max;url=http://www.grossmccleaf.com/artistpages/masonpage.htm;");
aI("text=Moyer, Kurt;url=http://www.grossmccleaf.com/artistpages/moyer.html;");
aI("text=Muente, Kevin;url=http://www.grossmccleaf.com/artistpages/muentepage.htm;");
aI("text=Mundheim, Guna;url=http://www.grossmccleaf.com/artistpages/mundheimpage.htm;");
aI("text=Nissen, Chris;url=http://www.grossmccleaf.com/artistpages/nissenpage.htm;");
aI("text=Noel, Scott;url=http://www.grossmccleaf.com/artistpages/noelpage.htm;");
aI("text=Paquette, Thomas;url=http://www.grossmccleaf.com/artistpages/paquette.html;");
aI("text=Pederson-Krag, Gillian;url=http://www.grossmccleaf.com/artistpages/pederson-krag.html;");
aI("text=Pettegrow, Mark;url=http://www.grossmccleaf.com/artistpages/pettegrow.html;");
aI("text=Purves-Smith, Phyllis;url=http://www.grossmccleaf.com/artistpages/purvessmith.html;");
aI("text=Putman, Mary;url=http://www.grossmccleaf.com/artistpages/putmanpage.htm;");
aI("text=Pyrdsa, Michael;url=http://www.grossmccleaf.com/artistpages/pyrdsapage.htm;");
}

with(milonic=new menuname("ArtistsRZ")){
style=sideStyle;
aI("text=Reed, Jeffrey;url=http://www.grossmccleaf.com/artistpages/reedpage.htm;");
aI("text=Reisman, Celia;url=http://www.grossmccleaf.com/artistpages/reismanpage.htm;");
aI("text=Richardson, Emily;url=http://www.grossmccleaf.com/artistpages/richardsonpage.htm;");
aI("text=Rye, Marlene;url=http://www.grossmccleaf.com/artistpages/rye.htm;");
aI("text=Shevlino, David;url=http://www.grossmccleaf.com/artistpages/shevlino.htm;");
aI("text=Simon, Robert;url=http://www.grossmccleaf.com/artistpages/simonpage.htm;");
aI("text=Stratton, Shane;url=http://www.grossmccleaf.com/artistpages/strattonpage.htm;");
aI("text=Sweeney, Joseph;url=http://www.grossmccleaf.com/artistpages/sweeneypage.htm;");
aI("text=Trefny, Frank;url=http://www.grossmccleaf.com/artistpages/trefnypage.htm;");
aI("text=Tyng, Alexandra;url=http://www.grossmccleaf.com/artistpages/tyng.htm;");
aI("text=Wallman, Mary;url=http://www.grossmccleaf.com/artistpages/wallmanpage.htm;");
aI("text=Whitacre, Jesse;url=http://www.grossmccleaf.com/artistpages/whitacrepage.htm;");
aI("text=Williams, Jim;url=http://www.grossmccleaf.com/artistpages/williamspage.htm;");
aI("text=Ziegler, Susan;url=http://www.grossmccleaf.com/artistpages/zeigler.htm;");
aI("text=Zmijewski, Chris;url=http://www.grossmccleaf.com/artistpages/zmijewskipage.htm;");
}


with(milonic=new menuname("Contact1")){
style=sideStyle;
aI("text=Price & Availability Inquiries;url=http://www.grossmccleaf.com/emailpage.htm;");
aI("text=Prospective Artists;url=http://www.grossmccleaf.com/artistpages/artistnotes.htm;");
}

with(milonic=new menuname("Links1")){
style=sideStyle;
aI("text=Links;url=http://www.gdaywa.com/links.php;");
}

drawMenus();


Hope this helps.

Ruth

Re: cramped rollover image


Poster: rjgmg
Dated: Monday August 18 2008 - 17:32:58 BST

Ruth, I got the images - decided to use a 1x1 transparent gif instead of a rollover image.

My Dreamweaver (Argh!) is telling me that there are dozens of broken links to menu_data_noscroll.js (which I don't have in my directories) Is this a vestige of another script that I can get rid off?

Re: cramped rollover image


Poster: Ruth
Dated: Monday August 18 2008 - 19:29:31 BST

Hi,

It's too bad about the rollovers, the end result actually came out really nice, but the one advantage to just having text is that accessibility for those who need it allows them to change the font size.

I have no idea about the other stuff. I do not have dreamweaver, actually I still hand code for the most part. That seems to be a dreamweaver thing and I don't know about it nor how to fix whatever the problem is. Remember you have a page called mmenu that you posted. That has menu_data_noscroll.js file on it in addition to the menuv file

Ruth

Re: cramped rollover image


Poster: Andy
Dated: Monday January 5 2009 - 17:30:29 GMT

rjgmg wrote:
My Dreamweaver (Argh!) is telling me that there are dozens of broken links to menu_data_noscroll.js (which I don't have in my directories) Is this a vestige of another script that I can get rid off?


I've not heard of that file before and it's not somthing that is embedded into the code. Should be safe to get rid of it.

Regards,
Andy

Re: cramped rollover image


Poster: Ruth
Dated: Monday January 12 2009 - 16:56:30 GMT

Hi,

That reference is to the test page you first posted which had a file on it called menu_data_noscroll.js. That was some menu data file you created and for whatever reason Dreamweaver is still seeing that link someplace, or.... does dreamweaver have some kind of 'history' or cache? Maybe it's still seeing it from some cache? Of course, the file no longer exists and that page isn't there anymore which had the call to that data file so I'm not sure why DW is saying it has links to it.

Ruth