fixed layer javascript problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roderik Emmerink

    fixed layer javascript problem

    Hi,

    I used a javascript from quirksmode.org to obtain a layer to be fixed
    (in IE and FF). The black rectangle at:



    should be fixed (stay in the same position when you scroll down). Does
    anyone have an idea why this layer is not responding in this page (I
    have tried the script in another page where it does work).

    regards,

    Roderik
  • Roderik Emmerink

    #2
    Re: fixed layer javascript problem

    Roderik Emmerink wrote:[color=blue]
    > Hi,
    >
    > I used a javascript from quirksmode.org to obtain a layer to be fixed
    > (in IE and FF). The black rectangle at:
    >
    > http://www.roderik.net/experiment.htm
    >
    > should be fixed (stay in the same position when you scroll down). Does
    > anyone have an idea why this layer is not responding in this page (I
    > have tried the script in another page where it does work).
    >[/color]

    I found out the following, when removing the XHTML Doctype declaration,
    the javascript will function like it was meant to do. Please let me
    know, if anyone knows how to make it work with the doctype XHTML 1.0
    Strict or Transitional.

    Comment

    Working...