I just upgraded Ruby to 1.8.4 and Rails to 1.1 and I''m in the middle of changing my Javascript code over to the Scriptaculous helper functions. page.visual_effect :highlight, "some_div" seems to be broken. Instead of fading, the background color of the element stays highlighted. page.visual_effect works for other effects, though. Any ideas? Thanks. -- Posted via http://www.ruby-forum.com/.
James Whittaker
2006-Apr-03 09:04 UTC
[Rails] Re: page.visual_effect :highlight not working
Boram Yoon wrote:> I just upgraded Ruby to 1.8.4 and Rails to 1.1 and I''m in the middle of > changing my Javascript code over to the Scriptaculous helper functions. > > page.visual_effect :highlight, "some_div" seems to be broken. Instead > of fading, the background color of the element stays highlighted. > page.visual_effect works for other effects, though. Any ideas? > > Thanks.Are you trying it with IE. I have the same issues with many RJS helpers in IE. They work fine in anyother browser but IE. The page.replace_html only works with DIVs not another element with an ID. -- Posted via http://www.ruby-forum.com/.
James Whittaker wrote:> Are you trying it with IE. I have the same issues with many RJS helpers > in IE. They work fine in anyother browser but IE. The page.replace_html > only works with DIVs not another element with an ID.No, this is in Firefox. -- Posted via http://www.ruby-forum.com/.
Boram Yoon wrote:> James Whittaker wrote: > >> Are you trying it with IE. I have the same issues with many RJS helpers >> in IE. They work fine in anyother browser but IE. The page.replace_html >> only works with DIVs not another element with an ID. > > No, this is in Firefox.And this problem also occurs in IE. -- Posted via http://www.ruby-forum.com/.
Are you getting any javascript errors? -Simon Boram Yoon wrote:> Boram Yoon wrote: >> James Whittaker wrote: >> >>> Are you trying it with IE. I have the same issues with many RJS helpers >>> in IE. They work fine in anyother browser but IE. The page.replace_html >>> only works with DIVs not another element with an ID. >> No, this is in Firefox. > > And this problem also occurs in IE. >