How can I open up a CSIM link in a graph in a separate window?
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 does it mean in the Troubleshooting Summary window when part of the graph is mud, yet it is surrounded on either side by what appears to be valid, plotted information?
- Shouldn the PDF form open in my browser window? When I click to open a PDF form, why does the PDF form open in a separate Adobe Acrobat window?
- What does it mean by "make any link added into frames open out into the top most window?