New kind of Suckerfish discovered in the Netherlands
The Keyboardfish
Remorina
clavicensis
- This is a testpage!
- For a quick view of the display of this page with disabled javascript: click to this demo page.
Version with no-script option for menu
- First make a new stylesheet for the no-script menu (with unfolded submenu items).
- Call it in the head with the <link rel="stylesheet"
.......> method. Now this are the default styles, when no javascript is
enabled.
- Make the (Suckerfish) menu styles for enabled javascript, and place them in another
stylesheet.
- The trick: we don't call this stylesheet with the normal <link ...>
method, but by means of a special javascript in the head.
- This javascript is:
document.write('<link rel="stylesheet" ...\>')
- This javascript has to be placed under the line of calling the default
stylesheet.
- In this way the "script menusheet" will only be openend as
javascript is enabled.
And because it is placed after the default styles, these script menustyles will overrule the defaults.
- See source code!
17th of januari 2006