Does RJS inherently support the Element.toggle effect? I haven’t been
able to call it the way you call “appear”, “fade”, etc…
Jeff
Does RJS inherently support the Element.toggle effect? I haven’t been
able to call it the way you call “appear”, “fade”, etc…
Jeff
Yes, you should be able to do:
page.toggle ‘element’
–
Joe C.
Joe C. wrote:
Yes, you should be able to do:
page.toggle ‘element’
–
Joe C.
RailsPlayground.com
Thanks Joe! Whether here or on the support forum, you’ve always got an
answer
I was trying “page.visual_effect :toggle”, instead of the right syntax.
Jeff
Cody F. wrote:
You can also use a visual effect for more stylish toggling. The three
toggle effects are :toggle_appear, :toggle_slide and :toggle_blindpage.visual_effect :toggle_appear, ‘element’
On 4/7/06, Jeff C.man [email protected] wrote:
–
Cody F.
http://www.codyfauser.com
Thanks, Cody! That’s even nicer. I’m looking forward to your book on
RJS by the way
Jeff
You can also use a visual effect for more stylish toggling. The three
toggle effects are :toggle_appear, :toggle_slide and :toggle_blind
page.visual_effect :toggle_appear, ‘element’
On 4/7/06, Jeff C.man [email protected] wrote:
–
Cody F.
http://www.codyfauser.com
Thanks, Cody! That’s even nicer. I’m looking forward to your book on
RJS by the wayJeff
Thanks Jeff, I’m working really hard on getting it finished
On 4/8/06, Jeff C.man [email protected] wrote:
–
Posted via http://www.ruby-forum.com/.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
–
Cody F.
http://www.codyfauser.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs