From what I've heard (I don't know for a fact), Netscape 6 did away with the <LAYER> tag and that's why I am using <DIV> with CSS positioning.
I have heard that Netscape 6 is moving to near compliency with W3C standards and therefor is scrapping all the propietary tags such as <LAYER> and is...
Ok, so it appears I have it working, but I'm not sure why it is the way it
is.
I have two CSS classes, one is called .MAIN, the other is .TEST.
I had listed all my <DIV> blocks at the very end of my code, just before
</BODY>. One <DIV> block used CLASS="TEST". All the other <DIV>...
Further to my previous post, I've narrowed down a bit what the Netscape
problem is with my layers.
It seems it doesn't like me creating two classes of styles. I never had
the problem before because I only had one class. I tried taking out one
of my classes and the class that didn't work...
Actually, I checked my code, and the above isn't true. i had done it previously by calling a function, that's why I can't figure out why it won't work this time.
my previous function looks like this:
function hide(){
if (document.all){...
I tried that, and now I get "document.layers.layerwhoare has no properties"
The funny thing is, I've done the exact same thing before except calling document.layername.visibility = "hide"; from a mouseover() event in my <A HREF="#">HTML code and it worked fine...
I have a number of layers at the end of my code, each inside a <DIV></DIV> and right before my</BODY>.
I have a function to hide all the layers when my page loads, and another function that takes an ID as an argument and shows that particular layer.
When I look at it all in Explorer, it works...
So I want my layer to stay open for a few seconds. In IE it will accept the
onmouseout event inside the <DIV> so it works great and is very easy (I can
just use my hide() function with that). But Netscape doesn't seem to want to
support that.
Any suggestions as to having a layer close...
Sorry Pete,
I realize I was confusing. I also didn't give you all of my code. I posted one of my functions and then I posted my <DIV></DIV> segment from my code.
The code you see above that I previously posted is actually only what is inside my<DIV></DIV> (I have a table inside my...
I tried it, and what happens when the 'position' is relative is that it actually takes the <DIV><TABLE></DIV> and creates it inside my current layer, not over top of it. It hides it, but nonetheless it messes up everything because it creates it within my current layer.
When I have 'position'...
OK, now I discovered something very interesting. In my <DIV> I had a table
(white bg) with a bunch of links. Now I put another table around it with a
black background and set a height & width attribute. Now Netscape shows me
this big black rectangle when I show that <DIV>. But it won't show...
I am trying to create a simple layer using <DIV> and CSS positioning. Here is my function to show the "layer"
function show() {
if (n) document.layer1.visibility = "show"
if (ie) layer1.style.visibility = "visible"
}
when i call show() from <A...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.