| filsa.net: Frontier / Scripts / Frame Related / Targeting Frames |
|
|
Targeting FramesAdd targeting to your glossary references
Trying to develop the perfect frames system I want to implement a framed website in Frontier, and I want it to be easy and seamless. This is a first step towards that goal. It's called glossTarget And it's a macro that goes into your user.html.macros table. Although it says 'gloss' in the name, it can target regular <a> tag strings as well as items in the Frontier glossary. It requires a script called glossPatcher. It has some cousins that do other work with glossary references, glossRename() and glossImageRef(). glossTarget (glossspec, targetName) glossSpec is a string that is either a glossary reference, a [[#glossPatch string, or a <a> tag. If glossSpec is not found in the glossary, it is returned unprocessed, in quotes. targetName is a string that is the name of the target window, or one of the four special target names. (_top, _blank, _parent, _self) See the source below for more docs. You can copy the source into your database or use the fatPages mechanism to get the script from this page.
|
||
View the Source: user.html.macros.glossTarget |
|||
|
© copyright 1997-98 by Philip Suh. Comments are appreciated. This page last updated on 6/26/98; 10:42:53 AM. <http://www.filsa.net/frontier/scripts/FrameRelated/frameTarget.html> |
| filsa.net: Frontier / Scripts / Frame Related / Targeting Frames |