Drill Down Menu and JavaScripts

I've create a Drill Down menu with JavaScripts and put it in Html Portlet when I try to run, It doesn't work.
But If I execute this code without use portal it works perfectly.
Example:
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
<!--Begin Sothink DHTMLMenu Body-->
<script type="text/javascript" language="JavaScript1.2">
<!--
beginSTM("menu1036512576","static","0","0","none","false","true","310","1000","0","250","","blank.gif");
beginSTMB("auto","0","0","vertically","arrow_r.gif","7","7","0","3","#ffffff","","tiled","#000000","1","solid","0","Normal","50","0","0","7","7","0","0","0","#7f7f7f","false","#000000","#000000","#000000","none");
appendSTMI("false","acerca","left","middle","","","-1","-1","0","normal","#d6d6ce","#000084","","1","-1","-1","blank.gif","blank.gif","-1","-1","0","","","_self","Arial","9pt","#000000","normal","normal","none","Arial","9pt","#ffffff","normal","normal","none","0","solid","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","","","","tiled","tiled");
beginSTMB("auto","0","0","vertically","arrow_r.gif","0","0","0","3","#ffffff","","tiled","#000000","1","solid","0","Normal","50","0","0","0","0","0","0","0","#7f7f7f","false","#000000","#000000","#000000","none");
appendSTMI("false","Mision","left","middle","","","-1","-1","0","normal","#d6d6ce","#000084","","1","-1","-1","blank.gif","blank.gif","-1","-1","0","","","_self","Arial","9pt","#000000","normal","normal","none","Arial","9pt","#ffffff","normal","normal","none","0","solid","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","","","","tiled","tiled");
appendSTMI("false","Valores","left","middle","","","-1","-1","0","normal","#d6d6ce","#000084","","1","-1","-1","blank.gif","blank.gif","-1","-1","0","","","_self","Arial","9pt","#000000","normal","normal","none","Arial","9pt","#ffffff","normal","normal","none","0","solid","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","#d6d6ce","","","","tiled","tiled");
endSTMB();
endSTMB();
endSTM();
//-->
</script>
<!--End Sothink DHTMLMenu Body-->

You must write the complete path of you javascript librayry :
replace src="stm31.js" by something like src="http://myserver:myport/.../stm31.js"

Similar Messages

  • PerformancePoint Chart Drill Down Menu Display Issue with Chrome v40

    We have performancepoint dashboards which used to display perfectly in Chrome. The last update of Chrome (v40) has introduced the following issue:
    Whenever the user right clicks on the chart the drill down menu displays erroneously on top-left section of the page. The drill down menu should appear exactly where the user right clicks but it does not.
    Any other person faced this issue and can recommend any fix for that? We are stuck as most clients have now updated Chrome browser and tweaking Microsoft implementation will not be a good fix for long term.
    P.S. there is no such problem with FireFox (35) & IE (9+) and Chrome (v33)

    Hi guys,
    I kind of lost track on this post. I checked that for most of the components, as soon as we use some or the other methods to overwrite with blanks, the components reset wonderfully, except when using 'Drill'.
    Drill feature of a chart required me to execute the query again to reset it.
    To prevent this, have changed the requirement to provide transparent push buttons on X axis for drilling down to the next level.
    Thanks for the inputs.
    Regards,
    Velly

  • Bookmarks disappeared in bookmarks drop down menu and bookmarks toolbar disappeared too after upgrading

    I still have all my bookmarks so they are not lost (I can find them under 'bookmarks'>'Edit bookmarks' and also when I put them in the left side windowframe by clicking 'View'>'Sidebar'>'Bookmarks'
    I saw them appear once again in the dropdown menu but now they're gone again.
    The Firefox help page suggest to go to the 'add ons window' and select 'Extentions'>'Torbutten' but I don't even have that. They say that if you don't find the button, that means the torbutton is not installed. And then they leave you without another possibility. But I think that's only for when your bookmarks are totally lost anyway.
    I always use the drop down menu and the bookmarks toolbar so would love to get it back. Adding, erasing and moving the bookmarks in the 'edit bookmarks' window all works just fine.

    This issue can also be caused by a missing "Bookmarks Toolbar items" on the Bookmarks Toolbar.
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button

  • Drill Down Reports and Drag & Drop capability Tool for Developer2000

    I am currently doing my development in Developer2000 rel. 2.0.
    I have seen many tools for VB which provide the facility for Drill Down reporting and drag & drop option in reporting, but unable to find any tool for developer2000. I wonder if anyone can guide me about any tool for developer2000 which can provide these facilities in reporting and forms.......
    Qamar Bilal

    you can use the mouse triggers to do drag and drop.
    you have mouse-move and mouse-enter etc...
    what do you mean by drill down?
    you can do drill down reporting in reports by using srw.run_report built in and you can also use oracle discoverer.

  • Difference between Drill down Report and Interactive Report

    What is the difference between Drill down Report and Interactive Report?

    Hi,
        Drill down report and Interactive report seems to be acts as same. But there is a minor difference between those two.
    Drill Down Report  - When you  click on a particular field in a report it drills down to the next report, it won't trigger another screen.
    Interactive Report -  When you click on a particular field in a report it will trigger another report based on the field clicked. It opens another session internally in the same screen.
    Regards,
      Jayaram...

  • Hover Hyperlink State in Drop-Down Menu and other Hyperlink display problems

    Hi World!
    So, I'm finishing my new website for a client, but a have some problems:
    At first:
    I putted a Drop-Down Menu and it contains hyperlinks. Normal. But, I can't give a specific state to each hyperlink in the under-menus, I only can put a state for the global link in the Under-Menu! I can put a hover state to a normal HyperLink but not those into a Drop-Down Menu! It is normal?
    How can I make that each link in the Under-Menu has a specific hover state and not all together in the same group! (pictures jointed)
    (what I want to do with the links into the menu. - Juste a picture, not from A-Muse)
    Then:
    When I want to manage my website on BusinessCatalyst, I see strange underlines under my Menu links! (picture). But on Adobe Muse, I see no underline to these links! What's the matter? ^^
    (when it's on the prewiew mode)
    (On A-Muse)
    RESOLVED! But not completely. I've made a Hyperlink-style, but it doesn't works...
    On the prewiew (with the hovering mouse)
    EDIT: In the menu, "Accueil" and *Gérants Indépendants" musn't open another window under. So I made independent forms on the menu. But can I make that those one are in the menu TOO? I don't want to open the blue window for those one.
    Thanks a lot!
    O.

    http://metisfiance.businesscatalyst.com/
    That's the link!
    No I just can't "activate" the hover-modes, like the pictures! Normally, Adobe Muse must be easy to use and i used Muse like I have to do and so,.. It doesn't work^^ Why? You have now the link, I hope you can help me

  • Drill down menu - automatic refresh

    Hii
    I have three dimensions REGION, AREA and STORE which is also displayed in the reports as a drill down options. When I select a particular region, then the list of areas should be refreshed according to the region. Similarly when I select an Area, then the corresponding stores only should be part of the stores drill down.
    Can any one help me how i can do this. right now am getting only a static list regions, areas and stores. So if my selection combination is not correct then i will get null values.
    Aneesh

    You must write the complete path of you javascript librayry :
    replace src="stm31.js" by something like src="http://myserver:myport/.../stm31.js"

  • Drill down charts using javascript:$s fails in IE

    Hello,
    I am working on a drill down chart for a dashboard, where the chart needs to be repainted without page reload and hence have used javascript:$s in the query for setting an attribute to be passed to the subsequent chart.
    Query is as follows:
    select 'javascript:$s("APPFAM","'||d.short_name||'")' LINK, short_name,
    sumapps from MVIEW_FYEAR_TODATE_TOTALS
    Drill down works fine and the attribute is set as required in Firefox. The same query fails in IE 9 in my machine with the error "Internet Explorer has stopped working - Close the program" error. This query works fine in another machine on IE 9. Are there some browser settings that is hindering the javascript execution, because if i replace the 'javascript:$s("APPFAM","'||d.short_name||'")' with javascript:alert("hello") it still fails. I have tried setting/ resetting the javascript Internet options but it still throws the same error.
    Thanks in advance for your help.

    Hi,
    You can't - that SP2 was for XI R2
    if you are on XI 3.1 , then you patching options today are SP3 FP3.7  or  SP4 FP4.1 i believe
    Regards,
    H

  • How to store session variables in drop down menu (and radiobutton/checkbox)

    How am I going to store session variables in the drop down menu, radio button, checkbox.
    In text area, I do like below:
    <input type="text" name="membershipno" size="5" maxlength="50" value="<%=((session.getValue("Smembershipno")!=null)?session.getValue("Smembershipno"):"") %>">
    Any idea?

    Hi jeffkyt79, I could have answered this on Expert's Exchange. But I suppose it would be hard as the site is down right now :-(
    Here is sample code for the form:
    <form action="" name="form1">
    <input type="text" name="field1" value="<%
    if (session.getAttribute("field1")!=null) {
    out.println(session.getAttribute("field1"));
    } %>"><br>
    <input type="text" name="field2" value="<%
    if (session.getAttribute("field2")!=null) {
    out.println(session.getAttribute("field2"));
    } %>"><br>
    <input type="text" name="field3" value="<%
    if (session.getAttribute("field3")!=null) {
    out.println(session.getAttribute("field3"));
    } %>"><br>
    <input type="checkbox" name="check1" value="tick"<% if (session.getAttribute("check1")!=null) out.println(" checked"); %>><br>
    <% String selRadio=(session.getAttribute("r1")!=null)?(String)session.getAttribute("r1"):""; %>
    <input type="radio" name="r1" value="yesdot"<% if (selRadio.equals("yesdot")) {out.println(" checked");} %>>
    <input type="radio" name="r1" value="nodot"<% if (selRadio.equals("nodot")) {out.println(" checked");} %>><br>
    <select name="sel">
    <% String selOption=(session.getAttribute("sel")!=null)?(String)session.getAttribute("sel"):""; %>
    <option value="option1"<% if (selOption.equals("option1")) {out.println(" selected");} %>>OPTION 1
    <option value="option2"<% if (selOption.equals("option2")) {out.println(" selected");} %>>OPTION 2
         <option value="option3"<% if (selOption.equals("option3")) {out.println(" selected");} %>>OPTION 3
    </select>
    </form>
    And here's the revised javascript function to put in form1.jsp:
    function newWin() {
    f=document.form1.elements;
    str="?";
    mypage="test2.jsp"; // I've hardcoded the url for testing but you can fix this
    for (i=0;i<f.length;i++) {
    if (f.type=="text") {
    if (f[i].value!="") {
    str=str+f[i].name+"="+f[i].value+"&";
              continue;
         if (f[i].type=="checkbox"||f[i].type=="radio") {
         if (f[i].checked) {
         str=str+f[i].name+"="+f[i].value+"&";
         if (f[i].type=="select-one") {
         str=str+f[i].name+"="+f[i].options[f[i].selectedIndex].value+"&";
    str=str.substr(0,str.length-1);
    // now open the popup
    mypage+=str;
    win=window.open(mypage, 'myname'); // I've left out the winprops but you can fix this
    If you can ask any more questions, could you do it on EE (if possible!!). I know this works because I've tested it.

  • I clicked the full screen choice on the firefox drop down menu and now the firefox icon has disappeared. How do I get it back?

    I used the pull down menu on the firefox icon on the left hand upper corner to create a full a screen. Once the full screen was created the icon disappeared and I cannot go back to regular screen. HELP.

    If you run Firefox in full screen mode then press F11 or Fn + F11 to toggle (Mac: command+Shift+F).
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    *Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *Use "Firefox > Options" instead of "Tools > Options" if the menu bar is hidden.
    See also:
    *https://support.mozilla.com/kb/Menu+bar+is+missing

  • Product Drill Down Reporting and Using KKC7/KKC8 & KKRV

    Hello Guys,
    Need some expert advise on my issue.
    1. I have created a product group using T-code KKC7 and assigned materials to my product group.
    2. I have done some material movement posting using 261 on these materials.
    3. Next I run KKRV to collect data
    4. Next I run Report S_ALR_87013139
    I expect to see drill down  report by product group but I dont see anything?
    Is there something else which needs to be set?
    In spro I have checked reporting control parameters and its all good.
    Please share your thoughts.
    Regards,
    Sanjeev

    Dear Sanjeev,
    Did you get an error or information message when you execute S_ALR_87013139?
    Best regards,
    Jason

  • Alert Drill Down - Draft and Added Documents

    Hi,
    I want to be able to send and alert that allows drill down when the alert includes draft and multiple types of added documents (ie Sales Order, AR Invoice, Purchase Order, AP Invoice etc.)
    Currently my alert query has UNIONs for the draft table  and ADDED type documents. For the Added documents I select a dummy draft number. Of course this is very confusing to the user, who need to recognise that this is an ADDED document and not to drill but copy and retreive the document.
    select
    --For DRAFT Documents
    T0.DocEntry          as     'Draft_No',
    '' as  'Doc_No',
    'Draft'               as 'Type',
    ---etc. etc.
    UNION
    ---For  ADDED SALES ORDERS
    select
    (select min(docentry) from ODRF)     as 'Draft_No',
    T0.Docnum as  'Doc_No',
    'ADDED'          as 'Type',
    etc etc
    Sample Data returned by alert
    2     1210952     ADDED     N/A     NPO-PORT     Sales Order     Item     Approved     
    2     1410660     ADDED     N/A     CASHPUR     Purchase Order     Service     Approved     2009-11-23 00:00:00.000     Approvd PM     Open     N     -     Ibb     N     ALEXANDRE PERRACHON     SHARMA AJAY     SHARMA AJAY     DUJARDIN CYRIL     AUD     3630.000000     4     Administration - Marketing     -     Y     SHARMA AJAY     G161205     G161108     G161108     G017132     10     0     CASH PURCHASES     8     18
    Edited by: eric walker on Nov 23, 2009 6:19 AM

    Hi Eric,
    This is impossible.  Simply because, once you are using Union, drill down will no longer work.
    Thanks,
    Gordon

  • Problem in Drill Down feature and Scroll Bar

    Hi All,
    Well I have designed a report on Oracle BI and facing the following issues:
    1. When i opened the report through image/link box(from mypage dashboard or from some other way) and if the data have enough rows and columns to overflow the screen size then there is no scroll bar on the screen so i wouldn't be able to see that data.
    2. When I am clicking on the year(as i made a time hierarchy --> year then quater then month) on the either pivot table or chart view then automatically all corresponding Dashboard Prompts(DP) disappear so i can't filter the data.
    Please help me out in this.
    thanks in advance.
    regards
    mohit

    Regarding 2)
    This is the expected behavior of drill downs. The subsequent reports from the highest level are "system-generated." If you want the prompts, you will have to use the Navigate feature and navigate to a dashboard where you can have your prompts.
    Regarding 1)
    Are you using the Table View or Pivot Table view? If Table View, you can increase the number of rows that are visible by default (change this in the Properties of the Table View.) If you are using a Pivot Table, try this link:
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/

  • Drill down expand and collapse feature not available  Crystal Reports Desig

    Hi,
    Am I right in my understanding that drill down feature opens in a new tab and it cannot be made expand and collapse even using JRC.
    Please advise & thank you
    Selvi

    Hi Slevi,
    You are right with the understanding of the Drill down function. To have a drill down function available the minimum requirement is have at least a single group in the report.
    When we have a group with some underlying data and then when we would like to see data for a particular group, we can see a u201Cmagnifying glassu201D symbol which indicates that there is data for this group and we can use the Drill down function.
    When you drill on a particular group, the data for that group is shown in a new tab.
    I hope this provides some information about the Drill down function used in Crystal Reports.
    Regards,
    Prashant Saduwale.

  • Drop down menu and null pointer exception

    I am trying to build a drop down menu that gives you options on sorting a list (eg. it sorts on the Title) . The drop down must show which sort option has been selected after the sort occurs.
    I keep getting a "java.lang.NullPointerException". I realize this error arises from not assigning a variable to a specific object in java. I'm a .net developer who got thrown into customixing a java application and I just don't see the error. The error message didn't say on which line this occured but it is in the posted code.
    It worked for a while and now i gives me this error.
    Can someone help me please!?!?
    <%String     strCheck = new String("");%>                     </td>
                    <form action="ChangeSorting.jsp?recordView=<jsp:getProperty name='CumulusBean' property='recordView'/>" id="changeSortingForm" target="invisibleFrame" method="POST">
                         <td>
                   <select name="uid" size="1" onChange="document.getElementById('changeSortingForm').submit();">
                   <%if (session.getAttribute( "theUid" ).equals ("{1e58eab1-f625-4d6b-be82-ef0ea493cb7a}"))  {
                   strCheck = ("selected");
                    }%>
              <option value="{1e58eab1-f625-4d6b-be82-ef0ea493cb7a}"<%=strCheck%> >
                Title          </option>
    </form>     Thanks,
    Luis

    This is not JSF ..
    Anyway, it looks like that the following code returns nullsession.getAttribute( "theUid" )and invoking the equals() on it thus causes a NullPointerException.
    So check if this attribute really exists in the session and add a nullpointer check to the code. For example:if (session.getAttribute("theUid") != null && session.getAttribute("theUid").equals("blah")) { }

Maybe you are looking for

  • Oracle 8.1.6 Installation - Help-me!!!!!!

    I'm trying to install Oracle 8.1.6 from CD on Conectiva Linux but when I run ./runInstaller a blank window is displayed and nothing happens. I'm using linux kernel 2.2.16. During installation, some processes still running, consuming CPU, but nothing

  • Podcast playlist missing in Podcast App

    Just posted the following under iTunes Feedback. If you agree, please post also. Thanks, Okay, you removed Podcasts from the Music App on the Iphone and moved them to the Podcast App. Where did the playlists go? I don't just listen to 1 Podcast. I bu

  • Clear legend names in mixed signal plot

    I want to clear a graph entirely and rewrite new data to the mixed signal graph.  In order to clear it, I have to clear both the data and the plot names from the legend.  I do not see an easy way of clearing the plot names...anybody know the trick he

  • Dynamic sql in SQL field

    hello, I need execute an SQL dynamic as field's SQL: select field1, '(select field2 from table2)' from table1; And this field2 as output number. It's possible?

  • How can i convert a double to float

    double gallons; double startOdometer; double endOdometer; double mpg; double miles; endOdometer = Double.parseDouble (inputs); miles = endOdometer - startOdometer;                                                                  mpg = (miles/gallons)