Action Links - Browser Script

Hi All,
This has been a long process. I just wanted to use Action Links to open an external webpage based on a URL field that is stored in our data warehouse. The problem (based on my findings) is that external webpages can only be launched from OBIEE with a fixed part of the URL and then a query string section that follows the ? symbol. This is great if you are looking to launch a url with a query string (ie. google, cnn, etc.) but it doesn't help you if your url has no question mark.
My first solution was to build a redirect asp page. I would point the URL to this asp page with the real URL positioned after the question mark. The asp page would strip out the query string from the end of the url and then launch that webpage. This works great but it relies on an asp page being stored somewhere on a server (by IT). I would rather take advantage of the out of the box action link functionality using OBIEE solely. So I started looking at browser scripts. I am so close but can't get the last bit to work.
I have a function that looks like this:
USERSCRIPT.Show_URL = function popitup(url){
var url = c
alert(url);
My only issue is that this shows a comma at the beginning of the c variable. The c variable comes from the USERSCRIPT.parameter function sample that is in the USERSCRIPT.js file. Any ideas why there is a comma before my url? I tried using the replace function to get rid of it but it keeps erroring out saying 'Object doesn't support this property or method'.
Much Appreciated,
Mike

I finally got this to work on my own with a bit of work.
I borrowed some of the code for the displayparameters ootb function in the USERSRIPTS.js file but changed the variable that they have in the alert function from c to a. I then swapped out the alert function for the window.open function. This code now opens the url in my cell regardless of whether or not there is a ? in the url which in my case, there was not. I have set the parameter 1 to be the column value of the URL field.
USERSCRIPT.Launch_URL=function(b){var c="";for(args in b){var d=args;var a=b[d];c+=""+d+""+a;c+="\n"};window.open(a,'name')};
USERSCRIPT.Launch_URL.publish={parameters : []};
Perhaps this will save someone else some time.
Mike
PS Oracle could have save me a lot of work by just allowing variables to be passed into web page url's without the requirement of a question mark. Easy nice enhancement they should incorporate into next release.
Edited by: user8030589 on May 24, 2013 10:48 AM
Edited by: user8030589 on May 24, 2013 10:49 AM

Similar Messages

  • Invoking a Browser Script in OBIEE 11.1.1.5.0

    Hi
    In-order to meet a requirement I modified the Userscript.js in 11.1.1.5.0 located at "E:\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\b_mozilla\actions". After this I restarted all the services in EM, BI Server and ADMIN Server, but to no avail, the changes didn't reflect. It would be very helpful and greatly appreciated if you could provide a work-around/pointer etc to help reolve this issue. Should you require any information please let me know.
    Thanks!!

    Check this:-
    How-to: OBIEE 11g Javascript Integration using Action Framework (Browser Script) ~ Ask John OBIEE - Oracle Business Inte… 
    Mark if helps,
    Thanks,

  • "Invoke a Browser Script" Action in OBIEE 11g

    Follow website : http://www.rittmanmead.com/2012/07/navigating-to-bi-content-in-obiee11g-and-passing-multiple-parameters/
    In file "D:\oracle\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res\b_mozilla\actions\UserScripts.js"
    I added the following function(s) to "UserScripts.js":
    USERSCRIPT.customPortalPageNav = function(arg_array){
    var str="parent.PortalPageNav(1";
    for(args in arg_array){
    var arg_name=args;
    var value=arg_array[arg_name];
    str+=",'"+value+"'";
    str+=")";
    eval(str);
    USERSCRIPT.customPortalPageNav.publish={parameters:[
              new USERSCRIPT.parameter("1","Dashboard","/shared/FOLDERNAME/_portal/DASHBOARDNAME"),
              new USERSCRIPT.parameter("2","Page","Insert your Page"),
              new USERSCRIPT.parameter("3","Table","Insert Table"),
              new USERSCRIPT.parameter("4","Column","Insert Column"),
              new USERSCRIPT.parameter("5","Value","Insert Value")]};
    However, this function "USERSCRIPT.customPortalPageNav" cannot be displayed in "Invoke a Browser Script" Action.
    If I put the function name "USERSCRIPT.customPortalPageNav" directly in the "Invoke a Browser Script" Action dialogue, an error message will be shown. It said:
    The function "USERSCRIPT.customPortalPageNav" does not exist.
    Please check with your administrator that this function has been setup correctly in the user-defined script file.
    What I have done wrongly? Or, how can I check the "UserScripts.js" file path is correct? How can I find a correct path for "UserScripts.js">

    Hi Dpka,
    Yes, I do. But, still the same.
    In fact, I can see two sample functions in "Invoke a Browser Script" Action. (i.e. USERSCRIPT.putUrlInFrame, USERSCRIPT.example_displayParameters).
    I edit "USERSCRIPT.example_displayParameters", replace "new USERSCRIPT.parameter( 'p3', 'Enter value for Param 3' )" to "new USERSCRIPT.parameter( 'p3', 'Enter value for Param 3', 'p3 default value' )".
    Still, there is no default value for "p3".
    So, I wonder whether my file path is wrong. But, how can I know where is the exact path?

  • Action links in OBIEE 11g

    Hi All,
    Can anyone help to understand all Action Links in obiee 11g.
    Thank You,
    Ram.

    Hi Ram,
    Here are a couple URLs with examples on those types of actions.
    Java Method example
    http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
    Invoke Browser Script
    http://www.rittmanmead.com/2012/07/navigating-to-bi-content-in-obiee11g-and-passing-multiple-parameters/
    Invoke an HTTP Request
    This is a way to create a simple http GET or POST method, you can google around and find any number of examples on this.
    JB

  • Passing a date presentation variable in 'Invoke a Browser Script'

    Hi,
    I have a problem with passing presentation variable with Invoke a Browser Script.
    In my main report i set the filters and it works correctly:
    ColumnDate is greater than or equal to  @{vStartDate}{01/05/2015}
    ColumnDate is less than or equal to  @{vEndDate}{04/05/2015}
    (It works with different dates, i have tested, not only for the values between 01/05/2015 and 04/05/2015)
    i gave the same filters to the detail report.
    When i choose the action link to go the detail report, it only brings me the values between 01/05/2015 and 04/05/2015 .
    If i remove the default date values then both report gives the error :
    A date value was expected (received "vStartDate"). 
    Error Details
    Error Codes: GYYEWLWG 
    What i am doing wrong?
    Please help me.
    Thanks in advance.

    You should be using prepared statements.
    String scoredGoalsQuery = "SELECT count(name) from player_goal_rel where name = ? and pdate BETWEEN ? and ?":
    PreparedStatement pstmt = connection.prepareStatement(scoredGoalsQuery);
    pstmt.setString(1, pName);
    pstmt.setDate(2, startYear);
    pstmt.setDate(3, endYear);
    ResultSet scoredGoalsResult = pstmt.executeQuery();

  • Change / Delete action link & Printing in WDA

    Hi Experts,
    Q1. In one of my ALV table column i need to put link like this ' "Change" / "Display" '. Means in 1 column 2 Action LInk one is Change the other will be display. If user press on Change it will open another view in edit mode if user press on delete it will open the view in display mode.Also please tell what will be the domain of that field in the structure.
    Q2. Need a print button at the top of all the pages in my application with printing functionality. I am not sure it is psible in WDA or not. In few threads i read that we can achieve this using BSP & java scripting not with WDA.
    Can anyone please help me on this.
    Regards,
    Nik

    Q1.  You can't add two cell editors to the same column.  You will need to make these two separate columns.
    >Also please tell what will be the domain of that field in the structure.
    You don't need any field at all. You can add a column to the ALV output that doesn't exist in the underlying data dictionary structure.
    Q2.  Not currently possible.  There is print functionality in the ALV that uses the Adobe Document Services to output a PDF for printing of just the ALV content.  You can use the Print functionality in the browser itself.  SAP is currently developing print functionality like you describe targeted for possible inclusion in NetWeaver 7.02 (future features are always subject to change however).

  • OBIEE 11g - APEX Integration through Action links

    Hi All,
    We are trying to achieve SSO between OBI and APEX. We got this working by the below process.
    1. Integrate OBI domain with AD
    2. Integrate APEX with the same AD ( Perform standalone configuration)
    3. Create Action Link in OBI pointing to APEX form
    4. Accessing Action Link does not prompt the credentials
    5. APEX form opens up in a separate tab in browser
    We checked this by logging into OBI using an AD ID and jumping to APEX from there through action link. However the user context is not getting carried forward to APEX. For example if we login as "d123456" AD user in OBI, when we access APEX form the user name is appearing as "NO BODY" at the top right corner. We have a use case where in we want to capture the ID who is accessing the APEX form. The field is updated as NOBODY.
    But if we login to APEX stand alone URL, then the actual AD user name can be seen on APEX pages.
    Can some one help on how to carry forward the user context from OBI to APEX.
    Thanks in advance.

    Hi,
    I'm rearching the integration between Siebel Sales 8.1 and and obiee 11g, can you please share how to do the integration between the two? Some issue we can discuss together.
    Any docs or points would be very helpful.
    Thanks.

  • How to add action link to EPM FR

    I'm trying to add capability of linking to EPM FR by adding <registry> section in ActionFrameworkConfig.xml ,after that the content looks like this,
         <registries>
              <registry>
                   <id>HDPreg</id>
                   <name>Hyperion Directory Provider</name>
                        <content-type>epm</content-type>
                   <provider-class>oracle.bi.action.registry.epm.HDPRegistry
                        </provider-class>
                   <description>Hyperion Financial Reports Registry</description>
              <location>
              <path>http://epmfoundation:19000/workspace/browse/listXML</path>
              </location>
              <service-access>
              <account>EPM</account>
              </service-access>
         </registry>
    </registries>
    the xml file was valid that can be opened normally by IE.
    then I added the credential of "EPM" mapping to user admin who was given the administrator roles of FR,in fact i gave it all the roles under the financial report node in Shared Service.
    then I restarted the BI Server,and even restarted the computer. but when I added the action link by clicking the add new acliton link icon, an error occured said
    Trying to read a config value before initializing the reader
    and the EPM action link type was not shown in the action type list
    what else i should do to make it work?
    thanks
    Edited by: carry on 2012-11-9 下午7:11
    Edited by: carry on 2012-11-9 下午7:20

    Here is the correct format of ActionFrameworkConfig.xml.
    This is your EPM workspace/raframework location - <path>http://WinSvr64EPM:19000/raframework/browse/listXML</path>
    Thiis same EPM key need to create in credential store
    <account>
         <name>EPM</name>
         <description>Account used to access EPM.</description>
         <adminonly>false</adminonly>
         <credentialkey>EPM</credentialkey>
    </account>
    Below is my config file, it's working.
    <?xml version="1.0" encoding="UTF-8"?>
    <obi-action-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="afconfig.xsd">
    <aliases>
    </aliases>
    <registries>
    <registry>
         <id>HDPreg</id>
         <name>Hyperion Directory Provider</name>
         <content-type>epm</content-type>
         <provider-class>oracle.bi.action.registry.epm.HDPRegistry</provider-class>
         <description>Hyperion Financial Reports Registry</description>
         <location>
         <path>http://WinSvr64EPM:19000/raframework/browse/listXML</path>
         </location>
         <service-access>
         <account>EPM</account>
         <propagateIdentity>false</propagateIdentity>
         </service-access>
    </registry>
    </registries>
    <content-types>
    <content-type>
         <typename>epm</typename>
         <displayname>Hyperion Applications</displayname>
         <actionType>URLActionType</actionType>
    </content-type>
    <content-type>
         <typename>webservices</typename>
         <displayname>Web Services and BPEL Processes</displayname>
         <actionType>WebServiceActionType</actionType>
    </content-type>
    <content-type>
         <typename>misc</typename>
         <displayname>Mixed Services</displayname>
         <actionType>URLActionType</actionType>
    </content-type>
    </content-types>
    <accounts>
    <account>
         <name>WLSJNDI</name>
         <description>Account used to access WLS JNDI.</description>
         <adminonly>false</adminonly>
         <credentialkey>JNDIUser</credentialkey>
    </account>
    <account>
         <name>EPM</name>
         <description>Account used to access EPM.</description>
         <adminonly>false</adminonly>
         <credentialkey>EPM</credentialkey>
    </account>
    </accounts>
    </obi-action-config>

  • CRM on Demand Reporting; Action Links in Pivot Tables

    Hi All
    I have a problem with Action Links for Oracle CRM on Demand. When I click on an action link to navigate to an account detail page, I get the following error:
    The record you are trying to access has been deleted or has been assigned a new owner and you no longer have access to it. If you deleted the record, it may be accessed in Deleted Items. If you continue to have problems contact your Oracle CRM On Demand Administrator.
    Browsing the forums brought up this thread: Can't access a record with an ActionLink
    In this thread it's said to place the Account ID column right next to the Account Name column. This solution works for regular tables, but not for pivot tables.
    Is it possible to link to an account detail page from pivot links?

    For pivot tables you will have to use this method in order to be able to drill down to the detail page:
    On you Report-
    Define Criteria: Add the Account ID (Record ID field is a must)
    - Click on the Properties icon on this column--> Data Format Tab --> uncheck Override Default Data Format and select Plain Text from the Treat Text as drop down.
    Add the below code in the text area.
    "http://"@[html]"<a target=_top
    href=https://*secure-ausomxXXX*.crmondemand.com/OnDemand/user/AccountDetail?OMTGT=AccountDetailForm&OMTHD=AccountDetailNav&AccountDetailForm.Id="@">View Account</a>"
    Add this column on the Rows section of the pivot table.
    Hope this helps!
    Royston

  • Can we Hide/Show the Mouse with an Action or a Script?

    Hello All,
    I am developing a simulation using click boxes in Captivate 4, on Windows XP. If the user doesn't click the right place, the slide continues, and shows the user what to do. If the user clicks the correct place, the simulation goes to the next slide directly. The problem is, successful or not, when the user goes to the next slide, the recorded mouse pointer displays on the slide. If I hide the mouse, then it remains hidden even if the user clicks outside the box too many times and the simulation continues, to show the user what to do. It's as if things on the screen just select or click themselves.
    I know mouse visibility is treated differently in the timeline than other objects. That's not a particularly big deal, so long as there is some way to control the mouse visibility for simulations (one of Captivate's big selling points). Is there a way to control the mouse visibility with an Action or with Script?
    The current settings for my click boxes are:
    I tried to assign an Action (multiple actions, really) to hide, show, enable, or disable the mouse but the mouse doesn't seem to be available to do so!
    Am I missing something?
    Thanks,
    ~jeff

    Hi there
    Nope, the mouse is an all or nothing object. It's either visible or not and it's your choice as to what you show. No way I'm aware of to programmatically display it. All I might suggest is that if you want to show the user the mouse moving, duplicate the slide so that if they fail to click the right area, the duplicated slide has the mouse moving to demonstrate.
    Oh, and consider submitting a Wish Form to ask for the capability in some future version of Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • PDF action links

    I have report with table view.
    One of the column has action link, whivh open Google search page with the cell value as the query.
    The exported PDF of table report include the action links in the resulting table: below the cell value there is also the link option (in each row).
    a. It doesn't work. When I click on the action link in the PDF I got error on browser.
    b. Even if would have been working. When the user send this PDF to someone else without OBIEE connection, it won't work. Can I disable it?

    Hi Adil,
    Placing the pdf file in /l_en folder dint work for me too however you can place them inside the following paths and restart the services,
    D:\MWARE\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res
    AND
    D:\MWARE\Oracle_BI1\bifoundation\web\app\res
    You can then call your file with the url, http://hostname:port/analytics/res/filename.pdf
    It worked for me, let me know in case of any issues.
    Rgds,
    Dpka

  • Browser Script and Open UI

    We've encountered an issue where the Open UI client doesn't appear to use existing Browser Script. We have the Standard HI client and the Open UI client both running on the same web/app server with cloned object managers. The standard HI client is calling the browser script (there is a simple alert in the load event of an applet), but the Open UI client does not for the same applet. I can go into Develpoer mode in Chrome or IE9 for the Open UI client and look through the script that it's pulled in and I don't see any script pulled down for the srf######### directory. I do the same for IE9 and the Standard HI client and I can see all the browser script for the srf####### directory. We are running 8.1.1.10.
    I'm hoping it's just a switch, config setting on the cloned Open UI object manager or something that we just missed setting. Or perhaps deploying the browser script is different in the Open UI world.
    Thanks to anyone who can provide insight or can confirm that they've gotten it to work for themselves.

    The Deployment Guide (1499842.1) states:
    Migrating browser scripting
    There should be no requirement to change the client side browser scripting to run Siebel Open UI. Customer must ensure however that no browser specific JavaScript is implemented in existing browser scripts to ensure function beyond the traditionally supported browsers.
    Specific methods in Siebel have been enhanced or changed for a variety of reasons such as security. These methods include:
     WriteRecord: WriteRecord method in browser script failing in the Siebel [ID 1551530.1]
     ProfileAttributes: Why is GetProfileAttr/SetProfileAttr not Working in Siebel [ID 1546662.1]
    o SetPRofileAttr
    o GetPRofileAttr
    Information on Scripting related information for these methods can be found at the links above

  • Action links in JEditorPane like in Eclipse Editor

    Hi! I'm desperately looking for help on this topic:
    How to display a sort of link in a JEditorPane whose action is not to open a browser page but to display something in another JEditorPane?
    I think it must be the same type of action as in Eclipse Editor, where you can control-click on a function name and instantly see its declaration.
    Any ideas?
    Thanks!

    Problem is I need to pass the values of the prompts on the dashboard so that the analysis I navigate to is automatically filtered. This happens automatically with action links.
    For Example:
    Dashboard prompt: Category: Open
    Narrative Report
    # of Items 4
    Clicking on 4 should navigate to a list report that shows the 4 # of items
    Category Item
    Open Item1
    Open Item2
    Open Item3
    Open Item4

  • GetProperty() in Browser script and Open UI

    Hello Open UI Expert,
    I was going through IP2014 deployment guide and found something around GetProperty() as below. 
    GetProperty() can return undefined values as opposed to empty values and this requires code alignment.
    However, when we turned on OpenUI , we found that the script which was working correctly.
    Can you please help me to , under which scenarios GetProperty() method would work in OpenUI from your experience?
    Also it was mentioned that it would need a code alignment, as far as my understanding goes, we can rewritte code in server script.
    Can you please help me to validate understanding?

    The Deployment Guide (1499842.1) states:
    Migrating browser scripting
    There should be no requirement to change the client side browser scripting to run Siebel Open UI. Customer must ensure however that no browser specific JavaScript is implemented in existing browser scripts to ensure function beyond the traditionally supported browsers.
    Specific methods in Siebel have been enhanced or changed for a variety of reasons such as security. These methods include:
     WriteRecord: WriteRecord method in browser script failing in the Siebel [ID 1551530.1]
     ProfileAttributes: Why is GetProfileAttr/SetProfileAttr not Working in Siebel [ID 1546662.1]
    o SetPRofileAttr
    o GetPRofileAttr
    Information on Scripting related information for these methods can be found at the links above

  • Action links in Narrative View

    Dear Experts
    Could you pls. let me know , if there is a possibility of incorporating Action links in Narrative view. I can put simple href link but the requirement is to put two three action links to choose from.
    Regds

    Hi svee
    I tried the following code , but still not able to dynamically change the url based on my selection value. Here I am creting the below report by passing year prompt and want to pass he same prompt while navigating to a differnet page through href link.
    Prefix
    <html>
    <body>
    <div align="left" valign="top">
    <div style="width:922px;height:461px;">
    <img src="http://hostname:7777/analytics/res/s_blafp/images/eva_history_6.JPG"/>
    --</div>
    --<div style="width:922px;height:50px;">
    --<div style="position:relative;top:-420px;left:780px;"><a id="b" href="http://172.18.18.71:7777/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2Fcfo_dashboard%2FDetail_Reports%2FOp_Revenue_Report" target="blank"></a>
    --</div>
    ---<div style="position:relative;top:-405px;left:805px;"><a id="a" href="http://172.18.18.71:7777/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2Fcfo_dashboard%2F_portal%2FCOGS&Page=page%201&Action=Navigate&col1=%22YEAR%22.%22YEAR%22&val1="@1"" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-390px;left:805px;"><a id="c" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-380px;left:800px;"><a id="d" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-370px;left:805px;"><a id="e" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-355px;left:795px;"><a id="f" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-342px;left:795px;"><a id="g" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-312px;left:805px;"><a id="h" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-302px;left:815px;"><a id="i" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-292px;left:790px;"><a id="j" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-280px;left:800px;"><a id="k" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-238px;left:815px;"><a id="l" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-225px;left:810px;"><a id="m" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-197px;left:800px;"><a id="n" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-560px;left:430px;"><a id="o" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-470px;left:425px;"><a id="p" href="http://www.google.com" target="blank"></a>
    --</div>
    ---<div style="position:relative;top:-390px;left:607px;"><a id="q" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-300px;left:600px;"><a id="r" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-370px;left:420px;"><a id="s" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-290px;left:310px;"><a id="t" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-420px;left:285px;"><a id="u" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-650px;left:290px;"><a id="v" href="http://www.google.com" target="blank"></a>
    --</div>
    --<div style="position:relative;top:-585px;left:165px;"><a id="x" href="http://www.google.com" target="blank"></a>
    --</div>
    --</div>
    --</div>
    <script type="text/javascript">
    var chartDataLabels = new Array();
    var chartData = new Array();
    var chartDataHidden = new Array();
    var t_cell;
    function color_cell (text, val) {
    t_cell = '<FONT face="Times New Roman" color=';
    if (val < 0) {
    t_cell = t_cell + "red";
    else {
    t_cell = t_cell + "blue";
    t_cell = t_cell + ' size="1"><B>' + text + ' - ' + val +'</B></FONT>';
    return t_cell
    Narrative
    chartDataLabels.push('@2');
    chartData.push('@3');
    Postfix
    document.getElementById('b').innerHTML = color_cell(chartDataLabels[19],chartData[19]);
    document.getElementById('a').innerHTML = color_cell(chartDataLabels[2],chartData[2]);
    document.getElementById('c').innerHTML = color_cell(chartDataLabels[21],chartData[21]);
    document.getElementById('d').innerHTML = color_cell(chartDataLabels[11],chartData[11]);
    document.getElementById('e').innerHTML = color_cell(chartDataLabels[6],chartData[6]);
    document.getElementById('f').innerHTML = color_cell(chartDataLabels[8],chartData[8]);
    document.getElementById('g').innerHTML = color_cell(chartDataLabels[7],chartData[7]);
    document.getElementById('h').innerHTML = color_cell(chartDataLabels[15],chartData[15]);
    document.getElementById('i').innerHTML = color_cell(chartDataLabels[1],chartData[1]);
    document.getElementById('j').innerHTML = color_cell(chartDataLabels[16],chartData[16]);
    document.getElementById('k').innerHTML = color_cell(chartDataLabels[5],chartData[5]);
    document.getElementById('l').innerHTML = color_cell(chartDataLabels[0],chartData[0]);
    document.getElementById('m').innerHTML = color_cell(chartDataLabels[20],chartData[20]);
    document.getElementById('n').innerHTML = color_cell(chartDataLabels[14],chartData[14]);
    document.getElementById('o').innerHTML = color_cell(chartDataLabels[12],chartData[12]);
    document.getElementById('p').innerHTML = color_cell(chartDataLabels[23],chartData[23]);
    document.getElementById('q').innerHTML = color_cell(chartDataLabels[9],chartData[9]);
    document.getElementById('r').innerHTML = color_cell(chartDataLabels[10],chartData[10]);
    document.getElementById('s').innerHTML = color_cell(chartDataLabels[24],chartData[24]);
    document.getElementById('t').innerHTML = color_cell(chartDataLabels[4],chartData[4]);
    document.getElementById('u').innerHTML = color_cell(chartDataLabels[3],chartData[3]);
    document.getElementById('v').innerHTML = color_cell(chartDataLabels[18],chartData[18]);
    document.getElementById('x').innerHTML = color_cell(chartDataLabels[13],chartData[13]);
    </SCRIPT>
    </body>
    </html>
    Edited by: 894860 on Aug 2, 2012 2:54 AM

Maybe you are looking for