I tried this out here and even included the style as an external stylesheet. It worked fine but a more refined example of what 'myfshmnu.js' could look like is:
Code:
with(document){
writeln('<HR><UL id=nav><LI id=first><DIV><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Overview</A></DIV><UL><LI><IMG height=27 alt=Remora ');
writeln('src="the Suckerfish_files/remora4.gif" width=100></LI> <LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Classification</A> </LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Physcial Characteristics</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Habitat</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Lifestyle</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Evolution</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Distribution</A></LI></UL></LI><LI><DIV><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Species</A></DIV><UL><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Ceylonese remora</A></LI> <LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Remora remora</A></LI> <LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Sharksucker</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Slender remora</A> </LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Spearfish remora</A></LI><LI><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Whitefin sharksucker</A></LI><LI><IMG height=80 alt="The ');
writeln('top of a remoras head" src="the Suckerfish_files/remora6.gif" width=59></LI></UL></LI><LI id=last><DIV><A ');
writeln('href="http://www.htmldog.com/articles/suckerfish/example/">Links</A></DIV><UL><LI><A ');
writeln('href="http://www.itis.usda.gov/servlet/SingleRpt/SingleRpt?amp;search_topic=TSN&search_value=168567">Remoras at ');
writeln('ITIS</A></LI><LI><A href="http://animaldiversity.ummz.umich.edu/accounts/remora/r._remora.html">Remora remora at ');
writeln('ADW</A></LI> <LI><A href="http://www.oceanlight.com/html/remora_sp.html">Phillip Colla photographs</A></LI><LI><IMG ');
writeln('height=35 alt=Remora src="the Suckerfish_files/remora3.gif" width=100></LI> <LI><A ');
writeln('href="http://www.amonline.net.au/fishes/fishfacts/fish/enaucrates.htm">Slender suckerfish at Australian Museum ');
writeln('Online</A></LI><LI><A href="http://www.colzoo.org/animalareas/shores/remora.html">Remora at Columbus ');
writeln('Zoo</A></LI></UL></LI></UL><HR>');}
taken directly from the example.
Bookmarks