Yeah, that''s what I assumed. I was digging into it because I was having
an IE problem and got confused by the duplicate.
It turned out that I was calling the clone too early - IE wasn''t
setting
the position right because the page wasn''t finished rendering. So I
changed the clone call to happen later and it worked.
rahul
________________________________
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of
Gregory Hill
Sent: Friday, January 27, 2006 1:35 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: RE: [Rails-spinoffs] Position.clone() duplicate
I noticed that as well; I think he just forgot to delete the old one.
Not sure, though. I believe your assumption that the 2nd will override
the first is correct, and having used the function, the 2nd one is what
is called by all of the browsers I''ve tested.
Greg
________________________________
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Rahul
Bhargava
Sent: Friday, January 27, 2006 11:29 AM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] Position.clone() duplicate
Haven''t seen anyone ask about this yet...
why are there 2 Position.clone() methods in Prototype.js? It seems that
the second would overwrite the first, and the second has lots more
options. Am I missing something?
Thanks,
rahul
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs