Any way to use an image for a radio button?

This is a discussion on "Any way to use an image for a radio button?" within the Web Page Design section. This forum, and the thread "Any way to use an image for a radio button? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack (3) Thread Tools
  #21 (permalink)  
Old Jan 6th, 2007, 02:30
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Any way to use an image for a radio button?

I just threw an article together about this, so the new permanent link to the article is:

http://ryanfait.com/articles/2007/01...radio-buttons/

The example can be found at:

http://ryanfait.com/articles/2007/01...s/example.html
Reply With Quote
  #22 (permalink)  
Old Jan 6th, 2007, 05:47
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Any way to use an image for a radio button?

Nice article Ryan, I think I can find some uses for that....also it is nice to know that it works even when JavaScript is disabled!!
Reply With Quote
  #23 (permalink)  
Old Jan 6th, 2007, 06:43
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Any way to use an image for a radio button?

Yeah, that's definitely a must
Reply With Quote
  #24 (permalink)  
Old Jan 6th, 2007, 09:06
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,650
Blog Entries: 1
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Any way to use an image for a radio button?

Very nice article indeed.... You're getting very good at those!

PS.: you can send functions inside a variable in 'hard coding':
Code: Select all
var double = function(n){ return n*2; };
var half = function(n){ return n/2; };
var calc = function(n,func){ return func(n); };
var msg = function(s){ alert('Number: '+s); };

msg(calc(2,double));
msg(calc(2,half));
and by hard coding I mean, I can remove all useless white-spaces (line feeds, etc) and I wouldn't get any errors...
Your style seems to work just as all and I must admit, it looks good
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)

Last edited by spinal007; Jan 6th, 2007 at 09:11.
Reply With Quote
Reply

Tags
button, graphic, radio

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.webforumz.com/web-page-design/11232-any-way-to-use-an-image.htm
Posted By For Type Date
karinne's bookmarks tagged with "CSSForms" on del.icio.us Post #13 Refback Feb 19th, 2008 16:35
Checkbox input problem - HTMLforums – Free Webmaster HTML Help and Discussions Post #13 Refback Jan 19th, 2007 10:48
karinne's bookmarks on del.icio.us This thread Refback Jan 11th, 2007 21:16

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Radio Button Response! :( jahphill PHP Forum 33 Oct 25th, 2007 22:15
Radio Button Problems in ActionScript 3.0 dgstarr Flash & Multimedia Forum 1 Sep 6th, 2007 17:11
automatic pop-up when click on a radio button joshcxa JavaScript Forum 2 Aug 1st, 2006 06:06
Help Please - Radio Button Labels not showing sandyb Flash & Multimedia Forum 0 Jan 16th, 2006 22:56
Delete All Row (Select All Row Using Radio Button) Monie Classic ASP 37 Nov 5th, 2004 09:21


All times are GMT. The time now is 10:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43