[Rest2web-develop] Section headers
Brought to you by:
mjfoord
From: martin f k. <ma...@ma...> - 2006-08-05 12:58:20
|
Michael, here's another question for you... take a look at http://ailab.ch.org and take note of the section tabs on the left hand side... if you click on one, it gets you to the subsection and then stays highlighted. The way I did this was with CSS, setting the "selected" class based on the current URL and the name of the section. So, for instance, if the URL was /projects/adapt, then the entry for /projects would get the selected class. How would I do this with rest2web? There are sections and while it would be trivial to figure out the current page's section and set the class accordingly, I cannot iterate through the sections to generate the list and get a single target URL for each section, there is no "main page" of a section. I basically want/need a navigation method that's not like the sidebar and not like minibar, but site-wide. Cheers, --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 "with sufficient thrust, pigs fly just fine. however, this is not necessarily a good idea. it is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- rfc 1925 |