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

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 11-07-2009, 06:59 AM   PM User | #1
Joseph Witchard
Regular Coder

 
Join Date: Oct 2008
Posts: 136
Thanks: 76
Thanked 0 Times in 0 Posts
Joseph Witchard is an unknown quantity at this point
Clicked Buttons

On custom button images, how do you give them the effect that they're "pushed" when the user clicks them and "unpushed" when the user lets his finger off the mouse button? I'm guessing it's some type of rollover effect, but I'm not sure how it's done.
Joseph Witchard is offline   Reply With Quote
Old 11-07-2009, 08:48 AM   PM User | #2
Philip M
Master Coder

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 7,092
Thanks: 85
Thanked 836 Times in 817 Posts
Philip M will become famous soon enoughPhilip M will become famous soon enough
Have a look at

http://www.thesitewizard.com/archive/rollovers.shtml

and Google for button images download


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
Philip M is offline   Reply With Quote
Users who have thanked Philip M for this post:
Joseph Witchard (11-07-2009)
Old 11-07-2009, 08:54 AM   PM User | #3
Damo
New Coder

 
Join Date: Jan 2009
Posts: 47
Thanks: 4
Thanked 8 Times in 8 Posts
Damo is an unknown quantity at this point
Hi

This might be useful

http://articles.sitepoint.com/articl...ton-javascript
Damo is offline   Reply With Quote
Users who have thanked Damo for this post:
Joseph Witchard (11-07-2009)
Old 11-07-2009, 09:37 AM   PM User | #4
abduraooft
Master Coder

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: God's own country
Posts: 8,976
Thanks: 142
Thanked 1,192 Times in 1,184 Posts
abduraooft is a jewel in the roughabduraooft is a jewel in the roughabduraooft is a jewel in the roughabduraooft is a jewel in the rough
How about http://articles.sitepoint.com/articl...on-javascript?
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Users who have thanked abduraooft for this post:
Joseph Witchard (11-07-2009)
Old 11-07-2009, 10:33 PM   PM User | #5
Joseph Witchard
Regular Coder

 
Join Date: Oct 2008
Posts: 136
Thanks: 76
Thanked 0 Times in 0 Posts
Joseph Witchard is an unknown quantity at this point
Thanks, that helped a lot
Joseph Witchard is offline   Reply With Quote
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 04:51 AM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.