Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: trying to get a rollover javascript menu onto a wiki page.

posts: 4656 Japan

The menu at independent.co.uk is a CSS ("suckerfish") menu that styles a list of lists of links, controlling list item visibility and floating most of them into horizontal positions rather than displaying them vertically as is normal for the li tag. Normally in a dropdown menu the secondary links are displayed vertically, but the stylesheet is edited to have them display horizontally. Tiki 1.10 supports suckerfish CSS menus as an option on the Admin Menu page, providing the CSS, if the parameter is included when the menu tag is put in a template.

The menu (the ul's and a's, etc.) could also be created directly in the template file rather than using Tiki's menu feature, if you don't mind editing the template to update the menu, etc. This would be necessary for Tiki 1.9, anyway, since it doesn't have native CSS menu support. In any case, it's necessary to come up with the construction of the link lists and the CSS to display them as desired. The example you cited actually provides the information. You 'just' have to put your links where the Independent put its, and find the CSS that is used to style how they are displayed, and add it to your stylesheet. (There may also be a bit of javascript to help Internet Explorer with hover states — some CSS menus use this.) All in all, quite possible but kind of involved unless you're OK with editing HTML.

-- Gary - zukakakina.com

There are no comments at this time.