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 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? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/call-javascript-window-open-inside-a-tooltip-tp5214817p5215227.html Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
