Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: <layer></layer>

  1. #1
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts

    <layer></layer>

    wc3 is telling me not to use <layer>. what is the modern replacement for <layer>? I'm assuming it's obsolete.

    Code:
     <layer id="ns4div1" width="'+swidth+'" height="'+sheight+'" onmouseover="sspeed=0;" onmouseout="sspeed=rspeed"></layer>

    site.

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Quote Originally Posted by cyborg360 View Post
    wc3 is telling me not to use <layer>. what is the modern replacement for <layer>? I'm assuming it's obsolete.
    layer used to be used in the 1990s. Try using div and CSS.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    In fact, layer was never part of the HTML standard nor did it work in any browser but Netscape, iirc.

    @cyborg, from looking at your threads, it appears the book or web site you are learning from is way, way out of date by more than 10 years. You need to be using something much more modern to learn from.

  • #4
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by drhowarddrfine View Post
    In fact, layer was never part of the HTML standard nor did it work in any browser but Netscape, iirc.

    @cyborg, from looking at your threads, it appears the book or web site you are learning from is way, way out of date by more than 10 years. You need to be using something much more modern to learn from.
    Just grabbing code found through a google search; the older stuff is typically free as one might expect. But, its not always evident to me that it's old.

  • #5
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    It might be helpful to you to follow along with w3schools.com's tutorials. They're brief and to the point but use current stuff that you can expand on with Google searches.

  • #6
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Quote Originally Posted by cyborg360 View Post
    Just grabbing code found through a google search; the older stuff is typically free as one might expect. But, its not always evident to me that it's old.
    This is often the case with script repositories, I've found. They keep scripts submitted from years ago and no one moderates them, so you get some pretty crummy scripts.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •