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

Can divhider.js be modified?


Poster: tepidarium
Dated: Thursday February 26 2004 - 18:10:47 GMT

Hiya,

Can divhider.js - the hidediv feature for Milonic menu be modified to hide divs not just in select browsers but in ALL browsers...I need this!!! :roll:


Poster: kevin3442
Dated: Thursday February 26 2004 - 19:09:12 GMT

I suppose I'd start by commenting out line 4. I.e. change
Code:
if(ie55||ns6||ns7)return

to
Code:
//if(ie55||ns6||ns7)return

But this assumes the code that actually hides the div will work for ie55, ns6, and ns7 (and all other browsers). On a quick glance, I think it will, but one never really knows without testing. Also, keep in mind that this code is specific to hiding divs in relation to opening menus; it isn't a general-purpose div hider.

Kevin


Poster: tepidarium
Dated: Thursday February 26 2004 - 21:57:41 GMT

Kevin - This is just awesome thank you very much!

See, oddly, Netscape 7 for pc the menus overlap the flash ok...Netscape 7 for mac...the menus appear behind the flash...so I figured why not hide it for all browsers :?:


Poster: kevin3442
Dated: Friday February 27 2004 - 0:28:25 GMT

Seems like a reasonable idea to me. Glad it worked.

Kevin