Height of menubar

Is there any easy way to determine the exact height of the
menubar that
appears at the top of a projector when you use the
InstallMenu command? It
seems to be a setting in Windows, unrelated to Director. It
seems to
deafult to 20 pixels, but this isn't a guarantee. I need to
know, because
otherwise, the menubar will push the projector stage down by
that many
pixels, and it gets cut off at the bottom. I've been making
my stage 20
pixels higher than I want it to compensate, but I'm afraid
that won't work
on computers who aren't using the default menubar size
setting. Any way
around this? (Short of creating my own custom menus from
scratch, that is.
I want to keep the look consistant with the OS and I'd rather
not reinvent
the wheel if I don't have to.)

You can measure the amount of offset by comparing (the
stage).rect before & after the menu is installed.
oldRect = the stage.rect
installmenu "testMenu"
newRect = the stage.rect
stageOffset = newRect[2] - oldRect[2]
hth
johnAq

Similar Messages

  • Last row missing for every page in webreport printing

    Hi Friends,
    We are facing a challenge while printing web report.
    Lets say report output contains 500 lines and lines are divided in to 10 pages.
    Each page contains 50 rows. When exexute the Printing in webreport we are getting only first 49 rows for each page. Last 50 row is missing for each page.
    What could be the problem.
    Please help me how to fix this issue. I am not aware of this webreporting Html code.Please frineds help me how to fix this issue.
    It would be great help for me.
    Will assign the points.
    Thanks
    SAP

    Hi Friends,
    Finallay i found our custom web template which is copied from Standard web template.
    Here iam attachig my code.
    Some body look into this one please suggest me if there is any mistake.
    It would be great help for me.
    will assign the points.
    <!-- This Template is the main Template for the  Adhoc Web Application
           This Templates includes all items, except of the Conditon /Exception Item, which are included in the 0ADHOC_CONDITIONS Template
           Items: 7 different Item GRoups
    GR1 (Table) - GR1Toolbar, GRAToolbar, GR1Navblock, GR1GR5GR7Table
    GR2 (Charts) - GR2Chart
    GR3 (TextElem) - GR3TECommon, GR3TEFilter, GR3DFilter, GR3TEVariables, GR3FORQUERYDOC
    GR4 (InfoBroad) - GR4Broadcaster
    GR5 (Print) - GR5Toolbar, GRBToolbar, GR1GR5GR7Table
    GR6 (Conditions) - Condition Template
    GR7 (Export) - GR7Toolbar, GR1GR5GR7Table
           The following items are internally used:
                 TITLE: To display the Name ot the Query (as Window-Title)
                 HEADER: To display a Header-Template
                 FOOTER:  To display a Footer-Template
                 Query Name: To display the name of the Query
                 Actuality: To display the validity of the data
                GR3FORQUERYDOC: Technical name of the query for launching online Documentation
           The JavaScript in this Template will enable the following functions:
                      - Set the correct style for the actually choosen Tabstrip (function set_tab)
                      - Call the Query Online Documentation (function callquerydoc)
    -->
    <!-- Set the data provider --->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DP"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             <param name='HELP_SERVICE' value='ZPRINTING'/>
             <param name='HELP_SERVICE_CLASS' value='Z_PRINT_HELP_SERVICE'/>
             DATA_PROVIDER:             DP
    </object>
    <!-- Output area --->
    <html>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC"/>
             TEMPLATE PROPERTIES
    </object>
    <head>
    <!-- Javascript Enhancement for DHTML Dropdown Print Preview-->
    <script language=javascript>
             function callPrintPreview(poption)
                      var url = SAP_BW_URL_Get();
                          switch(poption)
                           case 1:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.75&P_HEADER_INDENT_RIGHT=0.75&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.75&P_FOOTER_INDENT_RIGHT=0.75&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.75&P_DATA_AREA_INDENT_RIGHT=0.75&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=17.78&P_PAGE_HEIGHT=24.13";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 2:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.50&P_HEADER_INDENT_RIGHT=0.50&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.50&P_FOOTER_INDENT_RIGHT=0.50&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.50&P_DATA_AREA_INDENT_RIGHT=0.50&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=19.05&P_PAGE_HEIGHT=25.40";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 3:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.25&P_HEADER_INDENT_RIGHT=0.25&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.25&P_FOOTER_INDENT_RIGHT=0.25&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.25&P_DATA_AREA_INDENT_RIGHT=0.25&P_DATA_AREA_COLUMNS=5&P_PAGE_WIDTH=20.32&P_PAGE_HEIGHT=26.67";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 4:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.75&P_HEADER_INDENT_RIGHT=0.75&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.75&P_FOOTER_INDENT_RIGHT=0.75&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.75&P_DATA_AREA_INDENT_RIGHT=0.75&P_DATA_AREA_COLUMNS=7&P_PAGE_WIDTH=24.13&P_PAGE_HEIGHT=17.78";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 5:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.50&P_HEADER_INDENT_RIGHT=0.50&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.50&P_FOOTER_INDENT_RIGHT=0.50&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.50&P_DATA_AREA_INDENT_RIGHT=0.50&P_DATA_AREA_COLUMNS=4&P_PAGE_WIDTH=25.40&P_PAGE_HEIGHT=19.05";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 6:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_STYLESHEET=/sap/bw/Mime/BEx/StyleSheets/BWReports_smallfont_print.css&P_PREVIEW_MODE=&P_HEADER_HEIGHT=1.00&P_HEADER_INDENT_LEFT=0.25&P_HEADER_INDENT_RIGHT=0.25&P_FOOTER_HEIGHT=0.75&P_FOOTER_INDENT_LEFT=0.25&P_FOOTER_INDENT_RIGHT=0.25&P_DATA_AREA_PADDING_TOP=0.00&P_DATA_AREA_INDENT_LEFT=0.25&P_DATA_AREA_INDENT_RIGHT=0.25&P_DATA_AREA_COLUMNS=4&P_PAGE_WIDTH=26.67&P_PAGE_HEIGHT=20.32";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
                           case 7:
                                  url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&DATA_PROVIDER=DP&P_PREVIEW_MODE=X";
                                window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes");
                                  break;
    </script>
    <SCRIPT LANGUAGE="JAVASCRIPT" type="text/javascript">
    <!--
    //  Global variables definitions
    var expDays = 1;
    var exp = new Date();
    exp.setTime(exp.getTime() + (expDays2460601000));
    /* Create a Random Number*/
    function rand ( n )
      return ( Math.floor ( Math.random ( ) * n + 1 ) );
    /Used to Open New Window with Status Bar & URL/
    function openWindow( URL, NAME, WIDTH1, HEIGHT1){
    NAME=NAME+rand(157)
    WindowObjectReference =  window.open(URL,NAME,"menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes,width="WIDTH1"height="+HEIGHT1);
    function PrintMyReport(typePaper) {
    /*  Assumption: Users page margins (top, bottom, left and right) are a default value of 0.75 inches */
        var Header2 = '';
        var CurrentDataProvider = 'DP' ;
    //    var mynewTitle = 'SAP BW Report';
        var mynewTitle = document.title;
        var dateout = exp;
        var CurrentReportName = '&?psize=' + escape(typePaper) + '&qtitle=' + escape(mynewTitle)  + Header2 + "&ASOFDATE=" + escape(dateout) + "&";
    /*    var openCMD="<SAP_BW_URL>&DATA_PROVIDER="CurrentDataProvider"&TEMPLATE_ID=ZPD_ADHOC_PAGE&CMD=RELEASE_DATA_PROVIDER"+CurrentReportName;*/
        var openCMD="<SAP_BW_URL>&DATA_PROVIDER="CurrentDataProvider"&TEMPLATE_ID=ZPD_LAUSD_ADHOC_PAGE&CMD=RELEASE_DATA_PROVIDER"+CurrentReportName;
        openWindow(openCMD,"MainTitleNow",800,600);
    -->
    </SCRIPT>
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
       var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML  + '&sap-language=' +SAP_BW_Get_Language();
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id GroupArea/GroupLink */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           /var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster','GR5Toolbar','GR7Toolbar');/
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR5Toolbar','GR7Toolbar');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = '<SAP_BW_TEXT program="SAPLRRSV" key="737">' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = '<SAP_BW_TEXT program="SAPLRRSV" key="736">' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              SAPBWSetFocus(anchor);
      }  /*function */
    -->
    </script>
    <!-- Query description in the window title bar --->
    <title>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TITLE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             ITEM:            TITLE
    </object>
    </title>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <link href="/sap/bw/Mime/Customer/StyleSheets/BWReports_Excel_print.css" type="text/css" rel="stylesheet" media="print"/>
    </head>
    <body>
    <!-- Possible Header -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Header"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="ZLAUSD_HEADER"/>
             <param name="SUPPRESS_SYSTEM_MESSAGES" value="X"/>
             ITEM:            Header
    </object>
    <table border="0" cellpadding="0" cellspacing="0" width="600">
    <tr id="bexheader">
    <td class="SAPBExMsgBarStd"><span class="SAPBEXTxtStdBold" tabIndex=0>
    <SAP_BW_TEXT program="SAPLRRSV" key="733">
    </span></td>
    </tr>
    <tr>
    <td style="FONT-SIZE: 1pt; HEIGHT: 5px">
    </td>
    </tr>
    <tr>
    <td>
    <!-- Tabs -->
    <table cellpadding="1" cellspacing="0" border="0" width="200">
    <tr>
    <td class="SAPBEXTbsBorder">
    <A href="#TabStripEnd">
    <IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='739'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='739'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></A>
    <table name="" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <!-- First Tab: Display table and nav block -->
    <td align="middle" nowrap class="SAPBEXTbsTabSel" id="GR1Area">
    <A  title=<SAP_BW_TEXT program='SAPLRRSV' key='700'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR1*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="700"></A>
    </td>
    <!-- Second Tab: Display chart -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR2Area">
    <A title=<SAP_BW_TEXT program='SAPLRRSV' key='701'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR2*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="701"></A>
    </td>
    <!-- Third Tab: Display infos -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR3Area">
    <A   title=<SAP_BW_TEXT program='SAPLRRSV' key='702'> href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR3*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent"><SAP_BW_TEXT program="SAPLRRSV" key="702"></A>
    </td>
    <!-- Fourth Tab: Display Broadcasting -->
    <!--
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR4Area">
    <A  title=<SAP_BW_TEXT program='SAPLRRSV' key='704'> href="<SAP_BW_URL ITEM='GR' MULTI='X' HIDDEN='X'  CMD_1='ITEM=GR4&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent" ><SAP_BW_TEXT program="SAPLRRSV" key="704"></A>
    <a name="TabStripContent" tabIndex="0"><IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='740'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='740'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></a>
    </td>
    -->
    <!-- Fifth Tab: Display Printing -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR5Area">
    <A   title=Printing href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR5*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent">Printing</A>
    </td>
    <!-- Sixth Tab: Display Export -->
    <td align="middle" nowrap class="SAPBEXTbsTab" id="GR7Area">
    <A   title=Export href="<SAP_BW_URL ITEM='*GR*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*GR7*&MULTI=X&HIDDEN=' >&amp;dummy=#TabStripContent">Export</A>
    </td>
    </tr>
    </table>
    <table width="600" name="" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td align="left" valign="bottom" nowrap>
    <table cellspacing="0" cellpadding="0" border="0"><tr><td class="SAPBEXTxtStdBold" nowrap tabIndex="0" width="550">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="QueryName"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             <param name="HELP_SERVICE" value="HW_SAVE_VIEW"/>
             <param name="HELP_SERVICE_CLASS" value="CL_RSR_WWW_HWIND_SAVE_VIEW"/>
             ITEM:            QueryName
    </object></td>
    <td  nowrap 
                    tabIndex="0">
    <!--
    <SAP_BW_TEXT program="SAPLRRSV" key="705">
    -->
    <SAP_BW_TEXT program="SAPLRRSV" key="160">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Actuality"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="ROLLUPTIME"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="ROLLUPTIME"/>
             ITEM:            Actuality
    </object>
    </td></tr></table>
    </td></tr>
    <tr><td>
    <table  border="0" cellspacing="0" cellpadding="5" class="SAPBEXFlexBoxStdBg" width="100%"><tr>
              <td>
    <!-- Toolbar for View Table -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GR1TB"/>
             ITEM:            GR1Toolbar
    </object>
    <!-- Toolbar for Table Maintenance -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRAToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GRATB"/>
             ITEM:            GRAToolbar
    </object>
    <!-- Toolbar for View Chart -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR2Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZLAUSD_CHARTS"/>
             ITEM:            GR2Toolbar
    </object>
    <!-- Toolbar for View Info -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZLAUSD_INFOS"/>
             ITEM:            GR3Toolbar
    </object>
    <!-- Toolbar for Print Options -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR5Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_LAUSD_ADHOC_GR5TB"/>
             ITEM:            GR5Toolbar
    </object>
    <!-- Toolbar for Printing with Internet Explorer -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRBToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GRBTB"/>
             ITEM:            GRBToolbar
    </object>
    <!-- Toolbar for Printing with SmartForms -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GRCToolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GRCTB"/>
             ITEM:            GRCToolbar
    </object>
    <!-- Toolbar for Exporting -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR7Toolbar"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="ZWT_ADHOC_GR7TB"/>
             ITEM:            GR7Toolbar
    </object>
    </td></tr><tr><td>
    <!-- Exceptions and Conditions  -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR6_COND_TEMPLATE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="TEMPLATE_ID" value="0ADHOC_CONDITIONS"/>
             ITEM:            GR6_COND_TEMPLATE
    </object>
    <table width="600" cellspacing="0" cellpadding="5" border="0"><tr><td style="PADDING-RIGHT: 10px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px">
    <!-- Navigational block: GR1NavBlock--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1NavBlock"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="200"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="SHOW_AXES_GROUPING" value="X"/>
             ITEM:            GR1NavBlock
    </object>
    </td>
    <td class="SAPBEXWhlOffset">
    </td>
    <td width="100%" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: top; PADDING-TOP: 0px">
    <!-- Data table: GR1GR5GR7Table--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1GR5GR7Table"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="380"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BLOCK_SIZE" value="25"/>
             <param name="BLOCK_SIZE_COLUMNS" value="10"/>
             <param name="HELP_SERVICE" value="PRINT_WITH_EXCEL"/>
             <param name="HELP_SERVICE_CLASS" value="ZCL_RSR_XLS_HELP_WINDOW_PRINT"/>
             ITEM:            GR1GR5GR7Table
    </object>
    </td></tr></table>
    <!-- Chart: GR2Chart, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR2Chart"/>
             <param name="ITEM_ID" value="0ADHOC_COLUMN_CHART"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="HEIGHT" value="400"/>
             <param name="CAPTION" value="0ADHOC_COLUMN_CHART"/>
             <param name="HIDDEN" value="X"/>
             <param name="WIDHT" value="500"/>
             ITEM:            GR2Chart
    </object>
    <!-- Common text symbols: GR3TECommon, initialy hidden--->
    <table width="600" cellspacing="0" cellpadding="5" border="0"><tr><td style="VERTICAL-ALIGN: top">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TECommon"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=720"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="SRDATE"/>
             <param name="ELEMENT_TYPE_2" value="COMMON"/>
             <param name="ELEMENT_NAME_2" value="ROLLUPTIME"/>
             <param name="ELEMENT_TYPE_3" value="COMMON"/>
             <param name="ELEMENT_NAME_3" value="MODTIME"/>
             <param name="ELEMENT_TYPE_4" value="COMMON"/>
             <param name="ELEMENT_NAME_4" value="MODUSER"/>
             <param name="ELEMENT_TYPE_5" value="COMMON"/>
             <param name="ELEMENT_NAME_5" value="SYUZEIT"/>
             <param name="ELEMENT_TYPE_6" value="COMMON"/>
             <param name="ELEMENT_NAME_6" value="REPTXTLG"/>
             <param name="ELEMENT_TYPE_7" value="COMMON"/>
             <param name="ELEMENT_NAME_7" value="REPTNAME"/>
             ITEM:            GR3TECommon
    </object>
    <!-- Static filter: GR3TEFilter, initialy hidden--->
    </td><td style="VERTICAL-ALIGN: top">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TEFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=721"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_VARIABLES" value=""/>
             ITEM:            GR3TEFilter
    </object>
    <!-- Dynamic filter: GR3DFilter, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3DFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=722"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_LINKS" value=""/>
             ITEM:            GR3DFilter
    </object>
    <!-- Variables: GR3TEVariables, initialy hidden--->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TEVariables"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="330"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=723"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_FILTERS" value=""/>
             ITEM:            GR3TEVariables
    </object>
    </td></tr></table>
    <div id="querydoc" style="DISPLAY: none; VISIBILITY: hidden">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3FORQUERYDOC"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTNAME"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTNAME"/>
             ITEM:            GR3FORQUERYDOC
    </object>
    </div>
    <!-- Broadcaster: GR4Broadcaster, initially hidden-->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR4Broadcaster"/>
             <param name="ITEM_CLASS" value="CL_RSRD_WWW_ITEM_BROADCASTER"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="HIDDEN" value="X"/>
             <param name="SOURCE_OBJECT_TYPE" value="DP"/>
             <param name="SOURCE_DATA_PROVIDER" value="DP"/>
             ITEM:            GR4Broadcaster
    </object>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <a name="TabStripEnd" tabIndex="0"><IMG title=<SAP_BW_TEXT program='SAPLRRSV' key='741'> alt="<SAP_BW_TEXT program='SAPLRRSV' key='741'>" src="/sap/bw/Mime/BEx/Icons/pixel.gif" border=0 ></a>
    </td>
    </tr>
    </table>
    <!-- Possible Footer -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="Footer"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="0ADHOC_FOOTER"/>
             ITEM:            Footer
    </object>
    <script type="text/javascript">
    <!--
        set_tab();
    -->
    </script></td></tr></table>
    <!-- Settings for Web Printing with Excel
    // header with logo, footer, page orientation, margin, ...
    @page
         {mso-header-data:"&L&\0022Arial\,Fett\0022&12&G&C&\0022Arial\,Fett\0022&14<&[REPTXTLG]> und <&[DATAPROVIDER_1/REPTXTLG]>";
         mso-footer-data:"&R&A";
         margin:1.0in .75in 1.0in .75in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;}
    // fit to page, grid lines, logo (header picture)
         <x:Print>
          <x:FitWidth>1</x:FitWidth>
          <x:FitHeight>2</x:FitHeight>
          <x:ValidPrinterInfo/>
          <x:PaperSizeIndex>9</x:PaperSizeIndex>
          <x:Scale>86</x:Scale>
          <x:HorizontalResolution>600</x:HorizontalResolution>
          <x:VerticalResolution>600</x:VerticalResolution>
          <x:Gridlines/>
          <x:HeaderPicture>
           <x:Location>Left</x:Location>
           <x:Source>http://www.sap.com/global/images/sap_logo.gif</x:Source>
           <x:Height>37</x:Height>
           <x:Width>73</x:Width>
           <x:LockAspectRatio/>
           <x:ColorType>Automatic</x:ColorType>
          </x:HeaderPicture>
         </x:Print>
    // page breaks
        <x:PageBreaks>
         <x:ColBreaks>
          <x:ColBreak>
           <x:Column>9</x:Column>
           <x:RowEnd>78</x:RowEnd>
          </x:ColBreak>
         </x:ColBreaks>
         <x:RowBreaks>
          <x:RowBreak>
           <x:Row>42</x:Row>
           <x:ColEnd>15</x:ColEnd>
          </x:RowBreak>
         </x:RowBreaks>
        </x:PageBreaks>
    // column widths
        <x:ColWidths>
        <col style='mso-width-source:auto'>
        <col style='mso-width-source:auto'>
        <col style='mso-width-source:auto'>
        <col width=200 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        <col width=70 style='mso-width-source:userset'>
        </x:ColWidths>
    // BW parameters
    <x:BW>
         <hierarchy_icons hide=X>
    </x:BW>
    -->
    </body>
    </html>

  • Is it possible to have a fixed column width and a URL link?

    I am trying to achieve having a popup link on a column within a SQL report but also have the report column a certain width. I can have either or however not at the same time.
    What I did was created a SQL report, edited a column and gave it a URL redirect (page in application) as normal.
    For the fixed column width, I used:
    <div style="width:250px; height:54px; overflow:hidden" title="#Comments#">#Comments#</div>On Column Formatting / HTML Expression
    And for the popup URL, I used:
    onclick="window.open(this.href,'_blank','resizable=0,scrollbars=0,width=650,height=300,menubar=0,location=0');return false;" title="Comments"On the Column Link / Link Attributes

    Andy thank you for your reply, however I either am not completly understanding or there is a problem elsewhere.
    I have changed to the code to fit the needs of the application as so:
    !http://i41.tinypic.com/2m6mrh4.jpg!
    App ID: 523
    Page: 23
    Item: P23_STATUS_COMMENT
    Column to select: Comments
    Whenever clicking on the link, the following error is given:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
         Error      ERR-7620 Could not determine workspace for application ().{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while using window.open() in JSP page

    I am getting error while using window.open() in my JSP page.
    This is code in my JSP page,
    <h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
    function loadContextSensitiveHelp(helpPageName) {
    top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
    'width=350,height=250'
    +',menubar=0'
    +',toolbar=0'
    +',status=0'
    +',scrollbars=1'
    +',resizable=0')
    top.consoleRef.document.close()
    I am getting the following error in my browser,
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
         org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
    Anyone help me to solve this issue. Thanks............................

    I am getting error while using window.open() in my JSP page.
    This is code in my JSP page,
    <h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
    function loadContextSensitiveHelp(helpPageName) {
    top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
    'width=350,height=250'
    +',menubar=0'
    +',toolbar=0'
    +',status=0'
    +',scrollbars=1'
    +',resizable=0')
    top.consoleRef.document.close()
    I am getting the following error in my browser,
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
         org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
    Anyone help me to solve this issue. Thanks............................

  • Open a new popup window in OTL Create timecard page

    I am have created a new item called button on the create timecard page in OTL. when i click on the button it opens up a new window which runs a function in it. I want to set the properties of the new window like remove toolbar,location and menubar. when i set the properties in Target Frame I dont see any change in window style.
    The proerties of the button are
    Item Style Button
    Property Value
    *ID BIO_PROJ
    Access Key
    Additional Text
    Admin Personalization truefalse
    Attribute Set
    CSS Class
    Comments
    Data Type VARCHAR2DATEDATETIMENUMBERBOOLEANCLOB
    Destination Function :BIO_PROJ_INFO
    Destination URI :OA.jsp
    Disable Server Side Validation truefalse
    Disabled truefalse
    Export View Attribute
    Extends
    Horizontal Alignment centerleftrightstartend
    Prompt
    Rendered truefalse
    Scope
    Target Frame =javascript:window.open("","Last 10 Projects","location=0,toolbar=0,menubar=no")
    View Attribute
    View Instance
    Warn About Changes truefalse
    Please help
    Thanks

    What I usually do in this case is place a javascript function at the end of the processRequest method:
    String function = "function openWindow(pageUrl,windowName){window.open(pageUrl,windowName,'width=725,height=520,menubar=no,location=no,toolbar=no,scrollbars=yes,resizable=yes');}";
    pageContext.putJavaScriptFunction("openWindow",function);
    The I can put the destination of a link or button as javascript:openWindow(url,name)

  • Windows XP3 Firefox works for one use, not another.

    Using windows XP SP3 and latest Firefox. On normal user Fire fox suddenly will not load. Click on Icon and it seems to load but does not appear on desktop. Looking in Windows Task Manager it looks like ti is running. Never appears open on desktop
    On user "Admin", it boots and works normally. BOTH Admin and other user are admin security levels.
    I have downloaded and installed the latest update but no change.
    Thunderbird works normally on all users. There are only two user names on this machine. My problem is with another machine. I have compared some settings from this one to the faulty on and found no noticable differences.

    Occasionally the Firefox window will get off screen. Here are three different
    approaches to getting that window into view. One of them should work!<BR><BR>
    '''''Firefox Window "off screen" — Arrow Key Method'''''<BR><BR>
    If you know that Firefox is off to a particular side, you can use the arrow keys
    to move it back on screen. You only need to move it far enough to be able to
    click the title bar and then you can drag it the rest of the way.<BR><BR>
    Make the Firefox tile active on the task bar and press this key combination
    to start moving the window:<BR><BR>
    Alt+Spacebar > m<BR><BR>
    (To clarify, that's Alt+Spacebar to open the window control menu, then the
    letter m to start moving the window.)<BR><BR>
    Press the arrow key for the direction you want to move the window, e.g., press
    the left arrow key to move the window left. Press the Enter key to complete the move.<BR><BR>
    '''''Firefox Window "off screen" — Maximize + New Window Script Method'''''<BR><BR>
    If Firefox is nowhere to be found but you know it's out there, try this method.
    Make the Firefox tile active on the task bar and press this key combination to
    maximize the window:<BR><BR>
    Alt+Spacebar > x<BR><BR>
    (To clarify, that's Alt+Spacebar to open the window control menu, then the letter
    x to maximize the window.)<BR><BR>
    If that works, try this:<BR><BR>
    (1) Copy the following line of code to the clipboard (it's all one line...):<BR><BR>
    newwin=window.open(window.location.href, "_blank", <BR>
    "width=640,height=480,menubar,toolbar,personalbar");<BR>
    newwin.moveTo(0,0);<BR><BR>
    (2) In the maximized window, press Ctrl+Shift+k to open the web console.<BR><BR>
    (3) Press Ctrl+v to paste the line of code next to the caret (») then press Enter to run it.
    A new copy of that page should open in a window positioned at the top left of the screen.<BR><BR>
    (4) Switch back to the maximized window and close it first, before doing anything
    in the new window.<BR><BR>
    '''''Firefox Window "off screen" — Remove Settings File'''''<BR><BR>
    If you can't move or maximize Firefox, you can rename or delete the settings
    file that stores the last window position.<BR><BR>
    (1) Open your currently active Firefox settings folder (AKA Firefox profile folder).
    From the Start menu (Run box or search box), paste this into the search box and press Enter:
    <BR><BR>%APPDATA%\Mozilla\Firefox\Profiles<BR><BR>
    This should open a window showing one or more Firefox profile folders. If you have multiple
    folders, look for the most recent. Click into your profile folder.<BR><BR>
    (2) If Firefox is still running, right-click it on the Task Bar and Close all Windows. <BR><BR>
    (3) Wait a few moments for Firefox to finish updating files in your profile folder, then rename
    '''''localstore.rdf''''' to something else, like localstore-bad.rdf or localstore.old.
    Alternately, you can delete the file.<BR><BR>
    (4) You're done with your profile folder and you can restart Firefox now.

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

  • Firefox opens but will not maximize.

    Out of nowhere Firefox will not maximize. The icon for it is at the bottom left on Windows 8, and I can hover over that icon and see a small version of a Firefox browser window, but I can't get it to open all the way or maximize so I can actually use it. Any suggestions are appreciated - thanks!

    Occasionally the Firefox window will get off screen. Here are three different approaches to getting that window into view. One of them should work!
    '''Firefox Window "off screen" — Arrow Key Method'''
    If you know that Firefox is off to a particular side, you can use the arrow keys to move it back on screen. You only need to move it far enough to be able to click the title bar and then you can drag it the rest of the way.
    Make the Firefox tile active on the task bar and press this key combination to start moving the window:
    Alt+Spacebar > m
    (To clarify, that's Alt+Spacebar to open the window control menu, then the letter m to start moving the window.)
    Press the arrow key for the direction you want to move the window, e.g., press the left arrow key to move the window left. Press the Enter key to complete the move.
    '''Firefox Window "off screen" — Maximize + New Window Script Method'''
    If Firefox is nowhere to be found but you know it's out there, try this method.
    Make the Firefox tile active on the task bar and press this key combination to maximize the window:
    Alt+Spacebar > x
    (To clarify, that's Alt+Spacebar to open the window control menu, then the letter x to maximize the window.)
    ''If that works,'' try this:
    (1) Copy the following line of code to the clipboard (it's all one line...):
    newwin=window.open(window.location.href, "_blank", "width=640,height=480,menubar,toolbar,personalbar");newwin.moveTo(0,0);
    (2) In the maximized window, press Ctrl+Shift+k to open the web console.
    (3) Press Ctrl+v to paste the line of code next to the caret (&raquo;) then press Enter to run it. A new copy of that page should open in a window positioned at the top left of the screen.
    (4) Switch back to the maximized window and close it first, before doing anything in the new window.
    '''Firefox Window "off screen" — Remove Settings File'''
    If you can't move or maximize Firefox, you can rename or delete the settings file that stores the last window position.
    (1) Open your currently active Firefox settings folder (AKA Firefox profile folder).
    From the Start menu (Run box or search box), paste this into the search box and press Enter:
    %APPDATA%\Mozilla\Firefox\Profiles
    This should open a window showing one or more Firefox profile folders. If you have multiple folders, look for the most recent. Click into your profile folder.
    (2) If Firefox is still running, right-click it on the Task Bar and Close all Windows.
    (3) Wait a few moments for Firefox to finish updating files in your profile folder, then rename '''localstore.rdf''' to something else, like localstore-bad.rdf or localstore.old. Alternately, you can delete the file.
    (4) You're done with your profile folder and you can restart Firefox now.
    Any luck?

  • Creating menu bar in Photoshop

    I created a menu bar with individual buttons and hover
    buttons in photoshop. I want the background buttons positioned in a
    set place and to have the hover buttons work when I hover over each
    button. What's the best way to do this? I started with making a div
    wrap, but now I'm not sure if I should be doing this in a table. Is
    there an example anyone knows of to do this with divs or a table?
    --Theresa--

    quote:
    Originally posted by:
    Newsgroup User
    Export the images for the buttons (NOT the HTML) from
    Photoshop, and build
    the page in DW.
    You can put each button's image in adjacent table cells, or
    in adjacent list
    elements, depending on your layout skills. You can use
    Dreamweaver's
    SwapImage behavior to roll the buttons on hover, or you can
    use CSS to do
    that, again depending on your skills.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Traveler815" <[email protected]> wrote in
    message
    news:[email protected]...
    >I created a menu bar with individual buttons and hover
    buttons in
    >photoshop. I
    > want the background buttons positioned in a set place
    and to have the
    > hover
    > buttons work when I hover over each button. What's the
    best way to do
    > this? I
    > started with making a div wrap, but now I'm not sure if
    I should be doing
    > this
    > in a table. Is there an example anyone knows of to do
    this with divs or a
    > table?
    > --Theresa--
    >
    I have my spliced image buttons with the menu text and saved
    them as .gif format to use in DWCS3. I'd like to use the CSS but
    I'm not sure what I need to include.
    I'm working on the CSS behavior for
    <div id="menubar-container">
    <div id="menubar-bar">
    <div class="menubar">
    stylesheet:
    #menubar-container {
    height: 47px;
    width: 970px;
    position: relative;
    padding: 0px 0px 0px 0px;
    margin: 0 auto;
    #menubar-bar {
    margin: 0 auto;
    width: 960px;
    height: 47px;
    #menubar {
    height: 47px;
    background-color: #CCCCCC;
    and because I'm not 100% sure of what I'm doing I've been
    trying a few CSS codes and to work up the proper code in my html
    page... here's more of my CSS sample (mess)
    #menu-home { width: 125px; }
    #menu-home a span {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    width: 125px;
    height: 47px;
    background:url(../Images/btn_Products.jpg) -118px 0
    no-repeat;
    #menu-home a:hover span { background-position: -118px -40px;
    background: url(../Images/btn_Products_hover.jpg);
    #menu-products { width: 125px; }
    #menu-products a span {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    width: 125px;
    height: 40px;
    background: url(../Images/btn_NewsEvents.jpg) -235px 0
    no-repeat;
    #menu-products a:hover span { background-position: -235px
    -40px;
    background: url(../Images/btn_NewsEvents_hover.jpg);
    Is there a better way?
    --Theresa--

  • Firefox opens but no window comes up--no new window, tab, etc.

    My iMac, OSX 10.9.4, opens Firefox so I have all the tabs running across the top, but no window will open. None of the top selections brings a window up--new window, new tab, private window, bookmarks, history, view--nothing.

    There is no window, or the window is blank?
    Occasionally the Firefox window will get off screen. Here are three different
    approaches to getting that window into view. One of them should work!
    '''Firefox Window "off screen" — Arrow Key Method'''
    If you know that Firefox is off to a particular side, you can use the arrow keys
    to move it back on screen. You only need to move it far enough to be able to
    click the title bar and then you can drag it the rest of the way.
    Make the Firefox tile active on the task bar and press this key combination
    to start moving the window:
    Alt+Spacebar > M
    (To clarify, that's Alt+Spacebar to open the window control menu, then the
    letter m to start moving the window.)
    Press the arrow key for the direction you want to move the window, e.g., press
    the left arrow key to move the window left. Press the Enter key to complete the move.
    '''Firefox Window "off screen" — Maximize + New Window Script Method'''
    If Firefox is nowhere to be found but you know it's out there, try this method.
    Make the Firefox tile active on the task bar and press this key combination to
    maximize the window:
    Alt+Spacebar > X
    (To clarify, that's Alt+Spacebar to open the window control menu, then the letter
    x to maximize the window.)
    If that works, try this:
    (1) Copy the following line of code to the clipboard (it's all one line...):
    newwin=window.open(window.location.href,"_blank","width=640,height=480,menubar,toolbar,personalbar");newwin.moveTo(0,0);
    (2) In the maximized window, press Ctrl+Shift+k to open the web console.
    (3) Press Ctrl+v to paste the line of code next to the caret (») then press Enter to run it.
    A new copy of that page should open in a window positioned at the top left of the screen.
    (4) Switch back to the maximized window and close it first, before doing anything
    in the new window.
    '''Firefox Window "off screen" — Remove Settings File'''
    If you can't move or maximize Firefox, you can rename or delete the settings
    file that stores the last window position.
    (1) Open your currently active Firefox settings folder (AKA Firefox profile folder).
    From the Start menu (Run box or search box), paste this into the search box and press Enter:
    %APPDATA%\Mozilla\Firefox\Profiles
    This should open a window showing one or more Firefox profile folders. If you have multiple
    folders, look for the most recent. Click into your profile folder.
    (2) If Firefox is still running, right-click it on the Task Bar and Close all Windows.
    (3) Wait a few moments for Firefox to finish updating files in your profile folder, then rename
    '''localstore.rdf''' to something else, like localstore-bad.rdf or localstore.old.
    Alternately, you can delete the file.
    (4) You're done with your profile folder and you can restart Firefox now.

  • Problem with Print Preview  Urgent!

    Hello BW Experts,
    1.I am trying to use the Print functionality for web printing.In the print preveiew i see all the text in black and white.It is completely different from the page that is displayed in the browser.
    --I tried using the same print stylesheet but it does not work.
    2.In the print preview how do i change the default header line height to some other value.
    3.If i select file>print preview in internet explorer it is treating the logo as a different page,so the logo is printing in seperate page followed by the text.
    I appreciate all your help.
    Thank you all!
    Raj

    Thanks deepak for the reply.
    I am using the stylesheet and media = print but i still have the problem.
    This is the javascript function i am using
    <head>
    <link href="/sap/bw/Mime/BCT/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet"/>
    <script>
    <script language=javascript>
    function callPrintHelpService(parameter, cell_type, filter, parameter1, parameter2, item, dataprovider, x, y) {
    var print_service = "Z_PRINT_HELP_SERVICE"
    <!--if ( parameter == "inches") print_service = "Z_PRINT_HELP_SERVICE_IMP";
    var cmd = url + "&DATA_PROVIDER=DP&HELP_SERVICE_CLASS=" + print_service;--->
    SAP_BW_URL_Get();
    if( dataprovider == "DP") window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes"); }
    </script>
    <!-- Query description in the window title bar --->
    <title>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TITLE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             ITEM:            TITLE
    </object>
    </title>
          <link href="/sap/bw/Mime/BEx/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet" media="print"/>
    </head>
    1.---can you please be more specific where i need to change the default header height value.
    2.In the print preview of the report it looks fine but when i say file>print preview from internet explorer it is considering the logo as seperate page .Do i need to make any settings somewhere.
    3.In the print preview it remains same eventhough i use the same stylesheet as that of the report.
    Please advice.
    Thank you,
    Raja

  • Window.Open Suggestions

    My datagrid contains LinkButtons to open new windows. When the user clicks a linkbutton the following attribute is added to the body.onload:
    body.Attributes.Add("onload","window.open('http://fww/scripts/codebook/clientinfo.exe?" + strClnum + "','ClientInfo','width=725,height=400,menubar=yes,scrollbars=yes')");
    Obviously, this does not work in PT. I'd prefer not to add the event to every linkbutton in the datagrid while it's being rendered because I could have 1-1000 records and it's way too slow to load.
    Any suggestions?
    Thanks,
    Darcy Williams

    Its a clear workaround.I am adding new column in DataTable dynamically and populating it with "window.open javascript" for each button. I am passing a querystring thru javascript that corresponds to each button. See the aspx code in red. JavaScriptForText is the new column in DataTable.
    ASPX code - (Datagrid's TemplateColumn)
    <asp:TemplateColumn HeaderText="Report Status"> <ItemTemplate> <SPAN id=spanID OnClick='<%#DataBinder.Eval(Container.DataItem , "JavaScriptForSpan")%>' ptrender="true"> <asp:Button ID=buttonCheckOut Text='<%#DataBinder.Eval(Container.DataItem , "ReportFileStatusText")%>' runat=server CommandName='<%#DataBinder.Eval(Container.DataItem , "ReportFileStatusText")%>' ptrender="true"> </asp:Button> </SPAN>
    </ItemTemplate>
    </asp:TemplateColumn>
    Code behind (value that goes to 'new' DataTable column)
    javaScriptText = "javascript:window.open('/reportapproval/nextPage.aspx?"javaScriptText &= "querystringParametet=" & queryStringValue & "');"
    So now whenever button gets clicked span's onclick function is also fired. (span is basically enveloping the button with its onclick function). AND at the same time, Datagrid's ItemCommand event for the button's commandNamewould run the server side function. I had to deliver the portlet ASAP so came up with this workaround. Would love to know the right way of performing the same functionality (with an easy example or easy to understand code)Hope this helps

  • Opening windows with JavaScript

    I am reasonably happy with my feedback screen, but after a
    visitor sends a
    message I would like to close it, and then pop up a smaller
    "Thank you" window
    for a few seconds.
    After a lot of messing around, I have more or less got this
    working (and have a
    slightly better understanding of JavaScript), but have a
    number of questions.
    1. What is the difference between MM_openBrWindow() and
    open.window()? They
    appear to do the same thing, and to take the same parameters.
    2. If I open the new feedback window, using either of the
    above, and then use
    open.window to open the Thank you window from the feedback
    window, it appears to
    use the same parameters as the previous window, regardless of
    what I specify.
    Is there a way around this?
    3 The alternative to this would be to put code in the
    originating window which
    popped up the feedback window, and then popped up the Thank
    you window when the
    feedback window closed. Can I have the first window return a
    result, and then
    pass it on to the second window, and how would I access it in
    the second window?
    Clancy

    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    Make a simple test. You will find that either of these
    methods works.
    Something else is coloring your interpretation here.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Clancy" <[email protected]> wrote in message
    news:[email protected]...
    > "Murray *ACE*" <[email protected]>
    wrote:
    >
    >>Show us the respective markup in either case, please.
    >>
    >>If you look at the OBW function, you'll see that it's
    just calling the
    >>window.open() function -
    >>
    >>function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    >> window.open(theURL,winName,features);
    >>}
    >>
    >>so you should get the same behavior with either.
    >
    > SHOULD being the operative word. As I have noted
    elsewhere, I found the
    > version
    > which I thought I had working operates correctly if I
    run the local copy,
    > but
    > not if I run the remote copy.
    >
    > The sequence of events is as follows.
    >
    > Index.php has a 'Comments' link, with the following
    code:
    >
    > <img src="Images/Xclqry.jpg" alt="Comments and
    queries" width="60"
    > height="24"
    >
    border="0"onclick="MM_openBrWindow('Xcl_qry.php','Xclqrywindow','width=800,
    > height=600,menubar=yes')" >
    >
    > This loads the feedback form Xcl_qry.php. This is based
    on David's
    > feedback
    > form. When this is loaded it checks if data has been
    entered. If so, it
    > processes it and, if valid, tries to e-mail it. If this
    is successful it
    > should
    > open the 'Thank you' window, and then close. The code
    used for this is:
    >
    > <script
    >
    type="text/javascript">window.open('Thanks.php','Thankswindow','width=400,height=200');</ script>
    >
    > This works with the local copy, but not with the remote
    copy. I replaced
    > the
    > relative URL with the absolute URL, so that it opened
    the remote copy,
    > even if
    > it had been loaded from my computer, and the local copy
    still worked.
    > However,
    > when I modified index.php to open the remote copy of
    Xcl_qry.php, the
    > Thank you
    > window did not open.
    >
    > I then modified the open commands to ask for a menu bar,
    so that I could
    > examine
    > the code actually loaded to my PC (on the last pass),
    and altered
    > Xcl_qry.php so
    > that it remained open. I then ran each version, and
    saved the code. When
    > I
    > compare the two versions they were identical, except
    that the remote
    > version had
    > an additional line on the end:
    >
    > <script
    language='javascript'>postamble();</script>
    >
    > I put this on to the local copy, so the two files as
    loaded were
    > identical, but
    > this made no difference.
    >
    > So the current state of play is that the local copy of
    Xcl_qry.php will
    > open
    > either the local or remote copy of Thanks.php, but the
    remote copy of
    > Xcl_qry.php will not open the remote copy of Thanks.php,
    even though the
    > code
    > actually loaded onto my PC is identical. I have not
    checked if it will
    > open the
    > local copy as this does not seem very relevant.
    >
    >
    http://www.corybas.com/
    > Clancy

  • Create a popup with a swf file

    Hello everyone, I am creating a personal travel photography
    website. Basically what the users will be presented with is a map
    of the world, they may scroll over different areas of the world
    which will enlarge that geographical area. Hot spots will be
    visible to users where pictures are available.
    Now what I want to do is when the users click one of the hot
    spots I want a popup window to appear with a already created
    gallery.
    Is there a simple way of doing this?

    wv1973 <[email protected]> wrote:
    > Hello everyone, I am creating a personal travel
    photography website.
    > Basically what the users will be presented with is a map
    of the
    > world, they may scroll over different areas of the world
    which will
    > enlarge that geographical area. Hot spots will be
    visible to users
    > where pictures are available.
    >
    > Now what I want to do is when the users click one of the
    hot spots I
    > want a popup window to appear with a already created
    gallery.
    >
    > Is there a simple way of doing this?
    Yes, it is. Flash enables you to open Popups with getURL.
    Here comes an HTML function. Just adjust it to Flash AS, and
    call it with
    parameters...
    function popup(url, width, height) {
    var w = width;
    var h = height;
    var dl = (screen.width - w) / 2;
    var dt = (screen.height - h) / 2;
    window.open(url, "",
    "width="+w+",height="+h+",menubar=no,scrollbars=yes,left="+dl+",top="+dt);
    Just make sure the url-site exists, and carries the
    gallery... ;-)
    Freundliche Grüße,
    Franz Marksteiner

  • Popup multiple Windows

    Not sure where else to ask this, but i have some simple javascript
    as shown below that pops up applets. The problem is that I cannot
    figure out how to popup simultaneous ones. When one is clicked
    it replaces the other.
    Is there some Windows resource i need to set to allow this.
    I've tried it on IE and Netscape.
    JS:
    <TABLE BORDER=2 WIDTH="2" HEIGHT="5" CELLPADDING=0 CELLSPACING=0>
    <CAPTION ALIGN=TOP><B>File Selection</B></CAPTION>
    <TR ALIGN=left>
    <TH ALIGN=left>Size</TH>
    </TR>
    <TR ALIGN=left>
    <TD>
    <input TYPE="radio" name = "mybutton1"></input>
    </TD>
    <TD ALIGN=left>1000</TD>
    </TR>
    <TR ALIGN=left>
    <TD>
    <input TYPE="radio" name = "mybutton2"></input>
    </TD>
    <TD ALIGN=left>1000</TD>
    </TR>
    </TABLE>
    <br>
    <form>
    <input type="submit" value="Submit"
    onclick="window.open('my.html', 'win1','width=500,height=500,menubar')">
    </form>

    Sorry it got cut off:
    I've tried it on IE and Netscape.
    JS:<TABLE BORDER=2 WIDTH="2" HEIGHT="5" CELLPADDING=0 CELLSPACING=0>
    <CAPTION ALIGN=TOP><B>File Selection</B></CAPTION>
    <TR ALIGN=left>
    <TH ALIGN=left>Size</TH>
    </TR>
    <TR ALIGN=left>
    <TD>
    <input TYPE="radio" name = "radio1"
    onclick="window.open('my.html', 'win1','resizable=yes','width=700,height=700','menubar');return false"></input>
    </TD>
    <TD ALIGN=left>1000</TD>
    </TR>
    <TR ALIGN=left>
    <TD>
    <input TYPE="radio" name = "radio2"
    onclick="window.open('my.html', 'win2','resizable=yes','width=700,height=700','menubar');return false">
    </input>
    <TD ALIGN=left>2000</TD>
    </TR>
    </TABLE>
    <br>

Maybe you are looking for

  • Performance with ADMC Search help

    Hi Everyone. Here there is a performance issue when we tried with the standard search help.It is happening in MEAN Transaction and the search help is for Address Number .While we tried it is giving dump for sometimes. When I checked into the search h

  • Please, help with AS2 / CS3

    In this zip file, I replaced the images, with blank photos, with the image titles, to make it easier to see the problem. (download files) http://www.pbsjbuzz.tv/site_flash/site_flash.zip (view online) http://www.pbsjbuzz.tv/site_flash Thank you ! Hel

  • Please Help. Macbook running up to date Leopard has optical drive problem

    From Day one whenever the lid is shut on my macbook it keeps addressing the optical drive every 10 seconds or so. Its really annoying and I;ve updates the firmware and keep the OS up to date but it keeps doing it. It's like whenever its in sleep mode

  • Dimension Building

    Hi, We are in processing of migrating/creating new dimensions in our warehouse, during analysis of existing dimensions we found that a dimension is exhibiting 1 child to many parents in a hierarchy and our older software is loading the table with the

  • Production Studio CS2 Uninstaller doesn't uninstall AFTER EFFECTS

    ...well, at least not all the way.  I have had to uninstall and reinstall Prod. Studio CS2.  After uninstalling the whole suite, when I go to reinstall it keeps telling me After Effects is already installed. Even though its not. And when I do the rei