Thanx for both your input, Måns & FND. My Javascript knowledge is
severely limited, so if you don't mind Måns, I'm hoping you are able
to get it right, or FND will help.
I will monitor thread and see what the progress is. Again, thank you
in advance.

On Mar 11, 10:28 pm, Måns <[email protected]> wrote:
> I still can't make it show the the text "people" (alt="people"), when
> I hover the mouse over the picture - neither does it show alt text Jon
> nor Jane when hovering over the mappoints (it does change from an
> arrow to a hand though - and the links works after having changed the
> doublequotes with singleqoutes)...
> What is the problem??
>
> YS Måns Mårtensson
>
> On Mar 11, 8:49 pm, Måns <[email protected]> wrote:
>
> > Hi
>
> > Pretty awesome to be able to make imagemaps in a TW!!
> > I encountered one problem with the html-code though:
>
> > I had to replace the quotes around (null, "Jon") and (null, "Jane")
> > with : (null, 'Jon') and (null, 'Jane') to make it work.
> > Otherwise the line:"javascript:story.displayTiddler(null, " - stops at
> > the first quote!!
>
> > YS Måns Mårtensson
>
> > On Mar 11, 3:04 pm, FND <[email protected]> wrote:
>
> > > > create a link through from a clickable area on an image to a tiddler
>
> > > TiddlyWiki itself has no special handling for this sort of thing.
> > > However, you could use raw HTML to generate image maps*, using a simple
> > > JavaScript action in the href attribute to open a tiddler:
> > >      story.displayTiddler(null, "TiddlerName");
>
> > > For example:
> > > ---------------
> > > <html>
> > > <img src="img/people.png" width="145" height="126" alt="people"
> > >      usemap="#peoplemap" />
>
> > > <map name="peoplemap">
> > >    <area shape="rect" coords="0,0,20,20"
> > >      href="javascript:story.displayTiddler(null, "Jon");"
> > >      alt="Jon" />
> > >    <area shape="rect" coords="20,20,40,40"
> > >      href="javascript:story.displayTiddler(null, "Jane");"
> > >      alt="Jane" />
> > > </map>
> > > </html>
> > > ---------------
>
> > > HTH.
>
> > > -- F.
>
> > > *http://en.wikipedia.org/wiki/Image_map
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to