Displaying a page in the same window

Hi,
I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
code]
<script>
<!--
/*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
function winopen(){
var targeturl="start.jsp"
newwin=window.open("start.jsp","","scrollbars")
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
parent.exit()
return false;
newwin.location=targeturl
//-->
</script>
<form>
<input type="button" onClick="winopen()" value="Open window">
</form>
How will I do this?
Shipf1.

Hi,
I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
code]
<script>
<!--
/*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
function winopen(){
var targeturl="start.jsp"
newwin=window.open("start.jsp","","scrollbars")
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
parent.exit()
return false;
newwin.location=targeturl
//-->
</script>
<form>
<input type="button" onClick="winopen()" value="Open window">
</form>
How will I do this?
Shipf1.

Similar Messages

  • How to open all the pages in the same window?

    I have set up 8 pages in my website. And i want to open the pages in the SAME window. What should i do?
    P.S. I nearly follow all the styles and command made in the video of 'Bayside Cable Car Website'. The pages should be opened under the navigation bar. However, i cannot do so.
    Please help.
    Thanks a lot.

    the_shocker wrote:
    I see no point in contributing dumb and useless stuff just to justify an ego...pointless....but kids hey.
    Wait, are you talking about your post or someone else's? It seems double standard and oxymoronic for you to contribute dumb and useless stuff about dumb and useless stuff just to justify your ego... pointless... but old people hey.
    best,
    Shocker
    Far too easy to wind-up......keeps me entertained though, thanks.

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • Navigate to another page in the same window problem

    Hi,
    I have a problem with the following scenario:
    When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
    http://server:port/irj/servlet/prt/portal/prtmode/runtime/prtroot/pcd!3aportal_content!2fCompany!2fIntranet_v2!2fApplications!2fZZ!2fPages!2fBrowseCopies
    So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
    The problem occurs when we try to implement navigation from this web dynpro application to another page
    When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
    We cannot use LinkToUrl control with _self parameter because its not supported.
    We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
    We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
    Basically I need a redirect to another page. Any ideas how to solve this problem?
    Regards,
    Ladislav

    Hi,
    the link which initially opens this web dynpro application page is contained in a html page.
    Here is the code:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
      WDPortalNavigationMode.SHOW_INPLACE,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      "requestNr="+wdContext.currentContextElement().getRequestNr());
    Regards,
    Ladislav
    Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM

  • Opening a web page in the same window ...

    Hi all,
    I wanted to open a web page in the same content area(window) and not in an external window . Could you tell me how its done ...
    Regards,
    Jayant.

    hi
    check out this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/83/e7c24122e3c317e10000000a155106/content.htm
    create a exit plug as mentioned in link.
    in the action event handler of button gives this.
    public void onActionExitButton(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExitButton(ServerEvent)
    String logoffURL="http://help.sap.com/saphelp_erp2005/helpdata/en/16/d3643fce8bb01ae10000000a114084/frameset.htm";
    wdThis.wdGetDynamicProgrammingInterfaceViewController().wdFirePlugToexit(logoffURL);
        //@@end
    hope this helps,
    Regards,
    Arun

  • Unable to return from a column link to popup page in the same window

    Using 3.2
    I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
    FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
    Thx.
    Sandie

    Use the template 'Popup' for your page.
    Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
    Do not create any branches on the popup page or any target in your Save button.
    If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
    htp.p('<script>');
    htp.p('window.opener.location.reload(true);');
    htp.p('</script>');
    I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
    Edited by: rbheemir on Nov 10, 2010 2:56 PM

  • EP5: move to a different page in the same window

    Hello All,
    I have a button with the following code:
    onClientClick="javascript:openUrl('"myMazminBean.getNewVisitURL()"');";
    the NewVisitURL directs to an iview and is created using the URL Generator. the openURL function on the jsp page is defined as follows:
    <script>  
    function openUrl(url)
             window.location.href = url;     
    </script>       
    What I am trying to do is to replace my current iview with the iview in the URL. It actually works, but only on the second time I press the button. The first time I just get a refresh of the exact page I was viewing.
    If I look at the source of the html (via Explorer - view Source) , it looks completely different: before I press the button for the first time, the source is very long and contains millions of functions; after I press the button one time (which appears to do nothing but refresh) I get a much smaller source that contains mainly the current Iview.
    Any ideas?
    Thanks,
    Yoni

    Hello All,
    I have a button with the following code:
    onClientClick="javascript:openUrl('"myMazminBean.getNewVisitURL()"');";
    the NewVisitURL directs to an iview and is created using the URL Generator. the openURL function on the jsp page is defined as follows:
    <script>  
    function openUrl(url)
             window.location.href = url;     
    </script>       
    What I am trying to do is to replace my current iview with the iview in the URL. It actually works, but only on the second time I press the button. The first time I just get a refresh of the exact page I was viewing.
    If I look at the source of the html (via Explorer - view Source) , it looks completely different: before I press the button for the first time, the source is very long and contains millions of functions; after I press the button one time (which appears to do nothing but refresh) I get a much smaller source that contains mainly the current Iview.
    Any ideas?
    Thanks,
    Yoni

  • How to open web pages in the same window

    When i click on a link in a search engine it always opens the web page in a new tab. Its annoying and i would prefer mozilla to open it in the current page. How can this be done?

    hello, this is a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.
    https://support.google.com/websearch/answer/425

  • Why firefox in my desktop can't open a new tab in the same windows?

    I can't open a new tab by clicking the + symbol. I don't know why this happen. If I want to open a new tab, I have to take a right click and then choosing open new tab. I think this is so terrible, I can't access the page on the same windows.

    Uninstall the '''''Ask Toolbar'''''. It can cause that problem.
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *http://kb.mozillazine.org/Uninstalling_toolbars
    If that does not solve your problem:
    *See --> [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF by default, not the top. How do you change this?

    Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
    MacBook Air (13-inch, Mid 2012)
    2 GHz Intel Core i7
    8 GB 1600 MHz DDR3
    500 GB Flash Storage
    Preview Version 8.0 (859)
    Mac OS 10.10.1

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • Can I set Firefox to open a page link in the same window (not a new tab) so I can just go back to the page instead of having to close the window?

    When I am on some pages, clicking on a article/picture link opens a new tab instead of continuing in the same window. By staying in the same window, I can back click on my mouse and continue on with other reading/links on the original page without manually having to move the mouse and click to close the tab. For example: on news pages, if I click on a financial article, a new tab opens with that linked article on the website's financial site. If I keep going back to the original page w/o closing tabs, I end up with too many tabs open.

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • Urgent - HTML help merged projects - displaying in the same window

    Hi All,
    Following some recent windows updates I'm experiencing all sorts of problems. My most urgent problems is as follows:
    First off this is all in RH8 and yes I have upgraded to 8.0.2 and project is set to re-build cpd each time.
    So I have a merges project as follows:
    Parent project
         child project 1
         chils project 2 etc
    when I compile an html help project with TOC, and single source window settings on default if I click on a child project it is diaplyued in a separate window. If I then select a different project in the parent project TOC this is also displayed in a different window but the window still has the caption of the previously opened file.
    What I need as  the end result is for my HTML help project output to al display in the same window whether I click on a parent project item, or a child project item.
    Please can somebody advise mne how to do this as I am VERY close to a deadline and as usual it seems RH8 has let me down again.....
    Thanks
    Author Care

    Hi there
    Methinks Colum needs more coffee, because the options he cited have nothing to do with other windows. They have to do with whether the displayed topic synchronizes with the TOC and whether the TOC entry is highlighted.
    I'm thinking it has to do with creating a "Global" window. You change the names of the windows so they include Global.
    The link below has more:
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How do I make my page links open up within the same window?

    I am completely stumped. By default for some reason, every single link I have on all my pages opens up in an external window rather than within the same window. I can't find anywhere to turn this off. I have my hyperlinks open to my other pages not an external page. Please help!

    Are these text based hyperlinks that you created?  If so then go to the Inspector/Link/Hyperlink pane and make sure the checkbox to Open link in new window is unchecked.
    Click to view full size
    What's the URL of your site so we can examine it first hand? 
    OT

  • HT2506 Is it possible to print separate pages on the same sheet in preview. I would like to split a set of class power points to display Page 1 and 2 on the first page, page 3 and 4 on the second page etc. Thanks in advance!

    Is it possible to print separate pages on the same sheet in preview. I would like to split a set of class power points to display Page 1 and 2 on the first page, page 3 and 4 on the second page etc.
    Thanks in advance!

    Nevermind everyone!
    I got it to work with Print Down/Across...silly me.
    Thanks anyway!
    -Arin

  • When i clink a given link in google than that webpage open in another window. How i can open that page in the same tabe ?

    when i clink a given link in google search than that webpage open in another window. How i can open that page in the same tabe ?

    Hello gogotutu
    In the [https://support.mozilla.org/en-US/kb/awesome-bar-find-your-bookmarks-history-and-tabs#os=win7&browser=fx17 Location bar], type [http://kb.mozillazine.org/About:config about:config ]and press '''Enter'''.
    The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    In the Search field, type [http://kb.mozillazine.org/Browser.link.open_newwindow browser.link.open_newwindow]
    double-click and put as a value '''1''' , click OK to save it.
    do the same with '''browser.link.open_newwindow.override.external''' , again put '''1''' as a value(it is -1 by default).
    check also, always in about:config, the [http://kb.mozillazine.org/Browser.link.open_newwindow.restriction browser.link.open_newwindow.restriction] and put as value''' 0''' .
    thank you

Maybe you are looking for

  • Default Value is not getting displayed in SUN ONE Ldap

    Hello, I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf. The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed. We need the default

  • Can I include a logo into text module in smart forms

    Hi, I want to know whether I can include a logo into text module or not in smart forms. Pls some one assist me. Regards, Chandra

  • Av adapter question

    I am trying to play a video from my ipad 2 through the av adapter to the hdmi input on my tv.  Everything works fine except when I try to play a show through the video app it simply won't play, I press the play button and it just goes back to pause. 

  • No content was found

    My Apple TV is connected to the internet and I am able to watch YouTube Featured, Most Viewed, Most Recent, Top Rated... etc. And then I logged on my YouTube account using my gmail username and password. The problem is that every time I try to go to

  • I can't download PhotoshopCC's trial version for Mac.

    When I open the download window (on Adobe website), it says: "Safari can't open the page because it doesn't recognize addresses starting with aam://". I tried to deactivate firewall and pop-up, I also installed java, but nothing... help!