Results 1 to 7 of 7

Thread: I need to add Styling to Radio Buttons.. i seen another site do it..

  1. #1
    Join Date
    Jul 2010
    Location
    Bridport, Dorset
    Posts
    58
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default I need to add Styling to Radio Buttons.. i seen another site do it..

    Hi guys,
    I just left a post in the Javascript section looking to improve on a script, but just realised what I had come up with only works in Chrome..

    I have seen it done and compatible with all major browsers here:-
    http://www.barratts.co.uk/en/ruffle-...llerina-172104

    Look at how there size selection reacts, I have dug around and it is a div, with an unordered list inside, and inside each item on the list is the select and label tags.
    I have looked into their css and cant seem to get it to work on my page...

    Could anyone simplify their script or provide a similar script for this effect?

    Best Regards,
    Pete

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

  3. #3
    Join Date
    Jul 2010
    Location
    Bridport, Dorset
    Posts
    58
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default

    will do!

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Great, post back with results.
    Jeremy | jfein.net

  5. #5
    Join Date
    Jul 2010
    Location
    Bridport, Dorset
    Posts
    58
    Thanks
    6
    Thanked 1 Time in 1 Post

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Do you want it like the size boxes like in your example?
    Jeremy | jfein.net

  7. #7
    Join Date
    Jul 2010
    Location
    Bridport, Dorset
    Posts
    58
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default

    Hi Nile,

    Thought you might like to see my results, managed it with a few well placed divs and a bit of styling..

    EDIT: Thanks to your link!

    http://www.test.steptoes.co.uk/produ...ZT1XNjAy.ghtml

    I think it works ok, the only trouble im having is the text label for each button is blocking the functionality of the button itself a little bit, is there any way we can make the text sort of invisible to mouse clicks, like unhighlightable, but still visible to the user?

    Z index would just put it behind would it not?

    Best Regards,
    Pete

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •