[Proto-Scripty] Re: clonePosition not behaving accurately on spans

2009-09-04 Thread ColinFine
On Sep 4, 3:59 am, Tiago tiago.torr...@gmail.com wrote: This may not be Prototype's fault after all. I made a very simple test now. I compared the rendering of two pieces of HTML code separately: (1) span id=test input type=text value=Some text / /span (2) div id=test input type=text

[Proto-Scripty] Re: clonePosition not behaving accurately on spans

2009-09-03 Thread Tiago
T.J., Thanks for the help, but I tried replacing the numbers with valid IDs and the result was the same... Tiago On Sep 3, 5:09 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, This probably isn't the answer, but FWIW, those IDs are invalid. IDs cannot start with a digit.[1] It'd be

[Proto-Scripty] Re: clonePosition not behaving accurately on spans

2009-09-03 Thread Tiago
This may not be Prototype's fault after all. I made a very simple test now. I compared the rendering of two pieces of HTML code separately: (1) span id=test input type=text value=Some text / /span (2) div id=test input type=text value=Some text / /div I measured both inputs with a pixel ruler

[Proto-Scripty] Re: clonePosition

2009-05-18 Thread Marslander
No, you did. button onclick='function()' == this.function(). On May 15, 3:34 pm, Alaa ala...@gmail.com wrote: Thank u for reply, But I did not use this word in my code!!! On May 14, 3:13 pm, Marslander yazev...@gmail.com wrote: That is because you call Prototype method

[Proto-Scripty] Re: clonePosition

2009-05-18 Thread T.J. Crowder
@OP: I don't think clonePosition works on inline-positioned elements, I think they have to have the style position: absolute. You may be able to use Element#absolutize[1] to make them absolutely positioned, but that will take them out of the flow (and so other things may move). Separately, can

[Proto-Scripty] Re: clonePosition

2009-05-15 Thread Alaa
Thank u for reply, But I did not use this word in my code!!! On May 14, 3:13 pm, Marslander yazev...@gmail.com wrote: That is because you call Prototype method 'this.clonePosition' by clicking your button. In this case 'this' - is the button itself (extended element). You need to rename your

[Proto-Scripty] Re: clonePosition - problem in IE and Opera

2009-03-31 Thread zero
ok, no respond so i solved it myself Event.observe(window, 'load', function() { var klon; $$('li').each(function(el){ Event.observe(el, 'mouseover', function(event) { klon = $('klon');

[Proto-Scripty] Re: clonePosition - problem in IE and Opera

2009-03-05 Thread zero
is it a prototype bug? Does it have some bug ticket? On 2 Mar, 12:50, zero zero.zero1...@gmail.com wrote: 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?.