Dynamic framesets?

I have a special application for frames. I want a link in one
frame to add
a bunch of URL variables to a frame src attribute in the
frameset file.
So, in that one frame, I have this (index.php is the frameset
file) -
<a href="index.php?loc=locationA">Location A</a>
and in the frameset file (index.php), I have this
<?php
$link = ($loc ==
'locationa')?"action=newsearch&searchtype=map&rewire=yes&map_start_lat=40.311&map_start_l ng=-75.325&map_start_scale=12000":"action=newsearch&&searchtype=map&rewire=yes&map_start_l at=39.993749&map_start_lng=-75.236859&map_start_scale=11";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
http://www.w3.org/TR/html4/frameset.dtd">
<frame src="
http://www.example.com/folder/folder/index.cfm?<?php
echo $link;
?>" name="mainFrame">
I can see that clicking on the link causes the frameset code
to be
rewritten, but the contents of that main frame are not
changing! What have
I overlooked?
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
==================

They *do* have uses. And note that I have always said that
they are rarely
the optimal choice. Just happens that this is one of the rare
occurrences!
8)
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
==================
"Brendon" <[email protected]> wrote in message
news:[email protected]...
> Can someone make a note of this day in history - Murray
is using frames!!!
> ;-)
>
> Brendon
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>>I have a special application for frames. I want a
link in one frame to
>>add a bunch of URL variables to a frame src attribute
in the frameset
>>file.
>>
>> So, in that one frame, I have this (index.php is the
frameset file) -
>>
>> <a href="index.php?loc=locationA">Location
A</a>
>>
>> and in the frameset file (index.php), I have this
>>
>> <?php
>> $link = ($loc ==
>>
'locationa')?"action=newsearch&searchtype=map&rewire=yes&map_start_lat=40.311&map_start_l ng=-75.325&map_start_scale=12000":"action=newsearch&&searchtype=map&rewire=yes&map_start_l at=39.993749&map_start_lng=-75.236859&map_start_scale=11";
>> ?>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN"
>> "
http://www.w3.org/TR/html4/frameset.dtd">
>> ...
>> <frame src="
http://www.example.com/folder/folder/index.cfm?<?php
echo
>> $link; ?>" name="mainFrame">
>>
>> I can see that clicking on the link causes the
frameset code to be
>> rewritten, but the contents of that main frame are
not changing! What
>> have I overlooked?
>>
>> --
>> 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
>> ==================
>>
>>
>
>

Similar Messages

  • Pages in frameset -script to open windows

    I have a site built in frames. When you link directly to a
    page not in my index frameset the page shows but of course the
    frames that should be there don't show because I don't know the way
    around. I tried an open window java script thing I got off the net
    but it seemed as if I needed to set a size somewhere or I did it
    wrong because it only brought up the frame and not the page also.
    Also, I have left and top navigation frames which I don't know how
    to script in. Not sure how to do this. Hope you all know what I'm
    getting at here. Also, I have a tutorial marked on making a dynamic
    frameset, I will study as time allows. Thanks.
    for reference
    my site

    > Yeah. well. I like the look of the two set frames and
    and one moving main
    > frame where the nav doesn't scroll with the page. Is
    there a way to
    > absolute
    > position the nav boxes so it will achieve the same look?
    Sorry for
    > putting
    > ameturish stuff on the net I have no training.
    The problems with frames is that they can cause many other
    problems.
    Samples include, as mentioned, the fact that your SSL page
    won't show as
    secure in some browsers, bookmarking pages can become
    impossible, it can
    make it difficult for search engines to navigate, it makes it
    harder for
    search engines to link into your site, and it can cause
    accessibility
    issues.
    On top of that, it can become a real pain to maintain.
    Wanting a 'static' menu is a common reason to use frames, but
    rarely is that
    type of functionality really needed at all. People can scroll
    web pages
    fairly easily.
    You can create a static menu sans frames if you want to use
    some CSS and
    javascript, though I tend to find those as annoying as frames
    a lot of the
    time.
    Another solution is to put your content into a scrollable
    div. Many people
    do that. However, I'm not a fan of trapping the important
    part of your site
    (the content) into a small box.
    Ultimately, the best optio is usually to just let the page
    flow as is.
    Also, and I've think I've said this before, your actual
    artwork is stunning.
    beautiful stuff. However, it's trapped in a rather gaudy page
    design with
    distracting backgrounds and flashing GIFs and drop shadows
    and the like.
    Think SIMPLE. Let your product shine through. Let people
    focus on that.
    -Darrel

  • Dynamic pages and redirection to framesets

    Is it possible to send dynamic data to a page that occupies one frame in a frameset............and then to do a redirection from that frame to the frameset as a whole?  I was hoping my dynamic data would then appear in it's correct place in the frameset.  But it doesn't seem to work.
    Instead it embeds the entire frameset within the one frame where I sent the dynamic data originally.  So I end up with a frameset inside a frameset.  Very frustrating
    dm225

    your recordset query returned no results...
    do you have a error trap for no records returned like
    <%
    if not Recordset1.eof then
    %>
    <img src="<%=Recordset1("dphotos")%>" alt="">
    <%
    else
    response.write "Something went wrong...." &
    err.description
    end if
    %>
    this will help you diagnose errors
    or
    <%
    if not recordset1.eof then
    NXB=1
    end if
    %>
    <img src="<% if NXB=1 then response.write
    Recordset1("dphotos") %>" alt="">
    Mike K
    "Genxbyapinch" <[email protected]> wrote in
    message
    news:ed2ldu$r0$[email protected]..
    >
    >
    > I have been searching for help ( more than a few days)
    but have not yet
    found
    > anything that works.
    > My database connection is ok
    > My record set comes up with data ie test is okay
    > I have followed the instructions for putting data on
    results page ie
    dragging
    > and inserting, primarily I want to
    > show images from my access 2002, but anything other than
    that would be
    good.
    > I did read that access doesnt support binary data but on
    a sample database
    in a
    > course I was doing they used access for displaying
    dynamic content so I am
    > !confuSed!.
    >
    > I have Dreamweaver 8, I am using OBDC, I have enabled
    permissions, my
    server
    > brings up my home page with search form ok.
    >
    > detailed error: 800a0bcd, eigher BOF is True or the
    current record has
    been
    > deleted , It then gives me the line# I have many books
    but none on asp and
    > vbscript so am floundering,
    > <img
    src="<%=(Recordset1.Fields.Item("dphotos").Value)%>"
    alt="">
    >
    > Thanks for any help
    >
    >
    >

  • IT0071 Dynamic Action does not overwrite Pension Scheme Calculation Rule

    I am trying to write a dynamic action to create IT0071 with default values for the Employee contribution (0%) and Employer contribution (4%). However when IT0071 is created the default values from the associated Pension Scheme Calculation Rule (4% and 8%) are not being overwritten by the dynamic action. Is there a way to get the dynamic action to override the Pension Scheme Calculation Rule values?
    This is the dynamic action u2026
    0171              BENGR     06     10     P     T001P-MOLGA='08'
    0171              BENGR     06     15     P     PSPAR-MASSN='01'/X
    0171              BENGR     06     20     P     PSPAR-MASSN='12'/X
    0171              BENGR     06     25     P     P0171-BENGR<>NOBN
    0171              BENGR     06     30     P     P0171-BSTAT<>NOBN
    0171              BENGR     06     300     I     INS,0071,SS7,,(P0171-BEGDA),(P0171-ENDDA)
    0171              BENGR     06     315     W     P0071-PCTEE='0.0000'
    0171              BENGR     06     320     W     P0071-PCTER='4.0000'
    Any help much appreciated.
    Regards,
    Janet

    Hi Brian,
                  In standard SAP physical sample planning requires sample drawing procedure.
    Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
                  And drawing procedure is advised with partial sample numbers.
    Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
                 Generally when we use partial sample numbers, we also use a drawing procedure. And in that scenario SAP describes the calculation as shown in
    Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
                 What you have done (partial samples for MICs and not having for others, all without drawing procedure) is not generally done. I think our observations in this context should be confirmed only if we try more of such examples.
    Regards
    Sm.

  • Dynamically passing the values to search help

    hi
    can I pass some values dynamically to search help input field.
    If I select a profit centre value from a drop down in separate field it should reflect the corresponding values in
    search help which is cost centre input field ( i/p fields is in a column of a UI element table).
    If I add one more row also the corresponding column should bears the search help...
    thanx in advance.......

    Data dictionary based search helps can have multiple importing parameters within Web Dynpro.  There are few rules that are documented in the online help however:
    Be aware that import and export parameters for the search help are determined only within the same context node (see also Transport of Values for the Input Help), and even then only if a Dictionary structure is assigned to the node.
    http://help.sap.com/saphelp_nw70/helpdata/EN/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm

  • How to create Dynamic Internal table in ALV?

    Hi all,
    I have to create a ALV report based on dynamic internal table. The requirement is that when I enter the months in my selection screen I should get the data relevant to those many months only. For eg if in selection I have given January to March, I should get an ALV output with columns from January to March only.
    Please help me with the coding part as I find it a bit confusing.
    Please reply immediately.
    Regards,
    Bhavani.

    Hi BHAVANI,
    first you have to prapare a field catalog [(see this)|http://help.sap.com/saphelp_470/helpdata/en/52/5f060de02d11d2b47d006094192fe3/frameset.htm]
    and than you can use a Method cl_alv_table_create=>create_dynamic_table
    I hope that help a little.
    Regards Bogdan

  • How to dynamically determine Receivers within BPM

    I’m trying to design a way to determine my receivers within my BPM process during runtime.   My Scenario is as follows:
    SAP IDOC
        V
      XI
                 XI uses JAVA Mapping MT1 to determine vendors and if customer receives PIDX
                             JAVA Mapping MT2 to creates the PIDX output file if required
      V
    SENDs to required Vendor (PIDX if required otherwise email)
    My problem is how to dynamically determine the appropriate receiving vendor for my PIDX.
    I can not use the condition editor on the standard Receiver Determination because the output message (PIDX) doesn't have specific enough information to determine the vendor.
    Other than the customer number there are no other values and we don't want to use customer number because each vendor can have multiple customer numbers (hundreds).
    I've tried various attempts but none seem to work.  This could also be because I have limited knowledge of BPMs and this is my first complex development.  Below are the different attempts I've made at dynamically determining the receiver.  Any input would be appreciated.
    Receiver Scenario 1 
      I developed an interface mapping with MT1 as input and the SAP Receiver Determination as output.  The problem is for me to use this, the interface mapping had to reference the PIDX output (MT2 instead of MT1) which has no data that I can use to determine the receiver.
    Receiver Scenario 2
    I added a receiver step right before my send step and used the receiver list.  This appears to send the PIDX to everyone in the list and there is no way to evaluate or eliminate a name from the list. 
    Receiver Scenario 3
    I created a context object in the Integration Builder and assigned it to a field in MT1.  I then added a switch step with a branch for each vendor.  Within each specific branch there is a Send step that has the context object name I created in the "Send Context" field.  However, on the configuration side I’m unable to access the context object which I created on the design side.  Whenever I open the condition editor and select the radiobutton for "Context Object" the list  does not include the context object I created in the Integration Builder.

    Hi,
    Try using the enhaced receiver determination concept.
    Maybe based on certain field values you can write a UDF which calculates the receiver.
    Try this Blog out
    Link : [
    http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]
    Regards,
    Abhishek
    Award if helpful.

  • Dynamically change the cell editor in the table control

    Hi..
         I have 3 columns in a table . of which in one column we need to change the cell editor dynamically at runtime.
    i.e for example i have  columns as carrid, connid and fldate.
    For the first 2 rows the cell editor for the carrid  clomn shud be a dropdown and from there on in the next rows for the same  carrid column it shud be a input field.
    Can experts plz help me how to achieve this as this is very high priority issue....
    Regards,
    Madhu...

    This is actaully fairly simple to do.  You will need to add a cellVariant to your table column. You can then dataBind a context attribute to the selectedCellVariant property of the column to control which cellVariant will be used. This allows you to control row-by-row which cell editor you want to output.
    http://help.sap.com/saphelp_nw70/helpdata/EN/bd/5d9041d3c72e7be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/56/5e9041d3c72e7be10000000a1550b0/frameset.htm
    Also here is an example that I did the other day that uses Cell Variants within ALV.  This process is actually a little more complicated because you have to go through the ALV APIs.  To do this in a normal table is actually easier because you can create the cellVariant in the layout designer.
    Re: Freely-programmed value help for a single ALV cell

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • Dynamic create Component usage and embed it in view container

    There is a view_container_uielement VC_TEST  in view V_MAIN, in wd component ZTEST.
    I created a web dynpro component named ZWDR_TEST and add it into the wd component ZTEST.
        gr_comp_test = component->create_cmp_usage_group(
          name = 'TEST_GROUP'
          used_component = 'ZWDR_TEST' ).
        lr_comp_usage = me->gr_comp_test->add_component_usage(
          embedding_position = 'V_MAIN/VC_TEST'
          name = 'TEST'
          used_component = 'ZWDR_TEST' ).
        if lr_comp_usage->has_active_component( ) is initial.
          lr_comp_usage->create_component( component_name = 'ZWDR_TEST' ).
        endif.
        ifc_test ?= lr_comp_usage->get_interface_controller( ).
    I thought the wdr ZWDR_TEST was embeded in the view V_MAIN in the position VC_TEST by the embedding_position parameter.
    But in the result web page, there is no ZWDR_TEST in the position of VC_TEST.
    Could any one explain why?
    Thanks

    Hi,
    for dynamic comp usage.. check this..
    http://help.sap.com/saphelp_nw70/helpdata/en/bc/191a427ff6db2ce10000000a1550b0/frameset.htm
    Dynamic Component Usage
    embed view
    Dynamic View embed
    How to create a webdynpro view dynamically and embed into view container?
    Cheers,
    Kris.

  • Problem while using dynamic geo characteristic on a map

    Dear all,
    I'm not able to display dynamic geo characteristics on a map though I am able to display static geo chars on a map. I have done the following:
    - Define the characteristic as dynamic geo characteristic.
    - Download the Geo data from the char on my local system.
    - Edit the data and enter the value in the fields X & Y (For latitude and longitue).
    - Save the file as csv and load the master data attr file back to the system along with the value of latitude and longitue.
    - Create a query and add keep only this char in a rows.
    - Use this query as a data provider for a map web item in WAD.
    After doing this I get 'Map can not be displayed' error when I execute this web template. Is there some step I have missed here? There's no problem with the IGS because I'm able to display the queries with static geo characteristics on a map using WAD.
    Another query I have is which shape file will be used and displayed as a map in the web template in case of dynamic geo chars (I'm confused because dynamic geo chars do not allow shape files to be loaded unlike the static geo chars). I'll be grateful for any suggestions on this. Thanks in advance.
    Regards,
    Sumit

    Just follow instructions for query design for class 2 renderers (symbol, bar chart, pie chart for dynamic geo-characteristics).
    "For these renderers, the dynamic geo characteristic must appear in the related data provider in the rows. You must have also selected the Longitude and Latitude display attributes to be displayed. No other characteristics or key figures must appear in the rows. Only the first column is considered by the symbol renderers. The renderers bar chart, pie chart, and pie chart (split) consider all columns."
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    In my case it helped

  • Passing Parameters dynamically to an iview in the portal

    Hi All,
        I have 2 iviews.  IviewA, IviewB. These are PAR based iviews(dynpage technology).
    IviewA displays a dropdown which contains:
    2006
    2007
    2008.
    If the user selects a particular year say 2006 and click next, IviewB should display 2006 data.  Right now, it is displaying only 2006 data irrespective of the year selected from the drop down since 2006 value is hardcoded in the property of IviewB.
    Is there anyway to pass these parameters (2006,2007,2008) dynamically in portal so that respective year data will be displayed instead of achieving it through coding?
    Hope I am clear.  Please suggest.
    Regards,
    Subashini.

    Hi Subashini,
    When a business application uses more than one iView, you need the EPCF service to transfer data between the iViews. The EPCF service provides:
    ·        Mechanisms for eventing between iViews.
    ·        A Java object, called a client data bag, that serves as transient data buffer on the browser.
    The EPCF implementation itself is based on JavaScript and Java applets.
    Kindly go through the following links, you should find a solution.
    Forum threads:
    1.
    2.
    SAP Library:
    1. http://help.sap.com/saphelp_nw04/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
    2. http://help.sap.com/saphelp_nw04/helpdata/en/9f/6fa84016631814e10000000a1550b0/frameset.htm
    Regards,
    Anagha

  • Dynamic Creation of form

    Hi,
    I need to create a web dynpro form that will filtered the fields to be displayed or set the property (mandatory or read only) based on 5 criteria selected by user. Due to complexity of the form, i need to create the form dynamically during run time in order to cope for occasional changes, thus minimum effort required for changes in DB, eventing, GP etc.
    Anyone has any suggestion of how can i store the UIs, validation, and etc that relevant to the form creation? So that it's feasible to create the form during runtime by just read everything that is given from the source.
    However i am understand that i can create the UI at runtime.

    You will have to write the code in doModify
    IWDAttributeInfo attinfo =
    wdContext.getNodeInfo().getAttribute("<attribute name>");
    IWDInputField ip = (IWDInputField)view.createElement(IWDInputField.class,null);
    ip.bindValue(attinfo);
    Like wise if it is a checkbox
    IWDCheckBox cb = (IWDCheckBox)view.createElement(IWDCheckBox.class,null);
    cb.bindChecked(<attribute info>)
    chk it
    http://help.sap.com/saphelp_nw04s/helpdata/en/94/29984197eb2e7be10000000a1550b0/frameset.htm

  • How to get frame document in frameset

    Hi, All
    I have a application that need to resolve a very old website that write by frameset/frame. While I use webView.getEngine(), I just get the top window.
    But what's I need is one of frame document(for example below frame1), I need to monitor one of the frame change event(LoaderWorker, document change event), this frame will dynamically change when user click refresh button. But base on currently API, seems I just get top WebEngine and can just monitor top document load and document change event.
    How can I monitor frame event.
    <frameset>
    <frame name="frame1" src="sample1.html"></frame>
    <frame name="frame2" src="sample2.html"></frame>
    </frameset>

    You could either make an executescript call on your main document to add a javascript based event handler listening to changes to the frame contents or add the same event handler via java by manipulating the document returned from webEngine.getDocument(). I can't help with a detailed solution for now, but at least you have a direction.

  • Help me in building menus dynamically to database

    i have the following code whic is developed normal html and .js and .css pages
    i need to deploy all these in a webserver and make the menus dynamically
    i am sending he following code plz help me
    since i am new to java and jsf, jsp i am unable to perfrom the task
    mainpage.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
         <head>
              <title></title>
         </head>
         <frameset rows="93,*" border="0" frameborder="0">
              <frame src="head.htm" name="top" scrolling="no">
                        <frameset cols="130,*" border="0" frameborder="0">
                   <frame name="navi" id="navi" src="nag.htm" scrolling="no" border="0" noresize>
                        <frame name="main" id="main" src="welcome.htm" scrolling="no">
              </frameset>
         </frameset>
    </html>
    menupage.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head></head>
    <body>
      <script type='text/javascript'>function Go(){return}</script>
      <script type='text/javascript' src='verticalmenu_var.js'></script>
      <script type='text/javascript' src='vermenu132_compact.js'></script>
      <noscript>Your browser does not support script</noscript>
    </body>
    </html>and two javascript files they also i am pasting plz help me out how to link up the menu with the database in JSF using the following and above said codes
    verticalmenus.js
         var NoOffFirstLineMenus=9;               // Number of main menu  items
                                  // Colorvariables:
                                  // Color variables take HTML predefined color names or "#rrggbb" strings
                                  //For transparency make colors and border color ""
         var LowBgColor="#336699";               // Background color when mouse is not over
         var HighBgColor="#009900";               // Background color when mouse is over
         var FontLowColor="#ffffff";               // Font color when mouse is not over
         var FontHighColor="#ffffff";               // Font color when mouse is over
         var BorderColor="#ffffff";               // Border color
         var BorderWidthMain=1;               // Border width main items
         var BorderWidthSub=1;               // Border width sub items
         var BorderBtwnMain=1;               // Borderwidth between elements
         var BorderBtwnSub=1;               // Borderwidth between elements sub items
         var FontFamily="arial,comic sans ms,technical";     // Font family menu items
         var FontSize=11;                    // Font size menu items
         var FontBold=1;                    // Bold menu items 1 or 0
         var FontItalic=0;                    // Italic menu items 1 or 0
         var MenuTextCentered="left";          // Item text position left, center or right
         var MenuCentered="left";               // Menu horizontal position can be: left, center, right
         var MenuVerticalCentered="top";          // Menu vertical position top, middle,bottom or static
         var ChildOverlap=0.2;               // horizontal overlap child/ parent
         var ChildVerticalOverlap=0.2;               // vertical overlap child/ parent
         var StartTop=50;                    // Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
         var StartLeft=0;                    // Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
         var VerCorrect=0;                    // Multiple frames y correction
         var HorCorrect=0;                    // Multiple frames x correction
         var DistFrmFrameBrdr=2;               // Distance between main menu and frame border
         var LeftPaddng=8;                    // Left padding
         var TopPaddng=2;               // Top padding. If set to -1 text is vertically centered
         var FirstLineHorizontal=0;               // Number defines to which level the menu must unfold horizontal; 0 is all vertical
         var MenuFramesVertical=1;               // Frames in cols or rows 1 or 0
         var DissapearDelay=1000;               // delay before menu folds in
         var UnfoldDelay=100;               // delay before sub unfolds     
         var TakeOverBgColor=1;               // Menu frame takes over background color subitem frame
         var FirstLineFrame="navi";               // Frame where first level appears
         var SecLineFrame="main";               // Frame where sub levels appear
         var DocTargetFrame="main";               // Frame where target documents appear
         var TargetLoc="";                    // span id for relative positioning
         var MenuWrap=1;                    // enables/ disables menu wrap 1 or 0
         var RightToLeft=0;                    // enables/ disables right to left unfold 1 or 0
         var BottomUp=0;                    // enables/ disables Bottom up unfold 1 or 0
         var UnfoldsOnClick=0;               // Level 1 unfolds onclick/ onmouseover
         var BaseHref="file:///C|/rao/projects/changedframework/WebRoot/pages";                    // BaseHref lets you specify the root directory for relative links.
                                  // The script precedes your relative links with BaseHref
                                  // For instance:
                                  // when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
                                  // the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
                                  // Can also be used when you use images in the textfields of the menu
                                  // "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
                                  // For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"
         //var Arrws=[BaseHref+"/resources/tri.gif",5,10,,,,BaseHref+"/resources/trileft.gif",5,10,BaseHref+"/resources/triup.gif",10,5];
                                  // Arrow source, width and height.
                                  // If arrow images are not needed keep source ""
         var MenuUsesFrames=1;               // MenuUsesFrames is only 0 when Main menu, submenus,
                                  // document targets and script are in the same frame.
                                  // In all other cases it must be 1
         var OverFormElements=1;               // Set this to 0 when the menu does not need to cover form elements.
         var RememberStatus=0;               // RememberStatus: When set to 1, menu unfolds to the presetted menu item.
         var BuildOnDemand=1;               // 1/0 When set to 1 the sub menus are build when the parent is moused over
         var BgImgLeftOffset=5;               // Only relevant when bg image is used as rollover
         var ScaleMenu=0;                    // 1/0 When set to 0 Menu scales with browser text size setting
                                  // When set to 2 only the relevant main item stays highligthed
                                  // The preset is done by setting a variable in the head section of the target document.
                                  // <head>
                                  //     <script type="text/javascript">var SetMenu="2_2_1";</script>
                                  // </head>
                                  // 2_2_1 represents the menu item Menu2_2_1=new Array(.......
         var HooverBold=0;                    // 1 or 0
         var HooverItalic=0;                    // 1 or 0
         var HooverUnderLine=0;               // 1 or 0
         var HooverTextSize=0;               // 0=off, number is font size difference on hoover
         var HooverVariant=0;               // 1 or 0
                                  // Below some pretty useless effects, since only IE6+ supports them
                                  // I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
                                  // If you don't need MenuSlide just leave in the line var MenuSlide="";
                                  // delete the other MenuSlide statements
                                  // In general leave the MenuSlide you need in and delete the others.
                                  // Above is also valid for MenuShadow and MenuOpacity
                                  // You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
                                  // You can add more filters by concanating the strings
         var MenuSlide="";
         //var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
         //var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";
         var MenuShadow="";
         //var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
         //var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";
         var MenuOpacity="";
         //var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";
         //function BeforeStart(){return}
         //function AfterBuild(){return}
         //function BeforeFirstOpen(){return}
         //function AfterCloseAll(){return}
    // Menu tree:
    // MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
    //     "fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
    // Color and font variables defined in the menu tree take precedence over the global variables
    // Fontsize, fontbold and fontitalic are ignored when set to -1.
    // For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg"
    Menu1=new Array("DataCollection","","",6,20,120,"","","","","","",-1,-1,-1,"","");
         Menu1_1=new Array("Record Based","","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_1=new Array("Data Entry","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_2=new Array("Account","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_3=new Array("T","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_2=new Array("File Based","","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","Nation");
              Menu1_2_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_2_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_2_3=new Array("Senarai Kertas Siasat","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_3=new Array("Auto Upload","ATR_Eksibit_Form.htm","",4,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_3=new Array("Senarai Kompaun","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_4=new Array("Senarai LJKR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_4=new Array("Validation Failure","Permohonan_Keluar_Eksibit_Form.htm","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_4_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","Football Every Day");
              Menu1_4_2=new Array("Senarai ATR","ATR_Eksibit_Form.htm","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_4_3=new Array("Senarai Eksibit","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_5=new Array("Pendakwaan","Permohonan_Keluar_Eksibit_Form.htm","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_3=new Array("Senarai LKKP","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_6=new Array("OKT","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu2=new Array("Statistical Analysis","","",1,20,120,"","","","","","",-1,-1,-1,"","");
         Menu2_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu3=new Array("Discovery Analysis","","",1,20,120,"","","","","","",-1,-1,-1,"","");
         Menu3_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu4=new Array("Case Management","","",2,20,120,"","","","","","",-1,-1,-1,"","");
         Menu4_1=new Array("Operasi","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu4_2=new Array("Pengurusan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu5=new Array("Content Management","","",3,20,120,"","","","","","",-1,-1,-1,"","");
         Menu5_1=new Array("e-LesenNiaga","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu5_2=new Array("e-Tribunal","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu5_3=new Array("e-Aduan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu6=new Array("Audit log","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    Menu7=new Array("Administration","","",6,20,120,"","","","","","",-1,-1,-1,"","");
         Menu7_1=new Array("Akta","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_2=new Array("Jenis Cetak Rompak","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_3=new Array("Jenis Eksibit","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_4=new Array("Jenama","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_5=new Array("Karya Cetak Rompak","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_6=new Array("Kawasan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu8=new Array("Pentadbiran","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    Menu9=new Array("Tukar Kata Laluan","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    plz help me out in doing so and save me
    thank you

    Please view open source JSF menu
    http://myfaces.apache.org/tomahawk/jscookmenu.html

Maybe you are looking for

  • ABAP Report Program Logical Database PNP

    I have a ABAP program using the logical database PNP. The report is config to run on MSS using EP. I have added code to capture the Org Unit when it is pass to the program from MSS.  My issue is how do i capture the org unit value that is passed to t

  • Window 8.1 update on MackBook Pro. TrackPad Issues

    Hello will soneone help me please, I recently upgraded to Windows 8.1 from 8.0 on my MacBook Pro running Maveracks. Now the trackpad features no longer work.Before the upgrade I was able to do a two finger right click and scroll. Now at best I can mo

  • HOW TO SEE THE NONACTIVE MATERILA LIST

    HOW TO SEE THE NONACTIVE MATERILA LIST

  • Vendor Evaluation using Material Group

    Dear all         Kindly let me know whether Vendor evalation is possible using material Group. Regards M.Chandra mohan

  • Pls urgent (BASIS)

    HI Experts, I am not able to upload the photo in SAP . *HTTP-401 UNAUTHORISED* *REPOSITORY A2 NOT ACESSINLE BY HTTP* Warning Messages-Comes out . Please Suggest. Regards Meenakshi