So time wasted uselessly, I am sorry, I thought that get back the domain was not a problem (with variables it's different story)!
Thank you...
User Profile
Collapse
-
I am really not able to make it work
My code:
projectTest.htm l
...Code:<head> <title>lucio palmitessa</title> <meta http-equiv="Content-type" content='text/html; charset="UTF-8"' /> <link rel="stylesheet" type="text/css" href="/style-p.css" /> <link rel="shortcut icon" href="/src/arancia.png"
Leave a comment:
-
yes I would like to display the url of the popup.
In the link you posted (thanks) I can read this:
At this point I don't know how to understand it:
if I have two windows object (like my case) can I get information from each of them in the same window?
or each window can manage just itself information ?
But If I open new window like this my_window = window.open(... ......); I suppose...Leave a comment:
-
You are right but I use an Italian version of this function so I translated it just for readability. The problem isn't the code.
No article treat this argument, I was not able to find in internet a complete explication of use of window.location .href, most of them are just a mention to it!
I tried it with different browsers with the same result, nothing!
So what I am interested in is to find a complete...Leave a comment:
-
I put in the relevant code.
So in my html page I have this
and in the javascript.js file I haveCode:<p><a onclick="pop('www.google.com')"> open pop up</a></p> <p><A onclick="test();">grab url </a></p> <div id="sinistra"></div>
...Code:var my_window = true
Leave a comment:
-
I call pop(url) and then call test(), my_window is global!
I haven't get sintax error!
The problem is that my_window.windo w.location.href don't give me back the current pop up url!
At this point I image that there is no solution at this problem and that the inter-window communication don't let me do that!
I have read a lot of book section and I was not able to find solution!
I try...Leave a comment:
-
Thank you I tried it yet, but nothing.
This is the code:
...Code:function pop(url) { if(false == my_window.closed) { my_window.close (); } my_window=window.open("http://"+url+"", "M", "width="+screeRes+", height=2000, location=yes, status=yes, resizable=yes, scrollbars=yes, fullscreen=no, toolbar=yes, left=200"); }Leave a comment:
-
Thank you so much the link is really interesting, but I can't find in it the solution to my problem!!
The problem's still the same, I am not able to open a popup and get back with a link in the main page the exact popup's url at that moment!
Any idea??
thanks in advance...Leave a comment:
-
document.URL with popup
I have search a lot in the web, but I was not able to find something useful!!
SCENARIO:
I have my home page and I open a pop-up window.
The user can browse in the pop-up window seeing pages that aren't mine web pages!
PROBLEM:
At this point I would like to get the pop-up actual URL!
SOLUTION:
I tried to use document.URL but nothing it use the...
No activity results to display
Show More
Leave a comment: