Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I open up a CSIM link in a graph in a separate window?

csim Graph link separate window
0
Posted

How can I open up a CSIM link in a graph in a separate window?

0

To open a target CSIM (drill down) in a separate window some javascript in the target link is necessary since this action must be performed in the browser. The target URL needs top be in the form of an action to open up a window (with any optional URL argument that might be needed). For example, assume we have a bar graph and that theb user can click on each bar to get more details. When the user clicks on a bar we open up the detaails witha call to the helper script “bar_details.php” and send the parameter “id” to the script to separate the individual bars. We would then use the following URL link (with javascript) “javascript:window.open(‘bar_details.php?id=%d’,’_new’, ‘width=500,height=300’);void(0)” Where the ‘%d’ placeholder must be replaced by the appropriate Id for each bar. To assign the appropriate id we could use the following construct … // Create targets for the image maps so that the details are opened // in a separate window $fmtStr = “javascript:window.open(‘bar_detail

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123