471,852 Members | 1,219 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

SHOW HIDE <div> WITH TWEEN???

Hello all, I am going to be utilizing a <divon a site that is shown
and hidden w/ the click of a button. I can already do this, but when
the button is clicked the <divis show quite rapidly. I'd like to
slow the opening/showing process with something emulating a motion
tween. Apple uses something like this in their menus on their website.
Any ideas are greatly appreciated.
Jan 28 '08 #1
1 3165
On Jan 28, 11:17 am, Window Frog <m...@deepskystudio.comwrote:
Hello all, I am going to be utilizing a <divon a site that is shown
and hidden w/ the click of a button. I can already do this, but when
the button is clicked the <divis show quite rapidly. I'd like to
slow the opening/showing process with something emulating a motion
tween. Apple uses something like this in their menus on their website.
Any ideas are greatly appreciated.
Try one of the JS libraries out there (there are plenty of them). Just
steer clear of Mootools. I'd recommend JQuery:
http://docs.jquery.com/Effects/fadeOut#speedcallback
Jan 28 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Daniel Hansen | last post: by
19 posts views Thread by benzwt | last post: by
2 posts views Thread by MOHSEN KASHANI | last post: by
3 posts views Thread by Josef K. | last post: by
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.