960 posts
  • Weekly Top Seller
  • Exclusive Author
  • Featured Item
  • Tuts+ Instructor
+5 more
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?

1045 posts
  • Trendsetter
  • Author Level 8
  • Elite Author
  • Top Monthly Author
+12 more
Pixelworkshop
says

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

1149 posts
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
  • Collector Level 2
+3 more
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
  • Weekly Top Seller
  • Exclusive Author
  • Featured Item
  • Tuts+ Instructor
+5 more
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