Sign in to follow this  
Followers 0
tomdrake

Clicking button on website

2 posts in this topic

I've started the following code to open up a website and click a button within a frame and that's working fine. The problem is that next it opens a little popup window with 5 choices where I need to click the fifth... either the "savecsv.gif" or text is "Export CSV". I've pasted the source of the Toolbar frame and am hoping that someone could please tell me what to do next, is this popup javascript? How can I click it? I'm currently using a script that includes MouseClick to click the File and the export buttons but I am hoping to change this as I can only use it on my computer due to different settings (taskbar autohide, resolution) on other people's computers.

Thanks in advance guys!

#include <IE.au3>

$oIE = _IECreate()
_IENavigate($oIE, "ADDRESSREMOVED")

$oFrame = _IEFrameGetObjByName($oIE, "Toolbar")
_IEClickImg($oFrame, "File", "alt")

<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Sales_Salaries_and_Budgets_Analysis - Cognos PowerPlay Web Explorer</title><script type="text/javascript">
                  var topparent = parent;
                  var pdfTarget = "topparent.getXtabFrame()";
            </script><script type="text/javascript" src="../ppwb/encodingutil.js"></script><script type="text/javascript" src="../ppwb/ContextMenu.js"></script><script type="text/javascript" src="../ppwb/ppwbcustom.js"></script><script type="text/javascript" src="../ppwb/toolbarvars.js"></script><script type="text/javascript" src="../ppwb/ppwbpdfpagesettings.js"></script><script type="text/javascript" src="../ppwb/toolbar.js"></script><script type="text/javascript">
                topparent.setGlobal("language_css","../ppwb/styles_en.css");
                topparent.setGlobal("virtualDirRoot", "/cognos");   
                topparent.setGlobal("iconPath", topparent.getGlobal("virtualDirRoot") + "/ppwb/Icon20/");
                topparent.setGlobal("helpurl", "../help/html/ppwb/en/pwr_ppweb_hlp_mn.html");
                toolbarPopup = true;
            </script><script type="text/javascript">
                InitializeToolbar();


                gToolbarImg[0][0].src="../ppwb/Icon24/xtab.gif"; gToolbarImg[0][1].src="../ppwb/Icon24/xtab_r.gif"; gToolbarImg[0][2].src="../ppwb/Icon24/xtab_d.gif"; gToolbarImg[0][3].src="../ppwb/Icon24/xtab_dr.gif"; gToolbarImg[0][4].src="../ppwb/Icon24/xtab_no.gif"; iconhelp1[0]=CEncodingUtil.ForceUnescape("Changes to crosstab display."); iconName[0]="xtab"; iconState[0]="0"; iconPress[0]="0"; iconUnpress[0]="0"; iconAction[0]="doit('OY:0')"; gToolbarImg[1][0].src="../ppwb/Icon24/arrow.gif"; gToolbarImg[1][1].src="../ppwb/Icon24/arrow_r.gif"; gToolbarImg[1][2].src="../ppwb/Icon24/arrow_d.gif"; gToolbarImg[1][3].src="../ppwb/Icon24/arrow_dr.gif"; gToolbarImg[1][4].src="../ppwb/Icon24/arrow_no.gif"; iconhelp1[1]=CEncodingUtil.ForceUnescape("Changes to crosstab display."); iconName[1]="xtabarrow"; iconState[1]="0"; iconPress[1]="0"; iconUnpress[1]="0"; iconAction[1]="doMenu(0,2)"; gToolbarImg[2][0].src="../ppwb/Icon24/bar.gif"; gToolbarImg[2][1].src="../ppwb/Icon24/bar_r.gif"; gToolbarImg[2][2].src="../ppwb/Icon24/bar_d.gif"; gToolbarImg[2][3].src="../ppwb/Icon24/bar_dr.gif"; gToolbarImg[2][4].src="../ppwb/Icon24/bar_no.gif"; iconhelp1[2]=CEncodingUtil.ForceUnescape("Changes to chart display."); iconName[2]="chart"; iconState[2]="0"; iconPress[2]="0"; iconUnpress[2]="0"; iconAction[2]="doit('OY:2')"; gToolbarImg[3][0].src="../ppwb/Icon24/arrow.gif"; gToolbarImg[3][1].src="../ppwb/Icon24/arrow_r.gif"; gToolbarImg[3][2].src="../ppwb/Icon24/arrow_d.gif"; gToolbarImg[3][3].src="../ppwb/Icon24/arrow_dr.gif"; gToolbarImg[3][4].src="../ppwb/Icon24/arrow_no.gif"; iconhelp1[3]=CEncodingUtil.ForceUnescape("Changes to chart display."); iconName[3]="chatarrow"; iconState[3]="0"; iconPress[3]="0"; iconUnpress[3]="0"; iconAction[3]="doMenu(2,6)"; gToolbarImg[4][0].src="../ppwb/Icon24/split_view.gif"; gToolbarImg[4][1].src="../ppwb/Icon24/split_view_r.gif"; gToolbarImg[4][2].src="../ppwb/Icon24/split_view_d.gif"; gToolbarImg[4][3].src="../ppwb/Icon24/split_view_dr.gif"; gToolbarImg[4][4].src="../ppwb/Icon24/split_view_no.gif"; iconhelp1[4]=CEncodingUtil.ForceUnescape("Applies Split View"); iconhelp2[4]=CEncodingUtil.ForceUnescape("Removes Split View"); iconName[4]="splitview"; iconState[4]="0"; iconPress[4]="2"; iconUnpress[4]="2"; iconAction[4]="doit('OSD')"; gToolbarImg[5][0].src="../ppwb/Icon24/display_options.gif"; gToolbarImg[5][1].src="../ppwb/Icon24/display_options_r.gif"; gToolbarImg[5][2].src="../ppwb/Icon24/display_options_d.gif"; gToolbarImg[5][3].src="../ppwb/Icon24/display_options_dr.gif"; gToolbarImg[5][4].src="../ppwb/Icon24/display_options_no.gif"; iconhelp1[5]=CEncodingUtil.ForceUnescape("Specify chart display options."); iconhelp2[5]=CEncodingUtil.ForceUnescape("Closes the chart display options window."); iconName[5]="displayoption"; iconState[5]="0"; iconPress[5]="3"; iconUnpress[5]="3"; iconAction[5]="doit('MT')"; gToolbarImg[6][0].src="../ppwb/Icon24/calculation.gif"; gToolbarImg[6][1].src="../ppwb/Icon24/calculation_r.gif"; gToolbarImg[6][2].src="../ppwb/Icon24/calculation_d.gif"; gToolbarImg[6][3].src="../ppwb/Icon24/calculation_dr.gif"; gToolbarImg[6][4].src="../ppwb/Icon24/calculation_no.gif"; iconhelp1[6]=CEncodingUtil.ForceUnescape("Opens the calculation window."); iconhelp2[6]=CEncodingUtil.ForceUnescape("Closes the calculation window."); iconName[6]="calculation"; iconState[6]="0"; iconPress[6]="4"; iconUnpress[6]="4"; iconAction[6]="doit('MC')"; gToolbarImg[7][0].src="../ppwb/Icon24/hide_show.gif"; gToolbarImg[7][1].src="../ppwb/Icon24/hide_show_r.gif"; gToolbarImg[7][2].src="../ppwb/Icon24/hide_show_d.gif"; gToolbarImg[7][3].src="../ppwb/Icon24/hide_show_dr.gif"; gToolbarImg[7][4].src="../ppwb/Icon24/hide_show_no.gif"; iconhelp1[7]=CEncodingUtil.ForceUnescape("Opens the hide\/show window."); iconhelp2[7]=CEncodingUtil.ForceUnescape("Closes the hide\/show window."); iconName[7]="hideshow"; iconState[7]="0"; iconPress[7]="5"; iconUnpress[7]="5"; iconAction[7]="doit('MQ')"; gToolbarImg[8][0].src="../ppwb/Icon24/swap.gif"; gToolbarImg[8][1].src="../ppwb/Icon24/swap_r.gif"; gToolbarImg[8][2].src="../ppwb/Icon24/swap_d.gif"; gToolbarImg[8][3].src="../ppwb/Icon24/swap_dr.gif"; gToolbarImg[8][4].src="../ppwb/Icon24/swap_no.gif"; iconhelp1[8]=CEncodingUtil.ForceUnescape("Swaps rows and columns."); iconName[8]="swap"; iconState[8]="0"; iconPress[8]="0"; iconUnpress[8]="0"; iconAction[8]="doit('EX')"; gToolbarImg[9][0].src="../ppwb/Icon24/zero.gif"; gToolbarImg[9][1].src="../ppwb/Icon24/zero_r.gif"; gToolbarImg[9][2].src="../ppwb/Icon24/zero_d.gif"; gToolbarImg[9][3].src="../ppwb/Icon24/zero_dr.gif"; gToolbarImg[9][4].src="../ppwb/Icon24/zero_no.gif"; iconhelp1[9]=CEncodingUtil.ForceUnescape("Applies zero suppression."); iconhelp2[9]=CEncodingUtil.ForceUnescape("Removes zero suppression."); iconName[9]="zero"; iconState[9]="1"; iconPress[9]="6"; iconUnpress[9]="6"; iconAction[9]="doit('OZ:1')"; gToolbarImg[10][0].src="../ppwb/Icon24/f8020.gif"; gToolbarImg[10][1].src="../ppwb/Icon24/f8020_r.gif"; gToolbarImg[10][2].src="../ppwb/Icon24/f8020_d.gif"; gToolbarImg[10][3].src="../ppwb/Icon24/f8020_dr.gif"; gToolbarImg[10][4].src="../ppwb/Icon24/f8020_no.gif"; iconhelp1[10]=CEncodingUtil.ForceUnescape("Applies 80\/20 suppression."); iconhelp2[10]=CEncodingUtil.ForceUnescape("Removes 80\/20 suppression."); iconName[10]="f8020"; iconState[10]="0"; iconPress[10]="7"; iconUnpress[10]="7"; iconAction[10]="doit('OZ:2')"; gToolbarImg[11][0].src="../ppwb/Icon24/except.gif"; gToolbarImg[11][1].src="../ppwb/Icon24/except_r.gif"; gToolbarImg[11][2].src="../ppwb/Icon24/except_d.gif"; gToolbarImg[11][3].src="../ppwb/Icon24/except_dr.gif"; gToolbarImg[11][4].src="../ppwb/Icon24/except_no.gif"; iconhelp1[11]=CEncodingUtil.ForceUnescape("Applies automatic exception highlighting."); iconhelp2[11]=CEncodingUtil.ForceUnescape("Removes automatic exception highlighting."); iconName[11]="except"; iconState[11]="0"; iconPress[11]="8"; iconUnpress[11]="8"; iconAction[11]="doit('OEX')"; gToolbarImg[12][0].src="../ppwb/Icon24/customex.gif"; gToolbarImg[12][1].src="../ppwb/Icon24/customex_r.gif"; gToolbarImg[12][2].src="../ppwb/Icon24/customex_d.gif"; gToolbarImg[12][3].src="../ppwb/Icon24/customex_dr.gif"; gToolbarImg[12][4].src="../ppwb/Icon24/customex_no.gif"; iconhelp1[12]=CEncodingUtil.ForceUnescape("Opens the custom exceptions window."); iconhelp2[12]=CEncodingUtil.ForceUnescape("Closes the custom exceptions window."); iconName[12]="customexception"; iconState[12]="0"; iconPress[12]="9"; iconUnpress[12]="9"; iconAction[12]="doit('MX')"; gToolbarImg[13][0].src="../ppwb/Icon24/bookmark.gif"; gToolbarImg[13][1].src="../ppwb/Icon24/bookmark_r.gif"; gToolbarImg[13][2].src="../ppwb/Icon24/bookmark_d.gif"; gToolbarImg[13][3].src="../ppwb/Icon24/bookmark_dr.gif"; gToolbarImg[13][4].src="../ppwb/Icon24/bookmark_no.gif"; iconhelp1[13]=CEncodingUtil.ForceUnescape("Prepares a bookmark."); iconhelp2[13]=CEncodingUtil.ForceUnescape("Prepares a bookmark."); iconName[13]="bookmark"; iconState[13]="0"; iconPress[13]="0"; iconUnpress[13]="0"; iconAction[13]="ra(7)"; gToolbarImg[14][0].src="../ppwb/Icon24/alert.gif"; gToolbarImg[14][1].src="../ppwb/Icon24/alert_r.gif"; gToolbarImg[14][2].src="../ppwb/Icon24/alert_d.gif"; gToolbarImg[14][3].src="../ppwb/Icon24/alert_dr.gif"; gToolbarImg[14][4].src="../ppwb/Icon24/alert_no.gif"; iconhelp1[14]=CEncodingUtil.ForceUnescape("Opens the agent window."); iconhelp2[14]=CEncodingUtil.ForceUnescape("Closes the agent window."); iconName[14]="alert"; iconState[14]="2"; iconPress[14]="10"; iconUnpress[14]="10"; iconAction[14]="doit('MA')"; gToolbarImg[15][0].src="../ppwb/Icon24/explain.gif"; gToolbarImg[15][1].src="../ppwb/Icon24/explain_r.gif"; gToolbarImg[15][2].src="../ppwb/Icon24/explain_d.gif"; gToolbarImg[15][3].src="../ppwb/Icon24/explain_dr.gif"; gToolbarImg[15][4].src="../ppwb/Icon24/explain_no.gif"; iconhelp1[15]=CEncodingUtil.ForceUnescape("Provides explanations about this report."); iconhelp2[15]=CEncodingUtil.ForceUnescape("Closes the explanation window."); iconName[15]="explain"; iconState[15]="0"; iconPress[15]="11"; iconUnpress[15]="11"; iconAction[15]="doit('ME')"; gToolbarImg[16][0].src="../ppwb/Icon24/find.gif"; gToolbarImg[16][1].src="../ppwb/Icon24/find_r.gif"; gToolbarImg[16][2].src="../ppwb/Icon24/find_d.gif"; gToolbarImg[16][3].src="../ppwb/Icon24/find_dr.gif"; gToolbarImg[16][4].src="../ppwb/Icon24/find_no.gif"; iconhelp1[16]=CEncodingUtil.ForceUnescape("Finds categories in this report."); iconhelp2[16]=CEncodingUtil.ForceUnescape("Closes the find window."); iconName[16]="find"; iconState[16]="0"; iconPress[16]="12"; iconUnpress[16]="12"; iconAction[16]="doit('MF')"; gToolbarImg[17][0].src="../ppwb/Icon24/drillthru.gif"; gToolbarImg[17][1].src="../ppwb/Icon24/drillthru_r.gif"; gToolbarImg[17][2].src="../ppwb/Icon24/drillthru_d.gif"; gToolbarImg[17][3].src="../ppwb/Icon24/drillthru_dr.gif"; gToolbarImg[17][4].src="../ppwb/Icon24/drillthru_no.gif"; iconhelp1[17]=CEncodingUtil.ForceUnescape("Drills through to another report."); iconhelp2[17]=CEncodingUtil.ForceUnescape("Drills through to another report."); iconName[17]="drillthrough"; iconState[17]="2"; iconPress[17]="0"; iconUnpress[17]="0"; iconAction[17]="ra(4)"; gToolbarImg[18][0].src="../ppwb/Icon24/help.gif"; gToolbarImg[18][1].src="../ppwb/Icon24/help_r.gif"; gToolbarImg[18][2].src="../ppwb/Icon24/help_d.gif"; gToolbarImg[18][3].src="../ppwb/Icon24/help_dr.gif"; gToolbarImg[18][4].src="../ppwb/Icon24/help_no.gif"; iconhelp1[18]=CEncodingUtil.ForceUnescape("Opens the Help window."); iconhelp2[18]=CEncodingUtil.ForceUnescape("Opens the Help window."); iconName[18]="help"; iconState[18]="0"; iconPress[18]="0"; iconUnpress[18]="0"; iconAction[18]="hp()"; gToolbarImg[19][0].src="../ppwb/Icon24/file.gif"; gToolbarImg[19][1].src="../ppwb/Icon24/file_r.gif"; gToolbarImg[19][2].src="../ppwb/Icon24/file_d.gif"; gToolbarImg[19][3].src="../ppwb/Icon24/file_dr.gif"; gToolbarImg[19][4].src="../ppwb/Icon24/file_no.gif"; iconhelp1[19]=CEncodingUtil.ForceUnescape("Selects from file options."); iconName[19]="file"; iconState[19]="0"; iconPress[19]="0"; iconUnpress[19]="0"; iconAction[19]="doMenu(8,5)"; gToolbarImg[20][0].src="../ppwb/Icon24/arrow.gif"; gToolbarImg[20][1].src="../ppwb/Icon24/arrow_r.gif"; gToolbarImg[20][2].src="../ppwb/Icon24/arrow_d.gif"; gToolbarImg[20][3].src="../ppwb/Icon24/arrow_dr.gif"; gToolbarImg[20][4].src="../ppwb/Icon24/arrow_no.gif"; iconhelp1[20]=CEncodingUtil.ForceUnescape("Selects from file options."); iconName[20]="filearrow"; iconState[20]="0"; iconPress[20]="0"; iconUnpress[20]="0"; iconAction[20]="doMenu(8,5)"; gToolbarImg[21][0].src="../ppwb/Icon24/save.gif"; gToolbarImg[21][1].src="../ppwb/Icon24/save_r.gif"; gToolbarImg[21][2].src="../ppwb/Icon24/save_d.gif"; gToolbarImg[21][3].src="../ppwb/Icon24/save_dr.gif"; gToolbarImg[21][4].src="../ppwb/Icon24/save_no.gif"; iconhelp1[21]=CEncodingUtil.ForceUnescape("Replaces this report in Upfront."); iconName[21]="save"; iconState[21]="0"; iconPress[21]="0"; iconUnpress[21]="0"; iconAction[21]="doit('RU:1')"; gToolbarImg[22][0].src="../ppwb/Icon24/saveas.gif"; gToolbarImg[22][1].src="../ppwb/Icon24/saveas_r.gif"; gToolbarImg[22][2].src="../ppwb/Icon24/saveas_d.gif"; gToolbarImg[22][3].src="../ppwb/Icon24/saveas_dr.gif"; gToolbarImg[22][4].src="../ppwb/Icon24/saveas_no.gif"; iconhelp1[22]=CEncodingUtil.ForceUnescape("Places this report into Upfront."); iconName[22]="saveas"; iconState[22]="0"; iconPress[22]="0"; iconUnpress[22]="0"; iconAction[22]="doParent('RU:0')"; gToolbarImg[23][0].src="../ppwb/Icon24/return.gif"; gToolbarImg[23][1].src="../ppwb/Icon24/return_r.gif"; gToolbarImg[23][2].src="../ppwb/Icon24/return_d.gif"; gToolbarImg[23][3].src="../ppwb/Icon24/return_dr.gif"; gToolbarImg[23][4].src="../ppwb/Icon24/return_no.gif"; iconhelp1[23]=CEncodingUtil.ForceUnescape("Returns to the source page."); iconName[23]="return"; iconState[23]="2"; iconPress[23]="0"; iconUnpress[23]="0"; iconAction[23]="ret()"; gToolbarImg[24][0].src="../ppwb/Icon24/custom1.gif"; gToolbarImg[24][1].src="../ppwb/Icon24/custom1_r.gif"; gToolbarImg[24][2].src="../ppwb/Icon24/custom1_d.gif"; iconhelp1[24]=CEncodingUtil.ForceUnescape("Custom button 1."); iconhelp2[24]=CEncodingUtil.ForceUnescape("The custom button 1 is disabled."); iconName[24]="custom1"; iconState[24]="-1"; iconPress[24]="0"; iconUnpress[24]="0"; iconAction[24]="custom1()"; gToolbarImg[25][0].src="../ppwb/Icon24/custom2.gif"; gToolbarImg[25][1].src="../ppwb/Icon24/custom2_r.gif"; gToolbarImg[25][2].src="../ppwb/Icon24/custom2_d.gif"; iconhelp1[25]=CEncodingUtil.ForceUnescape("Custom button 2."); iconhelp2[25]=CEncodingUtil.ForceUnescape("The custom button 2 is disabled."); iconName[25]="custom2"; iconState[25]="-1"; iconPress[25]="0"; iconUnpress[25]="0"; iconAction[25]="custom2()"; gToolbarImg[26][0].src="../ppwb/Icon24/custom3.gif"; gToolbarImg[26][1].src="../ppwb/Icon24/custom3_r.gif"; gToolbarImg[26][2].src="../ppwb/Icon24/custom3_d.gif"; iconhelp1[26]=CEncodingUtil.ForceUnescape("Custom button 3."); iconhelp2[26]=CEncodingUtil.ForceUnescape("The custom button 3 is disabled."); iconName[26]="custom3"; iconState[26]="-1"; iconPress[26]="0"; iconUnpress[26]="0"; iconAction[26]="custom3()"; gToolbarImg[27][0].src="../ppwb/Icon24/custom4.gif"; gToolbarImg[27][1].src="../ppwb/Icon24/custom4_r.gif"; gToolbarImg[27][2].src="../ppwb/Icon24/custom4_d.gif"; iconhelp1[27]=CEncodingUtil.ForceUnescape("Custom button 4."); iconhelp2[27]=CEncodingUtil.ForceUnescape("The custom button 4 is disabled."); iconName[27]="custom4"; iconState[27]="-1"; iconPress[27]="0"; iconUnpress[27]="0"; iconAction[27]="custom4()"; gToolbarImg[28][0].src="../ppwb/Icon24/custom5.gif"; gToolbarImg[28][1].src="../ppwb/Icon24/custom5_r.gif"; gToolbarImg[28][2].src="../ppwb/Icon24/custom5_d.gif"; iconhelp1[28]=CEncodingUtil.ForceUnescape("Custom button 5."); iconhelp2[28]=CEncodingUtil.ForceUnescape("The custom button 5 is disabled."); iconName[28]="custom5"; iconState[28]="-1"; iconPress[28]="0"; iconUnpress[28]="0"; iconAction[28]="custom5()"; gToolbarImg[29][0].src="../ppwb/Icon24/custom6.gif"; gToolbarImg[29][1].src="../ppwb/Icon24/custom6_r.gif"; gToolbarImg[29][2].src="../ppwb/Icon24/custom6_d.gif"; iconhelp1[29]=CEncodingUtil.ForceUnescape("Custom button 6."); iconhelp2[29]=CEncodingUtil.ForceUnescape("The custom button 6 is disabled."); iconName[29]="custom6"; iconState[29]="-1"; iconPress[29]="0"; iconUnpress[29]="0"; iconAction[29]="custom6()"; gToolbarImg[30][0].src="../ppwb/Icon24/custom7.gif"; gToolbarImg[30][1].src="../ppwb/Icon24/custom7_r.gif"; gToolbarImg[30][2].src="../ppwb/Icon24/custom7_d.gif"; iconhelp1[30]=CEncodingUtil.ForceUnescape("Custom button 7."); iconhelp2[30]=CEncodingUtil.ForceUnescape("The custom button 7 is disabled."); iconName[30]="custom7"; iconState[30]="-1"; iconPress[30]="0"; iconUnpress[30]="0"; iconAction[30]="custom7()"; gToolbarImg[31][0].src="../ppwb/Icon24/custom8.gif"; gToolbarImg[31][1].src="../ppwb/Icon24/custom8_r.gif"; gToolbarImg[31][2].src="../ppwb/Icon24/custom8_d.gif"; iconhelp1[31]=CEncodingUtil.ForceUnescape("Custom button 8."); iconhelp2[31]=CEncodingUtil.ForceUnescape("The custom button 8 is disabled."); iconName[31]="custom8"; iconState[31]="-1"; iconPress[31]="0"; iconUnpress[31]="0"; iconAction[31]="custom8()"; menuName[0]="xtab"; menuName[1]="chart"; menuName[2]="drillthrough"; menuItemName[0]="xtab"; menuItemLabel[0]=CEncodingUtil.ForceUnescape("Crosstab"); menuItemAction[0]="doit('OY:0')"; menuItemIcon[0]="xtab.gif"; menuItemState[0]="1"; menuItemHelp[0]=CEncodingUtil.ForceUnescape("Changes to crosstab display."); menuItemName[1]="ftab"; menuItemLabel[1]=CEncodingUtil.ForceUnescape("Indented Crosstab"); menuItemAction[1]="doit('OY:9')"; menuItemIcon[1]="ftab.gif"; menuItemState[1]="1"; menuItemHelp[1]=CEncodingUtil.ForceUnescape("Changes to indented crosstab display."); menuItemName[2]="bar"; menuItemLabel[2]=CEncodingUtil.ForceUnescape("Simple Bar"); menuItemAction[2]="doit('OY:2')"; menuItemIcon[2]="bar.gif"; menuItemState[2]="1"; menuItemHelp[2]=CEncodingUtil.ForceUnescape("Changes to simple bar display."); menuItemName[3]="pie"; menuItemLabel[3]=CEncodingUtil.ForceUnescape("Pie"); menuItemAction[3]="doit('OY:1')"; menuItemIcon[3]="pie.gif"; menuItemState[3]="1"; menuItemHelp[3]=CEncodingUtil.ForceUnescape("Changes to pie display."); menuItemName[4]="cluster"; menuItemLabel[4]=CEncodingUtil.ForceUnescape("Clustered Bar"); menuItemAction[4]="doit('OY:3')"; menuItemIcon[4]="cluster.gif"; menuItemState[4]="1"; menuItemHelp[4]=CEncodingUtil.ForceUnescape("Changes to clustered bar display."); menuItemName[5]="stack"; menuItemLabel[5]=CEncodingUtil.ForceUnescape("Stacked Bar"); menuItemAction[5]="doit('OY:5')"; menuItemIcon[5]="stack.gif"; menuItemState[5]="1"; menuItemHelp[5]=CEncodingUtil.ForceUnescape("Changes to stacked bar display."); menuItemName[6]="line"; menuItemLabel[6]=CEncodingUtil.ForceUnescape("Multiline"); menuItemAction[6]="doit('OY:4')"; menuItemIcon[6]="line.gif"; menuItemState[6]="1"; menuItemHelp[6]=CEncodingUtil.ForceUnescape("Changes to multiline display."); menuItemName[7]="3d"; menuItemLabel[7]=CEncodingUtil.ForceUnescape("3D Bar"); menuItemAction[7]="doit('OY:6')"; menuItemIcon[7]="3d.gif"; menuItemState[7]="1"; menuItemHelp[7]=CEncodingUtil.ForceUnescape("Changes to 3D bar display."); menuItemName[8]="reset"; menuItemLabel[8]=CEncodingUtil.ForceUnescape("Reset"); menuItemAction[8]="doReset()"; menuItemIcon[8]="reset.gif"; menuItemState[8]="1"; menuItemHelp[8]=CEncodingUtil.ForceUnescape("Resets the crosstab"); menuItemName[9]="getdata"; menuItemLabel[9]=CEncodingUtil.ForceUnescape("Get Data Later"); menuItemAction[9]="doit('OGD')"; menuItemIcon[9]="data_later.gif"; menuItemState[9]="1"; menuItemHelp[9]=CEncodingUtil.ForceUnescape("Sets the crosstab to obtain the data later"); menuItemName[10]="pdf_options"; menuItemLabel[10]=CEncodingUtil.ForceUnescape("Export PDF..."); menuItemAction[10]="doit('MP')"; menuItemIcon[10]="pdf_options.gif"; menuItemState[10]="1"; menuItemHelp[10]=CEncodingUtil.ForceUnescape("Specify PDF Export Options."); menuItemName[11]="savepdf"; menuItemLabel[11]=CEncodingUtil.ForceUnescape("Export PDF"); menuItemAction[11]="ra(2)"; menuItemIcon[11]="savepdf.gif"; menuItemState[11]="1"; menuItemHelp[11]=CEncodingUtil.ForceUnescape("Exports in printable (.pdf) format."); menuItemName[12]="savecsv"; menuItemLabel[12]=CEncodingUtil.ForceUnescape("Export CSV"); menuItemAction[12]="ra(1)"; menuItemIcon[12]="savecsv.gif"; menuItemState[12]="1"; menuItemHelp[12]=CEncodingUtil.ForceUnescape("Exports in .CSV format."); menuGetDataLabel[0]=CEncodingUtil.ForceUnescape("Get Data"); menuGetDataIcon[0]="data_now.gif"; </script></head><body BGCOLOR="#CCCCCC" BACKGROUND="../ppwb/Images/gray_bkg.gif" CLASS="ToolBar" ondblclick="return false;" onselectstart="window.event.returnValue = false;" onload="topparent.ToolbarFinished();" onunload="topparent.ToolbarUnload();" ondragstart="window.event.returnValue = false;" onclick="topparent.executeCrossFrameFunction( 'hidePopupMenu', window.name, true);" oncontextmenu="topparent.executeCrossFrameFunction( 'hidePopupMenu', window.name, true);"><A NAME="top"></A><form NAME="ftoolbar" ACTION=""><table cellpadding="0" cellspacing="0" width="100%"><tr VALIGN="middle" ALIGN="left"><td nowrap="1"><a name="tbButton_xtab" class="toolbar" onmouseover="window.status='';return doOver(0, 1);" onmouseout="window.status='';return doOver(0, 0);"><img name="xtab" alt="Crosstab" border="0" height="24" src="../ppwb/Icon24/xtab.gif" width="24" onclick="return doClick(0)"></a><a name="tbButton_xtabarrow" class="toolbar" onmouseover="window.status='';return doOver(1, 1);" onmouseout="window.status='';return doOver(1, 0);"><img name="xtabarrow" alt="Crosstab" border="0" height="24" src="../ppwb/Icon24/arrow.gif" width="10" onclick="return doClick(1)"></a><a name="tbButton_chart" class="toolbar" onmouseover="window.status='';return doOver(2, 1);" onmouseout="window.status='';return doOver(2, 0);"><img name="chart" alt="Chart" border="0" height="24" src="../ppwb/Icon24/bar.gif" width="24" onclick="return doClick(2)"></a><a name="tbButton_chatarrow" class="toolbar" onmouseover="window.status='';return doOver(3, 1);" onmouseout="window.status='';return doOver(3, 0);"><img name="chatarrow" alt="Chart" border="0" height="24" src="../ppwb/Icon24/arrow.gif" width="10" onclick="return doClick(3)"></a><a name="tbButton_splitview" class="toolbar" onmouseover="window.status='';return doOver(4, 1);" onmouseout="window.status='';return doOver(4, 0);"><img name="splitview" alt="Split View" border="0" height="24" src="../ppwb/Icon24/split_view.gif" width="24" onclick="return doClick(4)"></a><a name="tbButton_displayoption" class="toolbar" onmouseover="window.status='';return doOver(5, 1);" onmouseout="window.status='';return doOver(5, 0);"><img name="displayoption" alt="Display Options" border="0" height="24" src="../ppwb/Icon24/display_options.gif" width="24" onclick="return doClick(5)"></a><a name="sep"><img name="sep" src="../ppwb/Icon24/sep.gif" alt="" border="0" height="24" width="5"></a><a name="tbButton_calculation" class="toolbar" onmouseover="window.status='';return doOver(6, 1);" onmouseout="window.status='';return doOver(6, 0);"><img name="calculation" alt="Calculation" border="0" height="24" src="../ppwb/Icon24/calculation.gif" width="24" onclick="return doClick(6)"></a><a name="tbButton_hideshow" class="toolbar" onmouseover="window.status='';return doOver(7, 1);" onmouseout="window.status='';return doOver(7, 0);"><img name="hideshow" alt="Hide/Show" border="0" height="24" src="../ppwb/Icon24/hide_show.gif" width="24" onclick="return doClick(7)"></a><a name="tbButton_swap" class="toolbar" onmouseover="window.status='';return doOver(8, 1);" onmouseout="window.status='';return doOver(8, 0);"><img name="swap" alt="Swap" border="0" height="24" src="../ppwb/Icon24/swap.gif" width="24" onclick="return doClick(8)"></a><a name="sep"><img name="sep" src="../ppwb/Icon24/sep.gif" alt="" border="0" height="24" width="5"></a><a name="tbButton_zero" class="toolbar" onmouseover="window.status='';return doOver(9, 1);" onmouseout="window.status='';return doOver(9, 0);"><img name="zero" alt="Zero Suppression" border="0" height="24" src="../ppwb/Icon24/zero.gif" width="24" onclick="return doClick(9)"></a><a name="tbButton_f8020" class="toolbar" onmouseover="window.status='';return doOver(10, 1);" onmouseout="window.status='';return doOver(10, 0);"><img name="f8020" alt="80/20 Suppression" border="0" height="24" src="../ppwb/Icon24/f8020.gif" width="24" onclick="return doClick(10)"></a><a name="tbButton_except" class="toolbar" onmouseover="window.status='';return doOver(11, 1);" onmouseout="window.status='';return doOver(11, 0);"><img name="except" alt="Automatic Exception Highlighting" border="0" height="24" src="../ppwb/Icon24/except.gif" width="24" onclick="return doClick(11)"></a><a name="tbButton_customexception" class="toolbar" onmouseover="window.status='';return doOver(12, 1);" onmouseout="window.status='';return doOver(12, 0);"><img name="customexception" alt="Custom Exception Highlighting" border="0" height="24" src="../ppwb/Icon24/customex.gif" width="24" onclick="return doClick(12)"></a><a name="sep"><img name="sep" src="../ppwb/Icon24/sep.gif" alt="" border="0" height="24" width="5"></a><a name="tbButton_bookmark" class="toolbar" onmouseover="window.status='';return doOver(13, 1);" onmouseout="window.status='';return doOver(13, 0);"><img name="bookmark" alt="Prepare Bookmark" border="0" height="24" src="../ppwb/Icon24/bookmark.gif" width="24" onclick="return doClick(13)"></a><a name="tbButton_alert" class="toolbar" onmouseover="window.status='';return doOver(14, 1);" onmouseout="window.status='';return doOver(14, 0);"><img name="alert" alt="Agent" border="0" height="24" src="../ppwb/Icon24/alert_no.gif" width="24" onclick="return doClick(14)"></a><a name="tbButton_explain" class="toolbar" onmouseover="window.status='';return doOver(15, 1);" onmouseout="window.status='';return doOver(15, 0);"><img name="explain" alt="Explain" border="0" height="24" src="../ppwb/Icon24/explain.gif" width="24" onclick="return doClick(15)"></a><a name="tbButton_find" class="toolbar" onmouseover="window.status='';return doOver(16, 1);" onmouseout="window.status='';return doOver(16, 0);"><img name="find" alt="Find" border="0" height="24" src="../ppwb/Icon24/find.gif" width="24" onclick="return doClick(16)"></a><a name="tbButton_drillthrough" class="toolbar" onmouseover="window.status='';return doOver(17, 1);" onmouseout="window.status='';return doOver(17, 0);"><img name="drillthrough" alt="Drill Through" border="0" height="24" src="../ppwb/Icon24/drillthru_no.gif" width="24" onclick="return doClick(17)"></a><a name="tbButton_help" class="toolbar" onmouseover="window.status='';return doOver(18, 1);" onmouseout="window.status='';return doOver(18, 0);"><img name="help" alt="Help" border="0" height="24" src="../ppwb/Icon24/help.gif" width="24" onclick="return doClick(18)"></a><a name="sep"><img name="sep" src="../ppwb/Icon24/sep.gif" alt="" border="0" height="24" width="5"></a><a name="tbButton_file" class="toolbar" onmouseover="window.status='';return doOver(19, 1);" onmouseout="window.status='';return doOver(19, 0);"><img name="file" alt="File" border="0" height="24" src="../ppwb/Icon24/file.gif" width="24" onclick="return doClick(19)"></a><a name="tbButton_filearrow" class="toolbar" onmouseover="window.status='';return doOver(20, 1);" onmouseout="window.status='';return doOver(20, 0);"><img name="filearrow" alt="File" border="0" height="24" src="../ppwb/Icon24/arrow.gif" width="10" onclick="return doClick(20)"></a></td><td nowrap="1"></td><td nowrap="1" align="right"><a name="tbButton_save" class="toolbar" onmouseover="window.status='';return doOver(21, 1);" onmouseout="window.status='';return doOver(21, 0);"><img name="save" alt="Save" border="0" height="24" width="24" src="../ppwb/Icon24/save.gif" onclick="return doClick(21)"></a><a name="tbButton_saveas" class="toolbar" onmouseover="window.status='';return doOver(22, 1);" onmouseout="window.status='';return doOver(22, 0);"><img name="saveas" alt="Save As" border="0" height="24" width="24" src="../ppwb/Icon24/saveas.gif" onclick="return doClick(22)"></a><a name="tbButton_return" class="toolbar" onmouseover="window.status='';return doOver(23, 1);" onmouseout="window.status='';return doOver(23, 0);"><img name="return" alt="Return to Source" border="0" height="24" width="24" src="../ppwb/Icon24/return_no.gif" onclick="return doClick(23)"></a></td></tr></table></form><FORM style="display: none;" name="pqr" ACTION="" METHOD="POST" TARGET="_parent"></FORM></body></html>

Share this post


Link to post
Share on other sites



Any clue? Just need someone who understands this html better than I do. Got the first click but I a little lost after that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0