Javascript / Open a new Window

Hi,
I have a requirement wherein on the click of the Submit Button , I need to open a new page in a new window, leaving the current OA page as it is (lets say yahoo.com , google.fr ...) which is not constant and that (the destination uri) is decided at the run time .
The one option i can think of is using javascript in the controller class , wherein on the click of the submit button i can construct the url and open the page programmaticaly (is this possible?) .
or does anyone has any other suggestion?
thanks

may be i was not that clear ... user1, user2 were mentioned just to illustrate the issue...
Let me start again
you got standard oracle applications and there is a third party system (lets say for instance http://www.thirdparty.com)
now the client has 100 user licenses on this third party system
user1 pwd1
user2 pwd2
user3 pwd3
and so on....
so when a user in Oracle Applications goes to the page where there is a submit button (button1) and clicks it , it should open a new window and take him to
http://www.thirdparty.com&user=user1&pwd=pwd1(if it is the first user clicking the button and NOT the first user accessing that oracle application page, which means you cannot create the url beforehand in proecssrequest)
now if the second user accesses that page and does not click the submit button , you don't need to use 'user2 account.
the thrid user accesses that page and clicks the submit button , it should open a new window and take him to
http://www.thirdparty.com&user=user2&pwd=pwd2 (that is use the second user account in sequence from the list of 100 user account)
and the process goes on like this till all the 100 user accounts are used up
and then you go back to user1 account and start all over again.

Similar Messages

  • Opening a new window over a new window

    The command given below in javascripts opens a new window.But if I
    execute the same command in an another open new window then it doesn't
    open a new window,infact it is over the existing window !
    But my requirement is to open a new window everytime I want to do a new
    functinality.
    Please help me.
    onClick="window.open('New.jsp','NewWindow','location=no,menubar=no,resizable=yes,toolbar=no,scrollbars=yes,left=' + window.screen.availWidth*1/8 + ',top=' +window.screen.availHeight*1/14 + ',width=' + window.screen.availWidth*3/4 + ',height=' + window.screen.availHeight*6/7)"

    Hi Jetsam thanks for all u replies.
    Well I know what was the problem
    My href statement was
    <a href="JSPFile4.jsp target = "Window3" onClick="window.open('','Window3','location=no,menubar=no,resizable=yes,toolbar=no,scrollbars=yes,left=' + window.screen.availWidth*1/4 + ',top=' +window.screen.availHeight*1/6 + ',width=' + window.screen.availWidth*3/6 + ',height=' + window.screen.availHeight*6/6)">Manohar</a>
    was same for all the pages.Hence all the page was being opened at the
    same spot.Well changed some info like top,left etc and the new window will be opened in different location and we will distintly see a new window being opened.
    thanks again Jetsam for ur replies.

  • HTML-DB OAE Javascript to close current window and open a new window

    Hi everybody,
    We work with 1.6.
    What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
    The new window opening fires only once although we call it many times.
    Our javascript is:
    function closeTest()
    { alert('closeTest');
    if('&REQUEST.'=='QUITTER2'){     
    w = window.self;
    w.opener = w;
    w.close();
    window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    We call it on our application attributes :
    OnLoad="closeTest()"
    Thanks. Bye.

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • Can't write anything with javascript in a new window create dynamically with "window.open"

    I develop a website and an application in html/css/javascript and i have a problem.
    I need to open a new window with "window.open", and then change and modify the content dynamically with javascript in it. It works perfectly in Firefox 3.6 and lower but not in Firefox 4.
    In Firefox 4, the window is created, but it stay white with "about blank" as name.
    Do you have an idea of what I can do? Can I detect if the browser is Firefox 4, and if it is true, instead of "window.open", create a new tab? Can I change the content dynamically in it, and how?
    Thanks for your help
    Jonathan Donzallaz

    This forum focuses on end-user support. You can find more web development help on the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting. Also, it's helpful to post a link to a "test case" that demonstrates the problem.

  • DW CS4 Help with jump menu opening a new window.

    First, I can't believe that Adobe left out an easy to use behavior to do this.
    I have some jump menus, and I would like the selection to open up a new window and have the content appear there.  I saw a couple of old topics here that offered some suggestions, but they didn't work for me.  I could get it to open a new window, but the content was not there.  I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it.  That is what opened the new window with new content.  I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work.   If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
    I know this is long, but here is my code for the page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Mickey Adams Index</title>
    <!-- InstanceEndEditable -->
    <link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <!-- InstanceBeginEditable name="head" -->
    <script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/global.css" rel="stylesheet" type="text/css" />
    <!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
    <!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
    </head>
    <body text="#000033" class="twoColFixLtHdr" title="What's New">
    <div id="container">
      <div id="header">
        <h1>Richard Sinkler</h1>
      <!-- end #header --></div>
      <div id="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../About_Me.html">About me</a></li>
          <li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
          <li><a href="../What's New.html">What's New</a></li>
          <li><a href="../Equipment.html">Equipment</a></li>
          <li><a href="../Tunings.html">Tunings</a></li>
          <li><a href="../Video_and_Sound/video_menu.html">Sound &amp; Video</a></li>
          <li><a href="../web_gallery.html">Photos</a></li>
          <li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
          <li><a href="../Website_Info.html">Website Info</a></li>
          <li><a href="../Contact Me.html">Contact Me</a></li>
        </ul>
        <p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
        <p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
    <h3 class="updated">Updated 7/18/2011
          <!-- end #sidebar1 -->
        </h3>
    <p> </p>
      </div>
      <div id="mainContent">
        <h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
        <!-- InstanceBeginEditable name="PageContent" -->
        <p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
        <div id="m_a_video_index" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
            <li class="TabbedPanelsTab" tabindex="0">BE</li>
            <li class="TabbedPanelsTab" tabindex="0">BEX</li>
            <li class="TabbedPanelsTab" tabindex="0">BEC</li>
            <li class="TabbedPanelsTab" tabindex="0">Beginner</li>
            <li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
            <li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div class="TabbedPanelsContent">
              <p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to  Master</u> <br />
                <strong><u>BE04</u></strong><u>: Simple E9 Passage,  Single Note</u> <br />
                <strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC  Pedals</u> <br />
                <strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
                <u>BE  109a Close Intervals in C</u><br />
                <strong><u>BE11</u></strong><u>: Beginner Steel Guitar,  Cold Cold Heart</u> <br />
                <strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
                <strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
                <strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
                <strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
                <strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
                <strong><u>BE34</u></strong><u>: 3 Moves to Master, Part  II</u> <br />
                <strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
                <strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for  Cherokee Maiden</u></p>
              <p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><strong><u>BEX1</u></strong><u>: A+B Repetitious  Excercise, Major Key</u> <br />
                <strong><u>BEX2</u></strong><u> Pick Blocking Dexterity  Excercise II</u> <br />
                <strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise  B+C, F</u> <br />
                <strong><u>BEX7</u></strong><u> Speedpicking Lesson 1  Revision 1</u> <br />
                <strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal  Changes, Chord Forms</u> <br />
                <strong><u>BEX14</u></strong><u>: D7, G Lever  Programming, Speed</u> <br />
                <strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
                <strong><u>BEX16a</u></strong><u> G major Descending  Exercise</u> <br />
                <strong><u>BEX17</u></strong><u>: Pick-Blocking 101,  Beginner Steel Guitar</u> <br />
                <strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
                <strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
                <strong><u>BEX21</u></strong><u> Alternating Fingering  Excercise</u> <br />
                <strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
                <strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
                <strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
                <strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
                <strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
                <strong><u>BEX28</u></strong><u> Pedal &amp; Lever  Excercises for Beginners</u> <br />
                <strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
                <strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever  I, Pedal H</u></p>
            </div>
            <div class="TabbedPanelsContent">BEC
              <div id="Accordion1" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC4:  Blue Eyes Elton John</u> <br />
                      <u>BEC6  Broken Wing</u> <br />
                      <u>BEC15:  Goin Through the Big &quot;D&quot;</u> <br />
                      <u>BEC25:  I Sang Dixie, Take II</u> <br />
                      <u>BEC31:  Beginner Steel-Longer, Fogelberg</u> <br />
                      <u>BEC32:  Longer, Flute Solo, Fogelberg</u> <br />
                      <u>BEC35:  Nobody In His Right Mind</u> <br />
                      <u>BEC41:  Too Cold At Home Intro, Mark Chestnutt</u> <br />
                      <u>BEC45:  Teach Your Children: Intro</u> <br />
                      <u>BEC48:  Take Your Memory With You</u> <br />
                      <u>BEC52  Thinking Thing Intro</u> <br />
                      <u>BEC54:  What A Wonderful World</u> <br />
                      <u>BEC66:  Solo, Look At Us</u> <br />
                      <u>BEC69:  Somewhere Over The Rainbow, Bridge</u> <br />
                      <u>BEC73:  Empty Glass Intro</u> <br />
                      <u>BEC77:  Set-em Up Joe Vern Gosdin</u> <br />
                      <u>BEC78-  So Much It Hurts Me Part 1</u> <br />
                      <u>BEC78a  So Much It Hurts Me Part 2</u> <br />
                      <u>BEC81,  Who Needs You Baby, Clay Walker</u> <br />
                      <u>BEC82  City Lights</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC83  Save The Honky Tonks, Mark Chestnutt</u> <br />
                      <u>BEC84  Faux C6, Deep Water Intro, Beginners</u> <br />
                      <u>BEC85  There's your Trouble Intro</u> <br />
                      <u>BEC86  Panama Red Intro, Remake</u> <br />
                      <u>BEC88  Diamond Rio One More Day Intro</u> <br />
                      <u>BEC89  Turnaround In C</u> <br />
                      <u>BEC89  Oh Little Town of Bethlehem</u> <br />
                      <u>BEC90  I Had A Beautiful Time, Solo</u> <br />
                      <u>BEC91  White Christmas</u> <br />
                      <u>BEC91a  White Christmas</u> <br />
                      <u>BEC91c  White Xmas, Improvising</u> <br />
                      <u>BEC92  Farewell Party Intro Simplified</u> <br />
                      BEC  92a Farewell Party Solo, Mike Johnson<br />
      <u>BEC93-This  Ain’t My First Rodeo-Intro</u> <br />
      <u>BEC-94  Third Rate Romance Solo</u> <br />
      <u>BEC-95  Crazy Arms Intro, Patty Loveless</u> <br />
      <u>BEC-96  Bar Room Roses Intro Troy Cassar Daley</u> <br />
      <u>BEC-97  Close Up the Honky Tonks-Intro</u> <br />
      <u>BEC98-Turnaround  5-1, BC,+E-lever</u> <br />
      <u>BEC-99  Single Note Run in D</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 3</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC  100 Different Light Doug Stone Intro E9</u> <br />
                      <u>BEC  100 When Love Comes Around Intro Alan</u> <br />
                      <u>BEC  100 Take It Easy</u> <br />
                      <u>BEC101  Fourteen Minutes Old Intro Doug Stone</u> <br />
                      <u>BEC101  Bars Of Steel Bridge</u> <br />
                      BEC  101 Beneath Still Waters<br />
      <u>BEC  102 Could I Have This Dance Intro</u> <br />
      <u>BEC  103 Bars of Steel, Bridge</u> <br />
      <u>BEC  106 Legend In My Time</u> <br />
      <u>BEC107  When Did You Stop Loving Me Intro</u> <br />
      <u>BEC  109 Getting Over You Again Intro Gene Watson</u> <br />
      <u>BEC  110 Baby Thats Cold Intro</u> <br />
      <u>BEC  111 Panama Red Solo Part 1</u> <br />
      <u>BEC  111a Panama Red Solo, Part II</u> <br />
      <u>BEC  111 Where Have I Been All My Life Intro</u> <br />
      <u>BEC-112  Help Me Make it Through the Night.mpg</u> <br />
      <u>BEC-118  Faux C6-1-6-2-5.mpg</u> <br />
      <u>BEC-113  Way To Survive, Lesson 1.mpg</u> <br />
      <u>BEC113a  Way to Survive Lesson 2.mpg</u></p>
                  </div>
                </div>
    </div>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Beginner  Steel Guitar, Cmajor in 3rds</u> <br />
                <u>Beginner  Pedal Steel, Cross Picking, B Pedal</u> <br />
                <u>Beginner  Steel Guitar: San Antonio Rose</u> <br />
                <u>Beginner  Steel Guitar: Wonderful Tonight</u> <br />
                <u>Beginner  Steel Guitar: Oceanfront Property</u> <br />
                <u>Beginner  Steel-When you Say Nothing At All</u> <br />
                <u>Memphis  Tennessee, Beginner Steel Guitar</u> <br />
                <u>Beginner  Steel Guitar, Major Scale Excercise</u> <br />
                <u>Beginner  Steel, Amazing Grace</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Walking  After Midnight Faux C6</u> <br />
                <u>All  My Ex's Intro Faux C6 for the E9 Neck</u> <br />
                <u>Faux  C6 Turnaround in A</u> <br />
                <u>5  1 Faux C6, Single note Passage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <div id="Accordion2" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>Simple  Intro in C</u> <br />
                      <u>Panama  Red Intro E9 Pedal Steel Guitar</u> <br />
                      <u>Danny  Boy, E9</u> <br />
                      <u>Highway  40 Blues Intro, E9</u> <br />
                      <u>Diatonic  Scale Movement In G</u> <br />
                      <u>1-7-4  1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
                      <u>1-4  Counterpoint Move in F, Very Effective</u> <br />
                      <u>Gene  Watson Intro-Got No Reason Now for Going</u> <br />
                      <u>BIG  CITY! Merle Haggard, Simple, Straightforward</u> <br />
                      <u>Someday  Soon!..Simple, Great Solo!</u> <br />
                      <u>Texas  Tornado, Tracy Lawrence, Intro and Solo</u> <br />
                      <u>Pick  Dragging: Technique, Short Clip</u> <br />
                      <u>Key-A  Turnaround, Blues/Diminished Walk</u> <br />
                      <u>Hello  Trouble-JayDee Maness/ Desert Rose-</u> <br />
                      <u>Memories  To Burn, Solo, Gene Watson</u> <br />
                      <u>When  I Call Your Name</u> <br />
                      <u>Cross  My Heart Solo, George Strait</u> <br />
                      <u>But  For the Grace of God, Keith Urban</u> <br />
                      <u>I  Never Go Around Mirrors, Gene</u> <br />
                      <u>Cryin  My Heart Out, Ricky Skaggs</u> <br />
                      <u>Lonesome  LA Cowboy Solo, Buddy Cage</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>Teach  Your Children:Quick Solo</u> <br />
                      <u>1982  Intro:Randy Travis</u> <br />
                      <u>Check  Yes or No</u> <br />
                      <u>Fire  On The Mountain, Marshall Tucker</u> <br />
                      <u>Buds  Bounce, Simplified, Part 1</u> <br />
                      <u>Tonight  The Heartache's On Me, Solo, Dixie Chicks</u> <br />
                      <u>Heartbroke,  Steel Chords</u> <br />
                      <u>Funny  How Time Slips Away</u> <br />
                      <u>Bars  of Steel</u> <br />
                      <u>Blue,  Leann Rimes</u> <br />
                      <u>Supernaw-Wishing  Her well, Intro</u> <br />
                      <u>Look  At Us, Johny Hughey, Intro</u> <br />
                      <u>Over  The Rainbow Verse</u> <br />
                      <u>Discussion,  Right Hand</u> <br />
                      <u>Verse,  Help Me Make It Through The Night</u> <br />
                      <u>Rolling  Pick Technique 2-5-1</u> <br />
                      <u>3  Octave Descending D7 Single Note Run</u> <br />
                      <u>Descending  5-1 Turnaround in A</u> <br />
                      <u>Pick  Blocking Dexterity Excercise 1</u> <br />
                      <u>Alone  In SanAntone</u></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    var Accordion2 = new Spry.Widget.Accordion("Accordion2");
    //-->
        </script>
        <!-- InstanceEndEditable -->
        <h2>
          <!-- end #mainContent -->
        </h2>
      </div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
      <div id="clear"></div>
    <div id="footer">
        <p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a>  <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
        <p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">&copy;</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
        <p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    I'm confused by your post and code.  Adobe has a function to do this.  In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu.  The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now).  But with basic knowledge of links you insert the menu and you will get code like:
      <select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
    The "parent" denotes that this will open in the same window.  If you change that to "blank" then it will open in a new window.  A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
    http://www.w3schools.com/tags/att_a_target.asp

  • Problem with open in new window for second level tab

    Hi Friends,
    I am using 2 level tabs in my application. In my second level tab when i right click and select *open in new
    window* it is giving Page not found error. But for the first level tabs it is working correctly. How can i fix this so
    that either i can show the page when right click the tab and select open in new window or disable the right clicking
    for the second level tabs. Please help,
    Thanks
    Jeev

    Hi,
    I don't think its exactly possible, as tabs use javascript:doSubmit('somevalue'); and you can not open javascript in a new window, as javascript usually references the current page you are on, and since you open the javascript in a new window, it doesn't know what to reference. The most helpful thread I found was : Re: Open other tab in a new window (ATD reply, third from the bottom).
    Ta,
    Trent
    Edited by: tr3nton on Dec 3, 2009 4:19 PM; Hari beat me to linking to the correct thread, my bad.

  • Javascript Open and Close window

    I am creating a new website and am having problems getting
    the open window and close window to work. I want this window to
    open a new window (NOT a popup window used with the "onload"
    option). I am using an img tag so that when you click on the image
    thumbnail this new window opens. It is my understanding in order to
    use the window.close option, you must have the javascript in the
    header of the html document for the close to work. In the heading
    of the document that contains the link to open a new window I have
    the following:
    <SCRIPT language="JavaScript1.2">
    function popuponclick()
    Cellex = window.open("products/cellex.htm",
    "console","status=1,width=350,height=150");
    function closepopup()
    if(false == cellex.closed)
    cellex.close ();
    else
    alert('Window already closed!');
    </SCRIPT>
    Then I have this in the body:
    <img src="images/thumbnails/dermalogicath.jpg"
    alt="Dermalogica" width="94" height="84" border="0"
    /></a></td>
    <td><a href="products/mdskin.htm"
    onclick="window.open('products/mdskin.htm','mdskin',width=610,height=780,scrollbars=yes') ;return
    false; target="_blank">
    However, I'm getting script errors when opening the window on
    the lines in the body Unterminated error. I have tried using the
    help in Dreamweaver as well as many docs posted, but still cannot
    get this to work. Once I get the script errors resolved, the when
    the window opens, it will not close. I get the message that a
    window is trying to be closed and do I want to close the window
    which closes internet explorer entirely. I'm using IE 7.0 as well
    as foxfire and have the same issue on both. If I use the
    dreamweaver behaviors to call a javascript, it puts "onload" and if
    I change to "onclick" then the script will not work. When I use the
    behavior "open window" it still doesn't work. I'm totally lost as
    to what I'm doing wrong as I have followed about 10 papers all
    using the same instructions.
    Hopefully some one can help me, I'm getting fustrated as this
    seems to be pretty straight forward.
    Thanks, vienie

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • How to Set Individual Managed Metadata Navigation Links to Open in New Window?

    I am using a managed metadata term set for the global navigation in my client's site. Most of the global navigation links point to pages in the current site, and should open in the current browser window/tab as the end user is just navigating within the
    site content. However, I have one particular node in the navigation term set that points to related content scattered around other external sites. The client wants these links to open a new window.
    Unfortunately, I can't seem to set the target for navigation links in the term set. If I was using standard global navigation, I'd be able to select the "Open in new window" checkbox when setting up the link, but that option doesn't appear to be
    supported via MMD navigation.
    Any clever suggestions?
    Thanks!

    I had a similarish requirement at a client once upon a time, they wanted any links that went outside of the intranet web applications to open in a new window.
    The way we managed that was to use jQuery to overwrite the standard hyperlink references for any hrefs that didn't point to internal sites to use the same javascript functions that SharePoint used for links configured to open in a new window. It worked out
    as being about half a dozen lines; check the URL and if it doesn't begin with a set range of options then overwrite the on click behaviour using standard jQuery behaviour.
    If you want it site wide then you just add jQuery and the code snippet to the master page, if you just want it in some places then add a CEWP or a HTML form web part to the relevant pages.

  • Opening a New Window in SJSC

    Hi all,
    I have a slight problem here, inside my table I have a hyperlink, based on the records retrieved, this hyperlink will have different URLs. In the button_action() I have the following code:
    getHyperlink().setTarget("_blank");
    switch(type) {
            case Constants.TYPE_1:
                getHyperlink().setUrl("/faces/Page1.jsp");
                break;
            case Constants.TYPE_2:
                getHyperlink().setUrl("/faces/Page2.jsp");
                break;
            case Constants._TYPE_3:
                getHyperlink().setUrl("/faces/Page3.jsp");
                break;
            default:
                 logger.error("submit_action|Type invalid!");
    public String hyperlink_action() {
        //Add get row table here
        getRequestBean().setRequestObject(rowData);
        return null;
    }I need to pass the table row where the link is clicked into the RequestBean and open a new window to display some information but because the action() is not executed I cannot pass in any information at all.
    1) The problem is that because the URL is preset before the table is populated, when I specified a hyperlink_action() to be set as the action when the link is clicked, the method is not called. The new window page is opened directly. I cannot populate any JSF components as the action() method is not called to extract the row details and put into the request bean.
    2) If I place the .setURL() codes in the action method, the window created will contain the exact page as the parent window. The desired page will not be loaded.
    I'm now stuck. Would appreciate it if anybody can guide me in the right way of getting the new window populated with the results.
    regards,
    Michael

    If you want to open a new window besides your original window, then you have to do it with javascript. Put a code similar like this in your onClik property of your hyperlink:
    window.open("faces/Page1.jsp", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;When you click the hyperlink, it will open a second window of Page1.jsp. You can use if-else construct in javascript to choose which page you want to show.
    If you want to pass a value to the second window, you can use query string like this:
    window.open("faces/Page1.jsp?par1=value1", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;Passing a field value in table component to second window:
    window.open("faces/Page1.jsp?par1=#{currentRow.value['FIELDNAME']}", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
    return false;To retrieve the parameter in the second page (in this case Page1.jsp), put this in init():
    javax.servlet.http.HttpServletRequest req = (javax.servlet.http.HttpServletRequest) getExternalContext().getRequest();
            String par1 = req.getParameter("par1");After getting the parameter value, you can do the rest as your normal page, ie populating the page the way you like.
    AFAIK, the only way to open a new window is through javascript only. CMIIW.
    Hope that helps.

  • SRW.SET_HYPERLINK - Handle SPACE in filename AND open in NEW WINDOW

    Report 10g (10.1.2.3.0 - 32bit on Windows 7 64bit)
    Issue #1:
    using srw.set_hyperlink to get a handle on *.pdf file on remote server. Report is launched as PDF. PDF that is opened via the URL launches in same window as report. I need run report as PDF, click hyperlink to get handle on another file which should launch in New Window.
    SRW.SET_HYPERLINKATTR only useful with HTML and HTMLCSS. Javascript? If so, sample code?
    Issue #2:
    possible that file retrieved will have spaces in its name. Hyperlink defaults %20 in the spaces of the name, but the link does not successfully retrieve file. Tried replacing spaces w/ %20, but like defaults does not retrieve document; due to actual file name not having the %20 in its actual name. Is there are way to account for the spaces in the URL then "remove" them to find the correct file and open in new window?
    Tried using virtual path as well as physical path.
    Help with either or both issues is truly appreciated,
    Thanks!!

    Hello,
    When you set the property "Hyperlink", the property "Additionnal Hyperlink Attributes (HTML)" is displayed. Set this property to :
    target="_blank"
    Regards

  • Open PDF in same browser when the preference is set to open in new window.

    The corporate policy for all applications is to open the PDF document in new browser/reader but our application needs the reader to open in the same browser even the preference "Display PDF in Browser" is unchecked.... The setPreference from javascript (html) doesn't seemed to work... How do i make this work?
    Also, I need the links the browser to open in new browser once the PDF is loaded... do I need to reset the preference once it is loaded for the links to open in new browser?
    thanks,
    - Ray

    There is no way to override that from your application.   And if the Links in the PDF have an explicit "open in new window" setting, that is respected over the preference.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 19 Oct 2011 22:02:53 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Open PDF in same browser when the preference is set to open in new window.
    Open PDF in same browser when the preference is set to open in new window.
    created by h_ray<http://forums.adobe.com/people/h_ray> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3981167#3981167

  • Word hyperlinks converted to PDF-open in new window???

    I currently use Word 2007 to build indexes with hyperlinks and convert to PDF using Adobe Professional 9. I know how to set my Adobe preferences so that hyperlinks open in a new window, but I want to set this on the document level for each index I create. I also know how to set each link within the final pdf to open in a new window (if I go through each and every link preference).  I must create the hyperlinks in Word as there are many instances that my indexes change prior to distribution of the discs and I don't like having to duplicate, triplicate, etc. my linking process in Adobe as some of my indexes contain 300+ links. I only know of JavaScript but not enough to use with confidence...  I want the hyperlinks to open in new windows (as that has always been my instructions to the end user) without the end user having to fumble around with their systems and settings. It has just been brought to my attention that my discs do not have that function set. Meaning, that what I view and test on my system is not the same as the end user. The hyperlinks open in the same window (dang it!!). I did see a JavaScript solution but keep getting an error (on line 2). Here is the JavaScript I found in the forum: app.openInPlace = false;   //Opens cross-document links in separate windows.
    So, I have muliple questions...
    Is this sript the best way to accomplish the document level open in a new window function?
    Is this script written correctly? (I did cut and paste this script within the brackets)
    If I use the JavaScript and save, does that save in the Adobe application system or just on the document level?  And then how do I delete if it doesn't work properly?
    What other functions can you suggest I try?
    Any suggestions would be helpful!

    Where did you place that script, exactly?
    It should work, there's probably just an error in how you added the text of the script. Try removing the comment so that there's only one line of code:
    app.openInPlace = true;
    Note that this changes the user preference, which is generally frowned upon, so you should endeavor to set it back to what it was in the first place when the document is closed. This would involve storing the value of this property when the document opens, change it if necessary, and restore it when the document closes. It also won't work for those users who have JavaScript disabled.
    Unfortunately, link annotations are difficult to alter in an automated way given what's available in Acrobat. It would be possible with an Acrobat plug-in to make document-wide changes to all of the links, but I'm not aware of any that do this. You might want to search around.

  • Menu opens in new window, need to change it

    what is making the buttons in the menu to open pages in new window on the top menu, here is the code (target="top" at the end of a link doesnt help):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- Beginning of compulsory code below -->
    <link href="http://www.tuning.ru/css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="http://www.tuning.ru/css/dropdown/themes/nvidia.com/default.advanced.css" media="screen" rel="stylesheet" type="text/css" />
    <!--[if lt IE 7]>
    <script type="text/javascript" src="js/jquery/jquery.js"></script>
    <script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
    <![endif]-->
    <!-- / END -->
    </head>
    <body>
    <!-- Beginning of compulsory code below -->
    a href="Link" target="top">Name
    <!-- / END -->
    </body>
    </html>
    Message was edited by: platinummf
    Message was edited by: platinummf

    Try "_blank".
    Open in new window
    which gives you this: Open in new window
    OT

  • I cannot open a New Window. How do I get the ability to open a new (second) window?

    When I upgraded from 3.6.15 to 3.6.18 it wiped out the use of all my extensions, add ons, and bookmarks, yet they were all still there. I deleted the suffixes on extensions, rebooted FF and they all started working. The only thing not working is opening a New Window. I click on File - New Window, I right click on FF icon on desktop, icon in Quick menu, I tried dragging a tab to the desktop. Nothing works.
    Also FF will not allow me to install the update Adobe plugin.

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go Tools Menu -> Clear Recent History -> '''Time range to clear: select EVERYTHING''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache, Site Preferences''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''"Permanent Private Browsing mode"''' -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> When using the Location Bar, suggest: select "History and Bookmarks"
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Hotmail opens in new window (w/o toolbars) rather than in new tab

    Hotmail opens in new window rather than new tab. Problem only occurs with hotmail.
    == URL of affected sites ==
    http://http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1253879194&rver=6.0.5285.0&wp=MBI&wreply=http:%2F%2Fmail.live.com%2Fdefault.aspx&lc=1033&id=64855&mkt=en-us

    Hotmail may have changed their software recently to open an email message in a new window, and also to block the toolbars from showing in that new window.
    They may be using JavaScript to open that pop-up. Or they may have come up with a way to overcome certain Firefox preference settings. ''(I don't know which it might be, I quit using Hotmail back in 1999, when I took the "training wheels" off my PC and I quit wearing short pants. ;-)''
    1. Tools > Options - Tabs
    You can select '''Open new windows in a new tab instead''', and see it that works for you.
    2. The JavaScript Options extension adds options to Firefox's JavaScript Advanced dialog window (Content tab in Options), which allows you to override websites that suppress the Toolbars in pop-up windows.
    https://addons.mozilla.org/en-US/firefox/addon/6527

Maybe you are looking for