New kind of Suckerfish discovered in the Netherlands

The Keyboardfish

Keyboardfish (Remora clavicensis)

Remorina clavicensis
 

Version with no-script option for menu

  1. First make a new stylesheet for the no-script menu (with unfolded submenu items).
     
  2. Call it in the head with the <link rel="stylesheet" .......> method. Now this are the default styles, when no javascript is enabled.
     
  3. Make the (Suckerfish) menu styles for enabled javascript, and place them in another stylesheet.
     
  4. The trick: we don't call this stylesheet with the normal <link ...> method, but by means of a special javascript in the head.
     
  5. This javascript is:
        document.write('<link rel="stylesheet" ...\>')
     
  6. This javascript has to be placed under the line of calling the default stylesheet.
     
  7. 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.
     
  8. See source code!

 

Valid HTML 4.01 Transitional, check here - Valid CSS, check here

17th of januari 2006