Chris Korhonen
2005-Aug-03 14:47 UTC
[Rails-spinoffs] Scriptaculous: Effects.js SlideDown Firefox Possible Bug
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: bug-firefox.gif Type: image/gif Size: 2038 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/0e69c265/bug-firefox.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: bug-ieopera.gif Type: image/gif Size: 1887 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/0e69c265/bug-ieopera.gif
Chris Korhonen
2005-Aug-04 05:19 UTC
[Rails-spinoffs] Scriptaculous: Effects.js SlideDown Firefox Possible Bug
Hi, I''ve been playing around with Scriptaculous with a view to incorporating the effects.js component into a Web form I am developing, and have noticed a possible bug when the page is being rendered with Firefox. If you take a look at the screenshots below you can see that in firefox the text is being displayed in the wrong place. The other screenshot shows the desired result which appears in both IE and Opera. http://img284.imageshack.us/img284/4769/bugfirefox7co.gif http://img121.imageshack.us/img121/1559/bugieopera5jv.gif The code I am using is: <tr> <td> <label for="nameoncard">Name to appear on Card <em>*</em></ label> </td> <td> < input id="nameoncard" onfocus="new Effect.BlindDown(''help_cardname'');" onblur="new Effect.BlindUp(''help_cardname'');" type="text"><div class="help" style"display: none;" id="help_cardname"><small>You may edit this text, but it cannot exceed 20 characters and it must include your full last name.</ small></div> </td> </tr> Is this a bug or am I doing something stupid? :) Kind Regards Chris Korhonen ckorhonen@gmail.com