• ARCHIVES 
  • » [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

Pages: 123

[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

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

[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

[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 (expo). - Move to external javascript file for easy configuration. - Increase duration of effect. - Comment/Delete uneeded Script regarding script conflict issue[/quote] [quote][b]Instruction :[/b] [1] Download this [url=http://jollybear.freeunlimitedweb.com/80s/iSlidesToggle.js]Script[/url] [2] Customize : - Customize/add script to apply effects for addBoxes. - Customize hide boxes at first load. - Un-comment the script if you have Reviews, Blogs, Fan, Groups Boxes. - Delete/give script comment if you dont have media box. (have a mark //media box) [3] Upload to your own file hosting. [4] Insert iSlidesToggle.js to your primary script : [quote]var myScripts = document.createElement('script'); myScripts.type = 'text/javascript' myScripts.src = 'Path/To/iSlideToggle.js' document.getElementsByTagName('head')[0].appendChild(myScripts);[/quote] [5] Demo | Demo Script : [url]http://profiles.friendster.com/mad4moo[/url] [url=http://jollybear.freeunlimitedweb.com/80s/gradient.js]Demo Script[/url][/quote] [b]More :[/b] [spoiler] [1] Duration (ms): - Lower than 1000 = faster / Higher than 1000 = slow [2] Transitions : - default transition is [b]Fx.Transitions.Expo.easeInOut[/b] - for more transition example see [url=http://demos111.mootools.net/Fx.Transitions]here[/url] [3] addBox - for example, addBox ID is [b]lorem[/b] so we use this script : [quote]addBox("RIGHT","addBox title",code,"[b]lorem[/b]",null); we will get [b]lorem[/b] for class & [b]content_lorem[/b] for ID[/quote] - now apply effects for addBox : [quote]var iSlideBox = new Fx.Slide(iCons.getElement('[b]#content_lorem[/b]'), { duration: 1000, transition: Fx.Transitions.Expo.easeInOut }); iCons.getElement( '[b].lorem h2[/b]' ).addEvent( 'click', function(){ iSlideBox.toggle(); } );[/quote] [4] Hide Box at first load : - hide testmonial & comment : [b]iSlide6.hide();[/b] - hide lorem addBox : [b]iSlideBox.hide();[/b] (addBox at previous illustration) [/spoiler] [b]good luck [/b];) [i]script issue, question & suggestion reply here, thanks.[/i]

Last edited by gumscumbag (2008-08-13 13:19:03)

bobcbar
» FTalkElite
FTalk Level: zero
5223
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

Thanks for sharing :thumbsup: I can not see the effect on ur preview proifle only the css code are loading.
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

i was check with all browser i have and working normally : IE 6,7,8. FireFox 2&3, Opera 9.51 and Safari 3.1.2 have you click boxes header ? [img]http://i34.tinypic.com/2yknl7a.gif[/img] if still not work, i'll try to fix this issue.
bobcbar
» FTalkElite
FTalk Level: zero
5223
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=gumscumbag]have you click boxes header ?[/quote] :wallbash: sorry my fault did not click the headers was looking for a button =D It works great thanks again.
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

hehe np, i think this script really2 not working :| thanks for coming :D
underiez
» n00b
FTalk Level: zero
40
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

:wow: I love it... thanks for sharing, great idea...:thumbsup:
Lordheinz
» FTalkElite
FTalk Level: zero
4377
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

another version of shiw/hide trick...:) how about when you apply to a certain addbox buddy...? coz as you explained to us it can apply only to main boxes..was there any possibility to use it with those additional boxes or sidebars...? thanks for sharing anyway..

Last edited by lordheinz (2008-08-05 00:32:43)

---xXirukiTepe---
» SuperFTalker
FTalk Level: zero
8896
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

[b]Nice thanks for sharing.... dude/// cool... ill check it later.... haha[/b]
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=lordheinz]how about when you apply to a certain addbox buddy...?[/quote] not only main boxes, it also can be use for addBoxes see on the Demo, Lorem Ipsum box is spawn from addBox function here example : addBox (type,head,htm,[b]id[/b],sibling) [quote]addBox("RIGHT","my addBox Header",code,"[b]moo[/b]",null);[/quote] and code to apply effect for addBoxes [quote]//apply effect for addBox here var slideVariable = new Fx.Slide( item.getElement( '[b]#content_moo[/b]' ), { duration: 500 } ); item.getElement( '.[b]moo h2[/b]' ).addEvent( 'click', function(){ slideVariable.toggle(); } );[/quote] to apply other box at sidebar/main column i'll update my first post. i'm forget about other boxes like fan of, groups, blog and review, my demo profile dont have that boxes :D
Hoshigaki
» FTalkAgent
FTalk Level: zero
2328
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

i can`t understand the trick .. sorry can someone explain ..
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=Hoshigaki]i can`t understand the trick .. sorry can someone explain ..[/quote] this trick just like Show/Hide with effect (scriptaculous) from Feruzz, but using MooTools Javascript Framework. if you decide to use this trick, just see the Demo and follow Step [1] to [4] or for a cheats, see my javascript file :wallbash: http://jollybear.freeunlimitedweb.com/80s/gradient.js

Last edited by gumscumbag (2008-08-05 07:24:10)

---xXirukiTepe---
» SuperFTalker
FTalk Level: zero
8896
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

[b]^ its the show and hide trick (another version of it, probably...) this trick was posted b4... by feruzz i think... But, diff with this version,[/b]:D
helmi
» n00b
FTalk Level: zero
54
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

i already seen all show&hide trick on fstalk, this trick r easy to newbie 2 understand simple+easy+basic :thumbsup:
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

yes simple, easy & [b]smooth[/b] :D
aFgHInZ
» FTalker
FTalk Level: zero
223
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

wow.. nice tricks... tnx for share.. keep it uppzz!!!
regiehiozn
» FTalkFreak
FTalk Level: zero
1819
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

wow.. i like it very much..
crazylover
» FTalker
FTalk Level: zero
145
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

yup its smooth but how to hide your content box first?? i tried changing this code <">to this one <">anyone could help???:D
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

not need to insert event again. scumSlide6.hide();
crazylover
» FTalker
FTalk Level: zero
145
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=gumscumbag]not need to insert event again. scumSlide6.hide();[/quote] what do you mean???can you show some examples???of your main codes??? that the content is automatically hidden??and when clicked it opens??/ :D hope you get it...tnx!
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=crazylover]what do you mean???can you show some examples???of your main codes??? that the content is automatically hidden??and when clicked it opens??/ :D hope you get it...tnx![/quote] k wait. i'll edit my demo script. =================== already edited. see testimonial box & addBox, they hidden at first load.

Last edited by gumscumbag (2008-08-09 07:08:56)

  • ARCHIVES 
  • » [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

Pages: 123

Board footer

© 2024 F Talk

Current time is 03:01

[ 10 queries - 0.022 second ]
Privacy Policy