I have a messaging tool on a website that I am currently working on. The idea is for each message to have a div div and div (display = "none").
Ideally, if javascript is enabled, I only have a title that displays, and when the user clicks on it, the slide opens.
This is great, but how should I work if javascript is disabled? I was thinking about expanding all the messages if disabled, but I don't want to flash briefly when the page loads from all the images, and if javascript is turned on, they crash.
I am using ASP.NET and was thinking about checking javascript status on the server side of the browser, but I found out that this cannot be done cleanly.
Any suggestions on how to achieve this?
source
share