Can divhider.js be modified?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Can divhider.js be modified?

Post by tepidarium »

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:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

I suppose I'd start by commenting out line 4. I.e. change

Code: Select all

if(ie55||ns6||ns7)return
to

Code: Select all

//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
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Post by tepidarium »

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 :?:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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

Kevin
Post Reply