jeudi 30 juin 2016

Check Status of JavaScript via .JSP page

Background: My client has a sitemap that uses an accordion menu for the layout. (no talking them out of it). They are afraid SiteBots that do not use JS to view a page will not see the links hidden by the accordion.

Question: I know about the <noscrpit> tag but is there a way to programmatically write an if statement on a .jsp page that can check to see if Javascript is enabled?

This way I can server a different sitemap layout depending on how the page is being viewed.

Aucun commentaire:

Enregistrer un commentaire