Current URL in a Pop Up Window

All right, I need help!
I have this page called Contact.asp. A hyperlink named
Feedback is on that page. When you click on Feedback, it opens a
Pop Up window named Feedback.asp.
How do I display the URL, which would be
www.somesite.com/contact.asp in a text field of the form on the Pop
Up window (Feedback.asp)?

Not sure I understand correctly.
You could just type the name in like this:
<input name="URL" type="text"
value="www.somesite.com/contact.asp">
OR use the "HTTP_REFERER"
<?php echo $_SERVER["HTTP_REFERER"]; ?>
Not sure what you need?
Cheers
"Brachole" <[email protected]> wrote in
message
news:felgo7$rfj$[email protected]..
> All right, I need help!
>
> I have this page called Contact.asp. A hyperlink named
Feedback is on that
> page. When you click on Feedback, it opens a Pop Up
window named
> Feedback.asp.
>
> How do I display the URL, which would be
www.somesite.com/contact.asp in a
> text field of the form on the Pop Up window
(Feedback.asp)?
>
>
>
> Here's the script on Home.asp:
>
> <script>
> function openApp(){
> var popurl="
http://www.somesite.com/Feedback.asp"
>
winpops=window.open(popurl,"","width=615,height=550,scrollbars,")
> }
> </script>
>
> <a href="javascript:openApp()">Feedback</a>
>
>
> Here's the html form on Feedback.asp
>
> <form name="form1" method="POST"
action="<%=MM_editAction%>">
> <input name="URL" type="text" id="URL">
> <input type="submit" name="Submit" value="Submit">
> <input type="hidden" name="MM_insert"
value="form1">
> </form>
>

Similar Messages

  • Embed URL in a pop up window (Modal)

    Hi All,
    My requirement is to call a URL inside a pop window and the window should be a Modal.
    I was able to call a URL using method create_external_window ( if_wd_window_manager->create_external_window ), but was
    unable to make this as a Modal. Even though I set the parameter 'MODAL' of method create_external_window to abap_true, it still doesn't work.
    So, I embed the URL in an iframe inside a view. After making this view as a part of a window, I call the window using method create_window ( if_wd_window_manager->create_window ). I was able to set this as a Modal. But the problem with using iframes is the pop ups inside a URL doesn't open if the URL is made a part of iframe.
    Any other suggestions how to solve this ?
    Thanks,
    Tom

    Hi,
    Just want to share that in WD, only Modal popup are possible. you can see this in description of parameter MODAL of method CREATE_WINDOW (Obsolete! Only Modal Popups Are Supported).
    Thanks,
    Chandra

  • Allowed pop-up windows still being blocked

    I selected to block pop-up windows. I then added a URL to allow pop-up windows for, but, the URL is still being blocked.

    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location/address bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions

  • Since installing 3.6.9 my Joomla content editor pop-up windows no longer return the URLs selected

    I recently upgraded to Firefox 3.6.9 and found that when using the editor in a Joomla 1.0.15 website , the content editor pop-up windows no longer return URLs selected (eg: image or file URL to be used in a link). I have been using the site with no problems for many years, and the problem was cured when I reinstalled 3.6.8

    Thanks cor-el but the problem is not in my web development but is a new issue/problem in FireFox which was not present in all versions up to and including version 3.6.8 and was only introduced in version 3.6.9. I have also established that the same problem also exists in FireFox version 4 beta 6 and have therefore also raised a second question today.
    My understanding was that I should raise these issues in this forum, but I will also check out the other forum.

  • TS3230 i get a pop-up window saying the current version of Safari does not support the community toolbar.  How do I get rid of this?

    i get a pop-up window saying the current version of Safari does not support the community toolbar.  How do I get rid of this?

    You need to uninstall the Community / Conduit toolbar add-on.
    Locate the files in bold print and move them to the Trash. The first five are in your root   /Library
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/ScriptingAddtions (anything CTLoader realted)
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    The next one is in your Home folder.
    ~/Library/Application Support/Conduit
    When you're done, try Safari.

  • I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a  , which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a +, which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    There's another way.
    Right or control click the + then click Remove Item.
    Just remembered that keyboard shortcut!
    You're welcome 

  • When i type the https URL in my FireFox browser version 3.6 to 5.0, i get login pop up window two times. But in IE browser i get only once. Please tell me why FireFox is showing pop up screen two times to enter my uid/pwd. Thanks!

    We have our company internal application which is protected by SiteMinder. When we type https://appname.domain.com in IE i get popup window asking me to enter uid/pwd and works fine. However same URL when i login in FireFox, i get pop up window two times. So i wonder why FF is asking two times instead of just only once.
    Thanks for your help.

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Opening Centered Pop-up window with Dynamic URL

    I got some code for a centered pop-up window in Flash from a
    Kirupa tutorial. It works well, except that you are supposed to put
    an actual URL for the 'address' variable. I'm using a dynamic URL
    (+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
    address, it doesn't work.
    Here's the code for the button:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "'+url[p]+'";
    target_winName = "FlashDevelopment";
    width = 700;
    height = 400;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 1;
    menubar = 0;
    scrollbars = 1;
    resizable = 1;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    And here's the function:
    // New Window Function
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Any idea why my dynamic url is not being recognized?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • On websites which open pop-under windows, Firefox 4 seems to be opening these over the current window instead of under. Is this a bug or an intentional feature?

    I have noticed a problem on FF4 when browsing sites that open pop-under windows on a user action. With all other browsers (including FF3) these open underneath the main window, but on Firefox 4 they open over the top - acting as pop-ups and not pop-unders.
    While pop-unders are annoying, it is even more annoying to have them keep appearing as pop-ups instead.
    I have run some tests and the following code successfully opens a pop-under on all browsers except Firefox 4.
    It appears that window.focus() is not correctly bringing the current window to the top.
    Example code:
    var w = window.open('http://www.mydomain.com/', 'mywin', 'width=400,height=300,toolbar=1,menubar=1,resizable=1,scrollbars=1');
    if(w){
    w.blur();
    window.focus();
    }

    This is normal. Firefox 4 has disabled the default "window flip".
    - go to adress about:config
    - accept and search dom.disable_window_flip set to false;
    And popunder, blur/focus javascript function will be back ;)

  • I get a pop-up window that says "URL cannot load." What gives?

    At random, well known sites, I randomly get a pop-up window that says, "The URL is invalid and cannot be loaded." Firefox does load the site but I must click out of the pop-up to proceed.
    What gives? I'm running Windows 7 on a new HP laptop

    '''~ I HAD THE SAME PROBLEM WHEN TRYING TO WATCH NETFLIX MOVIES ONLINE SO I HAD TO SOURCE IT MYSELF BECAUSE NOONE ELSE HAD THE ANSWER, THESE ARE THE STEPS I TOOK: (MOZILLA FIREFOX 4)'''
    '''1.''' MAKE SURE YOUR NETWORK SETTINGS ARE SET TO "AUTODETECT SETTINGS FOR THIS NETWORK", (TOOLS--> OPTIONS--> ADVANCED--> NETWORK--> CONNECTION SETTINGS--> "AUTODETECT PROXY SETTINGS FOR THIS NETWORK"
    '''2.''' DISABLE ALL EXTENSIONS; (TOOLS--> ADDONS --> EXTENSIONS)
    (I ALSO HAVE AVG ANTIVIRUS, SO I HAD TO DISABLE THE AVG TOOLBAR EXTENSION)
    '''3.''' DISABLE MOST ADDONS EXCEPT ESSENTIALS LIKE SILVERLIGHT, SHOCKWAVE FLASH , & JAVA PLATFORM; (TOOLS--> ADDONS --> ADDONS)
    '''''~ NOTE: IF YOU HAVE MORE THAN ONE AUDIO/VIDEO PLAYER THERE MAY BE A CONFLICT.'''''
    '''4.''' IF YOU HAVE ITUNES IT WILL INSTALL QUICKTIME AS THE DEFAULT HANDLER OF APPLICATIONS IN YOUR BROWSER, SO I HAD TO UNINSTALL QUICKTIME WHICH I NEVER USE.
    '''5.''' IF YOU HAVE REALPLAYER, IT MAY ALSO CAUSE CONFLICTS WITH YOUR ADDONS & OTHER AUDIO/VIDEO PROGRAMS, SO I UNINSTALLED IT SINCE I WAS ONLY USING IT TO RECORD & DOWNLOAD INTERNET VIDEOS (OPTING FOR A SIMPLER DOWNLOADER)
    '''6'''. I FINALLY HAD NO PROBLEMS WITH INSTANT WATCHING OR URL INVALID PAGES ON NETFLIX, ETC., AFTER FOLLOWING THE PREVIOUS STEPS.
    '' ''' GOOD LUCK'''''

  • A bank weBank b site was pop up windows. What a set the url the bank has pop -up

    A bank were pop up windows. A detail . Firefox 4 a option pop up

    Thanks cor-el but the problem is not in my web development but is a new issue/problem in FireFox which was not present in all versions up to and including version 3.6.8 and was only introduced in version 3.6.9. I have also established that the same problem also exists in FireFox version 4 beta 6 and have therefore also raised a second question today.
    My understanding was that I should raise these issues in this forum, but I will also check out the other forum.

  • How to open a new pop-up window on click of a link using OAFunctions

    Hi ,
    I have a requirement to open a new pop-window on click of the responsibility name(functions available under responsibilities). The current URL /link is driven using OAFunctions.
    Any idea, how can i open a new window while still keeping the parent window as it is?
    Regards
    Puja

    This can be achieved, you need to first create the javascript function which will open the popup and add that to the HomePage through and then call that function during onLoad of the HomePage. Here is a code sample,
    1. Extend the page level controller and write a new controller
    2. Write the following code in processRequest before calling super.
    StringBuffer popupScript = new StringBuffer("function customPopUp() { ");
    popupScript.append("newWindow = window.open(theURL,'newWindow','toolbar=no,menubar=no,resizable=no,scrollbars=no,status=no,location=no,width=300,height=500);}");
    pageContext.putJavaScriptFunction("customPopUp", new String(popupScript));
    OABodyBean bodyBean = pageContext.getRootWebBean();
    bodyBean.setOnLoad("customPopUp");
    3. Use personalization to replace the existing controller with your extended controller and the popup should be launched whenever you enter the homepage.

  • Auto resize a pop up window

    Hi,
    I have a pop up window that appears when you click on a link. The problem that i am having is that when the user does not select anything from a drop down list or inserts any comments within the pop up window, the pop window displays error messages(validation checks) which hides most of the buttons and information within the pop up.
    Is there any way where the pop up can resize itself to a postion when those error messages appear so that all the information is visible without the user having to re size it themselves.
    any help will be appreciated
    Monica

    If you are not passing any values through the URL you could implenet Popup2() like this...
    1. Make a display as text item and remove the label.
    2. In the pre element text put
    <a .href="javascript:popUp2('f?p=&APP_ID.:38:&SESSION.::NO:::', 600, 800);">Click Here</a>remove the . infront of href (the forums will filter out the link if i don't put it there)
    This is a link to page 38 in your current app using your current session.
    When you run your app you should see a link that says Click Here and it should create a popup window to page 38 of your application.

  • Pop up windows in SharePoint 2013

    hello expert...
    i have a report that has drilled through action (open subreport on click) in a new window. i have deployed the same report on the SharePoint 2013 however when i performed drill through action and expected the subreport to open in new window
    but nothing happens.
    i want to ask how can i perform pop up window in sharepoint 2013?

    For some reason I thought I ran into this problem but it's been so long ago. One thing you might end up having to do is link directly to the sub report using paramaters passed via URL. So something like
    https://sharepoint.domain.org/reports/report1.rpt?parameter1=x;parameter2=y so it loads the report using those parameters.
    Basically try to do a click link in the report to google using the pop up code and see if you can at least get like google to come up separate, then you can just build a URL link to a report with the paramets to get into the report with the data needed.

  • How to pass value from main window to pop up window?

    I want to pass a value from the main window (1st form) to pop-up window (2nd form). The first form is of name booking.jsp and 2nd form is of name Fund_booking.jsp. I am using window.showModalDialog to open the window. I think, I have written right code in main window to pass the value but even then I am not able to get it on pop-up window. I am not even able to display an alert on pop-up window saying "hi" by writing a function on save Button in pop-up window. The code is as follows:
    On booking.jsp:
    <script>
    function popup()
    var aForm;
    aForm = D_requisition_id.options[D_requisition_id.selectedIndex].text;
    \\Here I have captured value from a drop down box in my main window form and assigned it to the variable.
    alert(aForm);
    var myObject =new Object();
    myObject.Brandcode = aForm;
    alert(myObject.Brandcode);
    window.showModalDialog("Fund_booking.jsp",myObject,"dialogHeight:400px;dialogWidth:420px;");
    </script>
    <button name="B_FundBooking" tabIndex=4 style='POSITION:absolute;LEFT:393;TOP:292;WIDTH:100;height:24;BACKGROUND-COLOR:buttonface' onClick ="popup()">Fund Booking</button>
    On Fund_booking.jsp:
    <SCRIPT>
    var oMyObject = window.dialogArguments;
    var sBrandcode = oMyObject.Brandcode;
    alert(sBrandcode);
    </SCRIPT>
    Even the following alert is not getting displayed in pop-up window;
    <script>
    function ValidateData()
    alert("Hi");
    </script>
    <button name="B_Save" tabIndex=1 style='POSITION:absolute;LEFT:255;TOP:315;WIDTH:75;height:24;BACKGROUND-COLOR:buttonface' onClick ="ValidateData()">Save</button>
    I am using DIV instead of frames in my both forms. I just want to get that value in my pop-up window to write a query based on which data will get displayed in my table of pop-up window.
    Plz help me to solve this problem.

    just attach the value with its url for example
    String names="java";
    <a href="# onclick="window.open('file.jsp?name='+names);"></a>

Maybe you are looking for

  • Platform.runLater messes up my Thread.currentThread().getContextClassLoader()

    Hi, I have a plugin mechanism in my application. The plugins are defines by an interface and are loaded via URLClassLoader. A plugin can also have resources, loaded via ResourceBundle.getBundle. Whenever a plugin's method is called, I do this, before

  • How to enable WiFi transfer from Canon Legria HF M52 to iMac

    My iMac is a late 2012 model with Mountain Lion (v. 10.8.3). Recently I bought a Canon Legria HF M52 camcorder which is WiFi enabled, and is capable of transferring videos (AVCHD/MP4) wireless. The camera package included software for WiFi transfer o

  • Create local variable by an expression

    Hi! I searched the discussion forum, but I couldn't find any information about how to create a local variable using an expression. The TestStand version I'm using is 4.0. lets say, if I wanted to create a variable called "foo" as integer. What will t

  • Manage Certificate deletes on cancel

    Hi as i am currently testing a lion server i came accross a bug in certificate manager. In the list of installed certificates were some self signed ones i wanted to remove. While removing the first one of three i got a call and as i am used to cancel

  • Install PS CS6 Win7 system error code --16

    Install PS CS6 Win7 system error code --16? Then    ,I  need  your help