960 posts
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United Kingdom
jeffeatworld says

How far should you go when designing templates for folks who have JavaScript disabled?

For instance I want to create a switcher similar to the Envato switcher on Themeforest (top left)

What I’m planning doesn’t really affect functionality, it’s just an enhancement.

Woudl something like this be okay?

1031 posts
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • France
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Contributed a Tutorial to a Tuts+ Site
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
Pixelworkshop says

I’d make it showing on mouse hover, as long as it’s working with or without JS, that’s fine :)

1148 posts
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Envato Studio (Microlancer) Beta Tester
  • United States
fillerspace says

What I’m planning doesn’t really affect functionality, it’s just an enhancement. Woudl something like this be okay?

If the site functions fine without it, I’d make it display:none, and then reveal it with Javascript. If it were essential functionality, I would make it a form with a select box and submit button, and then replace it with the switcher using Javascript. A good example of this is the pay to autocomplete on PayPal…it starts as a select box, then is replaced with the autocomplete.

960 posts
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United Kingdom
jeffeatworld says

cheers folks – im now toying with doing it css based and changing it on hover as suggested. That way theres no need for the jQuery :-)

by
by
by
by
by
by