stunicholls.com

...exploring the possibilities

Tree Frog Horizontal Menu

3rd November 2007

Tree Frogs Menu Red Frog

Tree frogs are frogs of the families Hylidae and Rhacophoridae.

There is large variation among tree frog species. Many species are not actually arboreal (do not live in trees), but terrestrial or aquatic (live on the ground or in the water).

Many arboreal frogs are green, while terrestrial and aquatic species are duller.

They mostly feed on insects and other invertebrates, but some larger species can feed on small vertebrates. The species within the genus Cyclorana are burrowing frogs, sometimes spending many years underground.

© 2007 stunicholls.com

Information

Expanding on the previous method and adding a modified suckerfish hover we can have a top level click with sub level hovers.

Rather than have a hybrid system with some browsers using li:hover and others (namely IE5.x and IE6) using li.hover, I have arranged this one such that all browsers use the javascript routine.

Please do not criticise the javascript too much as I do not pretend to be an expert in this language, I just dabble with it until it works. There is probably a more correct way to do this.

As with the previous menu, you should be aware that this will not work in browsers with javascript turned off.

Tested in IE5.5, IE6, IE7, Firefox, Opera, Netscape, Mozilla, Safari (PC) and Safari (iPod Touch).

Download

All the files, except the photograph which is copyrighted, can be downloaded using the link below. If you are going to use this in your website then please respect my copyright and keep the credits in the stylesheets and javascript.

Download tree_frog_horizontal.zip