crushfor — 2010-05-24T15:06:37-04:00 — #1
I have been using a jquery based plug-in, and what i would like to do is degrade it, so a non js enabled browser will hide the relevant div when js is not enabled, and show a different div with appropriate message content.
i have followed a couple of tut's which do this on click, but i would like this to occur on page load.
crushfor — 2010-05-25T13:26:35-04:00 — #2
I managed to do the css bit, the problem I was having was unhiding it, as i found i needed a different approach with jquery.
i managed to do this with .show() after the $(document).ready(function()
downtroden — 2010-05-24T17:12:38-04:00 — #3
how about creating a class with display:none; and on page load remove that class. If js isn't enabled, it'll still show.