webdork
asked on
ASP conditional javascript
I like the dhtml drop down navigation menus... but of course it's conditional on javascript being present.
I usually put the nav in an include file. I'm looking for a way a reliable way to substitute the include file when js not enabled.
IF JS present THEN
<!--#include file="dhtml_nav.asp" -->
ELSE
<!--#include file="hlink_nav.asp" -->
END IF
I'm open to a better solution.
I usually put the nav in an include file. I'm looking for a way a reliable way to substitute the include file when js not enabled.
IF JS present THEN
<!--#include file="dhtml_nav.asp" -->
ELSE
<!--#include file="hlink_nav.asp" -->
END IF
I'm open to a better solution.
Using browsercap is probably your best bet. Some code of what you can use it for is available at http://www.learnasp.com/freebook/asp/bc.aspx
ASKER
Thanks for responding. That does not work in Firefox. Any idea why not?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.