Grow your CSS skills. Land your dream job.

jQuery for browsers with JavaScript disabled fix?

  • # January 31, 2013 at 7:00 pm

    Hi everyone again… I think I’m starting to bust some chops here, but thanks for everyone’s help anyway.

    Now I’m trying to learn how to create a ‘fix’ for browsers with disabled JS. For example, my jQuery slider displays all its images vertically in those situations.

    How can I make my site display a non-sliding version instead of displaying it that way?

    # January 31, 2013 at 7:05 pm

    Here is a link to get you started.

    stackoverflow.com/questions/6724515/what-is-the-purpose-of-the-html-no-js-class

    I think you could use the no-js class to write your slideshow css to display however you like if a user has JS disabled.

    # January 31, 2013 at 7:06 pm

    Sorry, I couldn’t edit the link to be in an anchor tag properly because I fail but just copy/paste it.

    # February 1, 2013 at 9:43 am

    However, I am more accustomed to implementing `

    # February 1, 2013 at 10:18 am

    >Considering that removing HTML classes with JavaScript takes a time.

    How much time? Is it so much that you can actually perceive it personally?

    If not, then it’s a non-issue.

    # February 1, 2013 at 10:21 am

    But that wasn’t the actual question.

    The question was:

    >How can I make my site display a non-sliding version instead of displaying it that way?

    Until we see the site, we can’t comment, but I would google “pure CSS slider” being aware that you will have legacy browser issues for actual animations / transitions.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".