?? about popup window using javascript

I am launching a popup window using the following script.
locate.onRelease = function(){
getURL("javascript:n_name=window.open('
http://www.wesitename.com/webpage.cfm','name_name1','width=720,height=330,scrollbars=yes') ;void(0);");
Right now all of my links load in the same popup window...
but if that window isn't closed for (instance if it was minimized)
by the user... and the user clicks another link for this popup...
it stays behind the main page rather than coming to the front
again..
My question is... Is there anyway to assure that this browser
window comes to the front when updated with a new click???
Thank you in advance
- Me

chess4thestupid wrote:
> I am launching a popup window using the following
script.
>
> locate.onRelease = function(){
>
> getURL("javascript:n_name=window.open('
http://www.wesitename.com/webpage.cfm','n
>
ame_name1','width=720,height=330,scrollbars=yes');void(0);");
> }
>
> Right now all of my links load in the same popup
window... but if that window
> isn't closed for (instance if it was minimized) by the
user... and the user
> clicks another link for this popup... it stays behind
the main page rather than
> coming to the front again..
>
> My question is... Is there anyway to assure that this
browser window comes to
> the front when updated with a new click???
>
> Thank you in advance
YOu could change the name_name1 for each link to name_2 name3
and so on.
By using same window name you load content into the same
window, using new
name makes automatically totally new request and new pop up.
Regards
Urami
Happy New Year guys - all the best there is in the 2006
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free>

Similar Messages

  • Open page in popup window using javascript:popupURL

    Hi, call a page in a popup window works fine using javascript:popupURL, but my question is
    Is it possible to specify height, width, pos x and y for the popup window?
    Thx in advance,

    Derlis,
    sure, but I guess you will have to write your own javascript function to do so:
    <script type="text/javascript">
    function myPopupURL(url)
      w = open(url,"winLov","Scrollbars=1,left=0,top=0,resizable=1,left=0,top=0,width=500,height=200");
      if (w.opener == null) w.opener = self;
      w.focus();
    </script>
    &lt;A href=&quot;javascript:myPopupURL('http://otn.oracle.com')&quot;&gt;OTN&lt;/A&gt;Best you put the javascript into the page header or page template header.
    You could even pass the parameters with each call to the javascript function as parameters.
    ~Dietmar.

  • Javascript/html question about popup window title

    I am displaying an uploaded pdf file using wpg_docload.download_file in a popup window (using javascript open).
    How can I change the title of this popup window.

    Thanks to Jes (John Scott at shellprompt.net) for a solution for my version of this problem; set the Content-Disposition in the HTTP header to indicate your required filename. Example:
    I have an 'On-Load - Before Header' process on the ApEx page I want to use 'host' my PDF document generator. The page is called from a popup JavaScript call, allowing us to rely on ApEx authorisation and authentication. The Source of this process looks like the following:
    declare
    myblob blob;
    begin
    -- Call procedure to gereate PDF document in a blob and pass it back
    myprocedure_to_generate_blob( in_parameter, in_parameter, myblob);
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ;||dbms_lob.getlength(myblob));
    -- This line sets the filename (which could be dynamic)
    htp.p('Content-Disposition: attachment;filename=mypdffile.pdf');
    owa_util.http_header_close;
    wpg_docload.download_file(myblob);
    -- Stop Apex from trying to render more of the page (we've finished)
    htmldb_application.g_unrecoverable_error := true;
    end;

  • How to pass value to pop up window using javascript function?

    I am not sure how to do this, I want to open new window from existing form,This is Mod/PLsql for consists some javascript functions also. When I am clicking on new window in form then new form should open with results of value entered,but new window form is opening with main page :( , not able to get text box value from parent form. How to call textbox input value in popup window from parent window using javascript?
    currently I'm using following code:
    HTP.p('<script type="text/javascript">
    function pop_up5()
    var l_url=window.opener.document.getElementById("p_single_store_pc").value;
    window.open(l_url, '''', ''fullscreen=no, scrollbars=1'');
    </script>' );
    Edited by: user11970612 on Jun 14, 2012 5:02 AM

    this is probably due to the Javascript code and not a "real link" to another page... I don't know if the null is due to the Javascript...
    But if you really really want to use javascript instead of a ... you can pass the location of the url with JSP (on your main page) as a parameter to the open window... (...) u can put instead of main.jsp <%= request.getServerName()+request.getRequestURI() %>
    the value <%= ... %> will return something like test.com/html/main.jsp
    Hope this helps.

  • To load a pdf file in popup window using flex

    Hi All,
    Can anyone send me the code for loading pdf file in a popup
    window using flex.
    Regards,
    Dharma

    try this action script
    var pdfUrl:URLRequest = new URLRequest("assets/file.pdf");
    navigateToURL(pdfUrl,"_blank");

  • Remove Maximize button from popup window using Webdynpro ABAP

    Hi,
    Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
    Thanks,
    Jay

    Hi Jayanth,
    I think by setting is_resizable parameter pass abap_false. try this
    lo_window = lo_window_manager->create_window(
    window_name = 'POPUP'
    title = 'Window'
    close_in_any_case      = abap_true
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    message_type = if_wd_window=>co_msg_type_none
    is_resizable    = ABAP_FALSE ).
    Cheers,
    Kris.

  • How to stop popup window using phone layout for display - Responsive HTML5, RH11

    Hello,
    I'm using the new Responsive HTML5 output in RH11. For some of my hyperlinks, I want to use a pop-up to display the linked topic. In the output, the pop-ups work, but they are automatically displayed using the phone layout, with the associated navigation buttons at the bottom, the help title, and so on. I don't want this - I just want a plain popup window. So, I tried to add a Screen Profile, set to 400 x 500 pixels exactly (thinking that this is bigger than a phone, but smaller than a tablet). I also added a corresponding Screen Layout. In the popup properties, I set the popup size to be 400 x 500 pixels. I guess there is something else I need to do to get this to work... but I don't know what that is. (I tried creating a new Window on the Project Set-up tab, and I tried creating a different master page. These things didn't work.)
    Can anyone tell me if what I'm trying to do with these popups is just a bad idea and it won't work well with certain browsers?
    Thanks!
    Alexandra

    I am confused as the responsive layouts are one size fits all, that is the point of them. You have one layout that morphs according to window size.
    Screen Profiles are only used within Multiscreen HTML5 layouts where you can map screen profiles to different adaptive screen layouts, such as desktop, tablet and phone. That mapping does not apply to responsive layouts.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • JDeveloper popup window using ADF Faces

    Has anyone actually managed to get a popup window working properly using ADF Faces? I have slavishly copied examples from the Developer's Guide, but nothing works - I never get a popup window appearing.

    I'm back again and unfortunately I haven't got this to work. I've scaled down my jsp to just include enough to test the pop-up functionality.
    First here's the code from my jsp page(index.jsp):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <!-- import tag libraries -->
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
    <f:view>
    <afh:html>
    <afh:head title="JSF Test Pop-up Page">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <meta name="MSSmartTagsPreventParsing" content="true"/>
    </afh:head>
    <afh:body>
    <af:commandLink text="Test Pop-up" action="dialog:test" useWindow="true"/>
    </afh:body>
    </afh:html>
    </f:view>
    and here's a copy of faces-config.xml:
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    </application>
    <!-- Navigation Rules -->
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>dialog:test</from-outcome>
    <to-view-id>/results.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    According to the docs on ADF Dialog Framework this is all I need to have in place in order for it to work. What am I missing?
    Thanks again to all replies.

  • Popup window with javascript in flash

    Hi everyone ;)
    I wonder if there´s available some code/tutorial which
    would make a "javascript call" and pop up what could bring some
    content into a new window in actionscript 3. I have a actionscript
    2 code for popup window but obviously it´s not working on my
    website project because of the wrong flash type :| So do you know
    how to make these kinds of pop up windows in as3?
    http://flashden.net/files/42875/index.html

    i am now down to only 1 error. How the script looks and the
    only error generated are below.
    on (release) {
    getURL("javascript:newWindow=
    window.open('
    http://websitemedia.net/playground/ferrioni/sandbox/ferrioniaddress.html','popper1',
    'width=425,height=300,scrollbars,resizable');
    newWindow.focus(); void(0);");
    error below:
    **Error** Symbol=contact, layer=Layer 1, frame=1:Line 5:
    String literal was not properly terminated
    newWindow.focus(); void(0);");

  • Firefox foes not open links in a popup window using "window.open(this.href..."

    When clicking on a thumbnail image it's supposed to open the same image in a popup window. (i.e. a bigger version of the same image). Firefox displays in the popup box "Not Found
    The requested URL /undefined was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.'' ''However this does work on other browsers? An ideas why this happens? Example [http://motorpride.co.za/inventory.html ]. Click on any car image in the list

    You're welcome
    Middle-clicking work for links on web pages, but also for many menu entries that open a page in the current tab and some toolbar buttons like the Home page and location bar and search bar Go buttons.

  • Open popup window; using struts

    function showPopUp() {
    window.open('/PrepareAddAction.do', "", "resizable, height=200, width=200");
    I am try to open a popup window but the above code getting exception.
    A new window opens but getting error
    The requested resource (/PrepareAddAction.do) is not available
    what is missing and how to fix this?
    Thanks.

    What you are missing is your "context" as part of your URL.
    The webserver treats "/" as the root of the webserver. Presumably you want it to be the root of your web application context. You need to add the context path to all urls generated into HTML. The struts tags can help you do this.
    Couple of solutions:
    window.open('<%= "/" + request.getContextPath() + "/PrepareAddAction.do" %>', "", "resizable, height=200, width=200");
    or using the struts html:rewrite tag:
    window.open('<html:rewrite action="PrepareAddAction"/>', "", "resizable, height=200, width=200");
    Both should have approximately the same result.

  • POPUP Windows using IE7

    In the past I have been able to hide the URL bar when
    creating popup windows, but now with IE7 they are seen. Is there
    some way of hiding that bar or is it now impossible to do?
    Thanks

    VernMan wrote:
    > In the past I have been able to hide the URL bar when
    creating popup windows, but now with IE7 they are seen. Is there
    some way of hiding that bar or is it now impossible to do?
    >
    > Thanks
    The address bar is hidden by location=no in the window.open()
    call,
    however in IE7 the URL will appear atop the open window, and
    THAT can
    not be prevented afaik.
    E. Michael Brandt
    www.divaHTML.com
    divaGPS : you-are-here menu highlighting
    divaFAQ : FAQ pages with pizazz
    www.valleywebdesigns.com
    JustSo PictureWindow
    JustSo PhotoAlbum

  • Finding Screen Number for a Popup Window using ABAP debug

    Hi Guys
    IPlease could you tell me how to find the screen number of a pop-up window using debug as opposed to F1 Help?
    Thanks
    Edited by: Brett Cunliffe on Sep 14, 2011 9:37 PM

    Hi,
    You can create a short cut for debugging on desktop and drag n drop the debugging icon from desktop to pop up screen, then it will be available for debugging.
    or copy the below code in a notepad and save it. If you want to debug pop ups then drag and drop this file.
    The code is
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    [more info wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/SAPGUI+shortcuts]
    Shiva

  • Uninstalling the 'block popup window' using ' safari'... preferences security did not help. Can somebody please help?

    Why turning off ' block popup window' does not work for me when i open the page?

    r! A popup blocker may be preventing the application from opening the page. If you have a popup blocker, try disabling it to open the win

  • Close firefox window using javascript

    how to set dom.allow_scripts_to_close_windows to false

    You can inspect and modify prefs on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    *http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    Type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key to open the <i>about:config</i> page, just like you open a website by typing the URL in the location bar.
    *If you see a warning message then you can confirm that you want to access the about:config page.
    *use the Search bar at the top of the about:config page to locate preferences more easily
    *preferences that have been modified and do not have the default value show as bold (user set)
    *preferences that are user set (bold) can be reset to the default value via the right-click context menu
    *preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    *preferences can be created via the right-click context menu: New -> String, Integer, Boolean

Maybe you are looking for

  • ToDo's -- Why aren't they in iCal on my iMac and my iPod Touch?

    To anyone that will listen at Apple... I’ve been a devoted Apple user for years. I’ve owned 2 different palm pilots and did the best I could to sync them with my Mac (Palm Desktop, The Missing Sync) -- though always with only limited success. I’ve al

  • Iphone and blue tooth

    I signed up for AT&T Hot Spot so I could use my iPad at work tethered to my iPhone.  All was working wel luntil I somehow hit "forget this devce" on my iPhone. Now I can not reconnect my iPad and iPhone using bluetooth. The phone doesn't "see" the ip

  • Becoming frustrated with Aperture 3

    For the last month I have been using Aperture 3. I love all the new feature and I want it to work. I have own Aperture since version 1.5 and the story has always been the same. I use it for a while until I become very frustrated with its poor perform

  • Disconnecting in PL/SQL

    Greetings All: I am writing a multithreaded embedded PL/SQL application in Visual C++ 6.0. The application registers as a 'listener' for a dbms_alert from a remote database. It waits for alerts using the waitone(...) method. The problem that I am hav

  • Photoshop CS4 Extended - cannot paint on .kmz files in 3D

    Hello, ist there anybody who can help me with a special problem ? I try to generate my own 3 D Object in Sketchup but in Photoshop CS4 Extended ein cannot paint on this, even i can with 3D objects out of the Photoshop Library. Thanks a lot, alphaplan