On Apr 10, 11:09 am, swdean <[email protected]> wrote:
> I am quite new to coding and I am trying to show div in case js is
> disabled
> the reason is because I set it to display: none

Don't do that, consider the noscript element.

<URL http://www.w3.org/TR/html4/interact/scripts.html#edef-NOSCRIPT >

You can also use document.write to add a stylesheet that hides or
shows the div if javascript is available.


--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to