Preserved Topic: layer visibiltiy help |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: under the bed |
posted 04-26-2000 18:29
OK, I'm going out of my mind here (mainly because I don't know what I'm doing). |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-26-2000 20:55
I assume you're using absolute positioning; thats what it sounds like at least. If the DIV tag has an ID="LayerName" then:<P>in IE: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-26-2000 20:59
How do you implement both IE and NN vis tags in the same script Slime? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-26-2000 22:03
Well, there are a couple different ways to determine what browser they are using. One is the "navigator" property (capitalized or not? i dunno) navigator.appVersion, I beleive, contains the company name - search that string for "microsoft" or "netscape". I'm not quite so sure if that's the right property. This is not the method that I usually use.<P>The other way to do it, which I prefer, determines not only the browser but whether the browser is recent enough. Use this code:<P>var IE = (document.all)?true:false; |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-27-2000 01:27
I have an example of this on my page (www.bitdamaged.com)<P>Its pretty much exactly what you want. |
Maniac (V) Inmate From: under the bed |
posted 04-27-2000 06:25
Wow, cool. I haven't tried any of this yet, but thank you for the detailed responses! I will give some things a whirl and let you know what happens. <P>What care I how time advances? I am drinking Ale today. -- Edgar Allen Poe |
Maniac (V) Inmate From: under the bed |
posted 04-27-2000 07:38
SUCCESS!!!!!!!!!! |
Maniac (V) Inmate From: under the bed |
posted 04-27-2000 07:58
BTW, thank you as well Slime. Your replies are always very informative -- scripting is *not* my strong point, I am barely starting to learn anything about in any tangible sense. The fact that I actually understand what you posted is a milestone for me... : )<P>What care I how time advances? I am drinking Ale today. -- Edgar Allen Poe |