in fact, you can put javascript anywhere.
according to this page
http://themapguyde.blogspot.com/2009/07/expressive-power-of-mapguide-tooltips.html
a tooltip is only another <div> tag, so i would be able to inject javascript code in the old fashion like this (actual tooltip in the layer definition):
"javascript:window.open('index.html',null,'menubar=no');"
this javascript is used in a onclick property on a image whithin the toooltip (i can't post the code because i dont know how to insert html code here).
if i use, lets say, a alert
like: javascript:alert("hello");
if works fine, but in the code provided above it, it simply throws an error.
i tried escaping the text (\'') to no avail.
maybe should i specify this javascript inside the fusion index.html itself?
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/call-javascript-window-open-inside-a-tooltip-tp5214817p5215227.html">Re: call javascript:window.open inside a tooltip</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>