Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jdhanley

  1. jdhanley

    CSS problems

    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...
  2. jdhanley

    CSS problems

    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=&quot;TEST&quot;. All the other <DIV>...
  3. jdhanley

    CSS problems

    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...
  4. jdhanley

    error message

    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){...
  5. jdhanley

    error message

    I tried that, and now I get &quot;document.layers.layerwhoare has no properties&quot; The funny thing is, I've done the exact same thing before except calling document.layername.visibility = &quot;hide&quot;; from a mouseover() event in my <A HREF=&quot;#&quot;>HTML code and it worked fine...
  6. jdhanley

    error message

    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...
  7. jdhanley

    keeping a layer open for only a few seconds

    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...
  8. jdhanley

    DIV with CSS positioning not working

    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...
  9. jdhanley

    DIV with CSS positioning not working

    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'...
  10. jdhanley

    DIV with CSS positioning not working

    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...
  11. jdhanley

    DIV with CSS positioning not working

    I am trying to create a simple layer using <DIV> and CSS positioning. Here is my function to show the &quot;layer&quot; function show() { if (n) document.layer1.visibility = &quot;show&quot; if (ie) layer1.style.visibility = &quot;visible&quot; } when i call show() from <A...

Part and Inventory Search

Back
Top