On 18/4/06 22:20, "Rosemary Michelle Simpson" <rms__AT__cs.brown.edu> wrote:
> is there any way to generate client-side image maps?
>
> Rosemary
Although you could use attributes to hold parameters you end up with a lot
of attributes that most of your notes don't need.
Note image maps aren't something I use much (so forgive code syntax errors),
but I'd suggesting using a not per map. The Note would contain nothing but
the image map code and would be pulled into your template via an ^include
command. So the content of note "Map1" might look like:
<img src="blah.gif" width="100" height="100" usemap="TB_map_1">
<map name="TB_map_1">
<area shape="rect" coords="0,0,49,49" href="www.mydomain.com/link1.htm"
alt="top left">
<area shape="rect" coords="50,0,99,49" href="www.mydomain.com/link2.htm"
alt="top left">
<area shape="rect" coords="0,50,49,99" href="www.mydomain.com/link3.htm"
alt="top left">
<area shape="rect" coords="50,50,99,99" href="www.mydomain.com/link4.htm"
alt="top left">
</map>
Whilst the calling template would use the code:
^include(Map1)
These Image Map source notes can be pushed away in a corner of your TB file
with utility agents, prototypes, etc., so need not intrude on the main
content.
Does that help?
---
Regards
Mark Anderson
Tinderbox wiki gardener
Tinderbox Wiki: http://www.eastgate.com/wiki2/wiki.cgi?TinderboxWiki
aTbRef: http://www.acrobatfaq.com/tbx/index.html
Received on Thu Apr 20 13:29:43 2006
This archive was generated by hypermail 2.1.8 : Mon Jun 19 2006 - 13:29:08 EDT