Pages: 123

  2008-08-22 14:42:43

gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]Fx.Slide - Toggle[/b] [sup]Show/Hide with effects using MooTools - Easy Ways[/sup] [sup]all major browser compatible[/sup] [hr][hr] [/align] [quote][b]Update : [/b] - Added transition

[quote=creyon]problem in my proffy is that it does not hide on load and when i hide it, it will never show again..[/quote] first see download script -> http://jollybear.freeunlimitedweb.com/80s/iSlidesToggle.js then see profile demo script -> http://jollybear.freeunlimitedweb.com/80s/iSlideToggle.js all variable.hide() is after [color=green]//Customize { Hide Box at first load }[/color] so we not need replace variable.toggle() with variable.hide() if like this, the box will hide forever after clicked except page refreshed[quote]//testimonial & comment var iSlide6 = new Fx.Slide(iCons.getElement('#content_18'), { duration: 1000, transition: Fx.Transitions.Expo.easeInOut }); iCons.getElement('.publiccomments h2').addEvent('click', function() {iSlide6.hide(); } );[/quote] for next, if you need to hide box at first load just put variable.hide() after [color=green]//Customize { Hide Box at first load }[/color] [quote][b]like this[/b] //Customize { Hide Box at first load } // for example hide testimonial & comments at first load iSlide6.hide();[/quote]

Pages: 123

Board footer

© 2024 F Talk

Current time is 17:58

[ 12 queries - 0.020 second ]
Privacy Policy