473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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:

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

regards,

Roderik
Jul 23 '05 #1
1 1475
Roderik Emmerink wrote:
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).


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.
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Question | last post by:
I am making a custom small menu which is most basic. Problem is that I can't make the first step work for some reason. I have an image to the left of where would be the layer positioned. This...
1
by: Jaz | last post by:
Trying to use a fixed layer for a couple of NAV buttons. I found this code, but the IE part is commented, and I don't understand the IF statement. It works great on Moz/Firebird and Opera BUT...
1
by: PAD | last post by:
I have written a javascript routine that populates a parent document with a series of <iframe>s. Each <iframe> receives its contents from a series of separate smaller HTML files. Of course my NN...
41
by: Richard | last post by:
http://geocities.com/r_bullis/test3.html I've managed to get to this point. Problem is, I get an error saying that an item is not defined as an object. When clicked on, the link should activate...
1
by: Christophe Candas | last post by:
Hye, You will find here under a script which will load a picture in a layer , picture depending on the cursor position. Everything's ok until the line:...
8
by: Cylix | last post by:
I have a layer which may above some form controls, eg, combo box at background. I found that the combo box is always above the layer, it doesn't matter that I set the z-index of layer to larger...
1
by: tehweb | last post by:
Background: I have a fixed position div on the bottom om my page. I have then added a dialog-div into this fixed position one. When I bring up the dialog, everything works if the the scrollTop is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.