Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disabling Javascript 1

Status
Not open for further replies.

Hondy

Technical User
Mar 3, 2003
864
GB
Hello

I have a website that has a javascript menu. If I disable Javascript at the browser the menu completely disappears. I would prefer that I get an exploded view of the menu for accessibility like I have seen on other sites.

Do I specifically need to program this behaviour or should I try another menu script?

Thanks

H
 
you can program the menu within <noscript></noscript> tags that will show up if the browser's js is disabled...

Code:
<script language="javascript">
alert("hello trough javascript");
</script>
<noscript>
hello with javascript disabled.
</noscript>

--------
GOOGLE is a great resource to find answers to questions like "how do i..."

If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
 
ah thanks vicvirk :) sounds like the way to go
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top