twinders
Junior Member
Posts: 2
Registered: 6/19/2006
Member Is Offline
|
| posted on 6/19/2006 at 10:53 AM |
|
|
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?
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 6/19/2006 at 02:11 PM |
|
|
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/
|
|
|
twinders
Junior Member
Posts: 2
Registered: 6/19/2006
Member Is Offline
|
| posted on 6/20/2006 at 07:56 AM |
|
|
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.
|
|
|