Does clonePosition work only for visible objects?
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/QjwPlGlYqVYJ.
To post to this
Hello,
I wrote the following HTML code:
span id=1
input type=text value=Some text /
/span
span id=2 style=position: absolute
input type=text value=Some text /
/span
And I would like to place span #2 on the same position as span #1. I
tried to run the following command:
Hello,
From it is name I expect that the two elements will have the same
position after cloning the position, but nothing happens!!!
here is the example
html
head
titlePrototype examples/title
script type=text/javascript
src=/javascript/prototype.js
/script
script
function clonePosition(){
This code works in firefox 2, firefox3 and chrome but in in opera,
ie6, ie7 olive div appear in wrong place when u scroll list. In ie it
goes up and in opera down. Why, any solution?.
style
ul{margin: 200px 0px;padding: 0px;list-style: none;background-color:
blue;overflow: