User (Legacy) Posted August 6, 2002 Report Share Posted August 6, 2002 Hi there, Does anybody know a way of running some javascript when you double click on an annotation object that has been added server side ? Thanks, Miles Link to comment Share on other sites More sharing options...
Software FX Posted August 7, 2002 Report Share Posted August 7, 2002 You can not do it from the server as the annotation object is not visible to the browser. It would be visible only if you added an <OBJECT> tag to create the annotation object and then a script to add it to the chart. If an <OBJECT> tag is assigned, then you can capture events but there will be no way for you to link the annotation object created by the chart (not by the browser) to an event in your script. At least as far as I can tell ! However, what you can do, is to assign a URL to the annotation object, this URL can be a script function, so instead of capturing the event, you let the annotation object call the script function directly. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.