Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-01-2008, 08:07 AM   PM User | #1
samuurai
Regular Coder

 
Join Date: Nov 2007
Posts: 144
Thanks: 64
Thanked 0 Times in 0 Posts
samuurai is an unknown quantity at this point
Fancy JS Buttons..?

Hi,

I want to make some buttons similar to the ones when you hover over

Tutorials Dijit Dojox

in

http://dojocampus.org/explorer/

Does anyone have any links to tutorials? Google hasn't been my friend today.

Thanks in advance!

Beren
samuurai is offline   Reply With Quote
Old 09-01-2008, 11:46 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,103
Thanks: 197
Thanked 2,421 Times in 2,399 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Have a look at:-

http://www.webmonkey.com/tutorial/Cr...out_JavaScript
Philip M is offline   Reply With Quote
Users who have thanked Philip M for this post:
samuurai (09-01-2008)
Old 09-02-2008, 07:19 PM   PM User | #3
samuurai
Regular Coder

 
Join Date: Nov 2007
Posts: 144
Thanks: 64
Thanked 0 Times in 0 Posts
samuurai is an unknown quantity at this point
Thanks, but I don't think that will give me the cool bouncing effect of the little tabs as they retract back in.
samuurai is offline   Reply With Quote
Old 09-02-2008, 07:35 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,703
Thanks: 5
Thanked 875 Times in 850 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Sometimes there are better friends than Google and this time the friend is common sense (and the web developer toolbar): View the source code, find the elements that mark up the navigation in question. The navigation items have a class called “headlink”. A quick search (Ctrl+F/Cmd+F) for “headlink” in the JavaScript files reveals that the function is written/executed in http://dojocampus.org/explorer/featu...ureexplorer.js Obviously this is a JavaScript framework (as I have suspected already – alough I didn’t know that one yet) and a quick search for “addonload” (since that function name was unfamiliar to me) brought me to http://dojotoolkit.org/ where you have everything you need to create that very effect.

On a side note: the Dojo toolkit isn’t the only one that can do this. Mootools et al have similar functions (easeIn, easeOut etc.).
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
samuurai (09-02-2008)
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 AM.


Advertisement
Log in to turn off these ads.