| filsa.net: Frontier / Scripts / Navigation Macros / Web Monkey Pages |
|
|
UPDATED: Ready for Frontier 5!Web Monkey PagesNavigation a-la those crazy folks at HotWired
Web Monkey's Tutorial Navigation The Webmonkey site has really improved, with really great articles and tutorials. I admire their navigation for tutorials-- at the bottom of every page there's a list of all the pages in the tutorial, so you can jump around easily (Just like Jakob Nielson says). Anyway, when it came time to put a tutorial toolkit together for the "Script Meridian" website, I wanted to have the same kind of navigation. For a sample, take a look at the bottom of this tutorial page. How to use the wmPages macro wmPages creates a list of links in the current table that begin with a user-defined prefix. You define that prefix in the required parameter called objprefix. For example, the macro on the Script Meridian ODB tutorial looks like this: {wmPages ("theRoot")} The macro indexes all the pages in that table that begin with "theRoot".
You can see the results on the tutorial page. Parameters wmPages (objprefix, lineStart="Page ", lineNumbers=true, prefixEnd=":", linkStart="", linkEnd="", lineEnd="<br>r" ) The rest of the parameters give you a very fine level of control over the output. Experiment with these to see what they do. Have fun! Notes Thu, Apr 23, 1998 at 6:05:36 PM: The inevitable, stupid, post-release bug fix. Wed, Apr 22, 1998 at 6:00:38 AM: First release
|
||
View the Source: user.html.macros.wmPages |
|||
|
© copyright 1997-98 by Philip Suh. Comments are appreciated. This page last updated on 4/23/98; 6:05:59 PM. <http://www.filsa.net/frontier/scripts/NavigationMacros/wmPages.html> |
| filsa.net: Frontier / Scripts / Navigation Macros / Web Monkey Pages |