Saturday 24 April 2004 8:05:21 am
This should be easy enough to do. Are you using JavaScript to expand the menus? If so, just modify the code for the First Level to display href="#" onmousover=YOUR MENU CODE"
instead of href={concat("/content/view/full/",$:item.node_id,"/")|ezurl}
Leave the Second Level Code the same. One note, the best way to do it would be to leave the <i>href={concat("/content/view/full/",$:item.node_id,"/")|ezurl}</i> and add <i>return false;</i> to the end of the JavaScript placed in the mouseover. href={concat("/content/view/full/",$:item.node_id,"/")|ezurl} onmouseover="YOUR MENU CODE;return false;"
While the vast majority of users will only see the menu, this ensures that your site is still accessible to anyone who has disabled JS in their browsers, including search engines. But it does mean that you will have index pages - they will remain unseen for most people. Does this help? Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|