Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Alternate Menu if JS is disabled?
twinders
Junior Member

Posts: 2
Registered: 6/19/2006
Member Is Offline
posted on 6/19/2006 at 10:53 AM Reply With Quote
Alternate Menu if JS is disabled?


Hello -

I just started using Tigra Menu. It was very simple and I was able to get my menu up and going very quickly.

Unforunately, as soon as I did, the complaints started pouring in! Users were unable to view any navigation on the site. After a bit of troubleshooting, it appears these users have JS disabled in their browser. So, the menu doesn't show up at all.

Is there a way to have an alternate menu system if JS is diabled on the client?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/19/2006 at 02:11 PM Reply With Quote

you can place static HTML navigation in <noscript> tag. Also you can use the script to generate static HTML navigation with the server side script: http://www.softcomplex.com/forum/viewthread_3187/
View User's Profile View All Posts By User U2U Member
twinders
Junior Member

Posts: 2
Registered: 6/19/2006
Member Is Offline
posted on 6/20/2006 at 07:56 AM Reply With Quote

Thanks. I have placed the naviation in a <noscript> section, but I like the idea of the map.pl script much better. Unfortunately, I must have a bad version of perl, or some other problem. I am running on an old RH9 system with perl 5.8.0. When I try to test the script (map.pl) I get these errors:

Can't modify predecrement (--) in predecrement (--) at sitemap.cgi line 32, near "$TEMPLATE ="
syntax error at sitemap.cgi line 49, near "sub process_block () "
Can't use global @_ in "my" at sitemap.cgi line 50, near "= @_"
syntax error at sitemap.cgi line 67, near "}"
Execution of sitemap.cgi aborted due to compilation errors.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004