|  | Posted by Nikita the Spider on 06/26/72 11:53 
In article <8LqdnRyK1dgD01_ZRVnyrg@bt.com>,"Chris" <nospam@btinternet.com> wrote:
 > "Benjamin Niemann" <pink@odahoda.de> wrote in message
 > news:e9qvpm$nnp$1@online.de...
 > > Chris wrote:
 > >
 > >>>> I have a javascript driven navigation I want to offer an alternative
 > >>>> navigation in the <no script> tag. However how do I hide the javascript
 > >>>> navigation as it isn't completely hidden if the javascript is switched
 > >>>> off.
 > >>>
 > >>> You'll have to construct those elements with JavaScript instead of
 > >>> placing these in the HTML document.
 > >>> When doing this, it might also be better, not to use NOSCRIPT, but to
 > >>> remove
 > >>> those elements which are for NoJS clients using JavaScript, _after_ you
 > >>> have verified that the browser supports all required features. There
 > >>> might be situations, when the JS version will not work, because the
 > >>> browser does not implement certain objects or methods. With NOSCRIPT the
 > >>> user would get a broken dynamic menu, but no static menu.
 > >>
 > >> I am still unclear. I am using an unordered list which produces a pop up
 > >> when hovered over. I want to use this because the search engine will like
 > >> this. Constructing a menu entirely in javascript will cause problems.
 > >
 > > SEs will see what users without JS will see: the menu as it exists in the
 > > HTML source (which you originally wanted to place in a NOSCRIPT element).
 >
 > This is just navigation mock-up! If look on the right you will see the js
 > navigation.
 >
 > http://www.reidmark.com/navigation/index.html
 
 I agree with the poster above who said "[I]t might also be better, not
 to use NOSCRIPT, but to remove those elements which are for NoJS clients
 using JavaScript". Construct your page with HTML so that top menu 1 -3
 are "expanded" with all of the submenu items showing. When your page
 loads in a user-agent without JS, all of the menu items will be visible
 and accessible. Then add a script that executes in the body's onload()
 event which arranges the menus in the way you like (e.g. with the
 submenus hidden until a top menu item is clicked on).
 
 --
 Philip
 http://NikitaTheSpider.com/
 Whole-site HTML validation, link checking and more
  Navigation: [Reply to this message] |