Jump to content

Recommended Posts

Posted

Hi,

 

Is there a way to get the current URL the UniURLframe is displaying?
For example the starting URL is google.com.

After that the user may navigate anywhere.

When the client click on a unibuttonI need to know the current url.

 

Thank you

Posted

i just take in your demo : urlframe.

 

i've change to go at start to 'http://free.fr'(a french web site).

 

Now i want to, when you clic a link, after loading the new page, know the url of this page.

 

 

I tried

 

function frameload(sender, frame, eOpts)

{

ajaxRequest(sender,"gethtml" , ["_value="+iframe.contentWindow]);

}

 

 

but it doesn't work :(

 

 

How can a i get this url ?

urlframe.zip

Posted

it doesn't work.

This url is the first one i go

 

For security reasons, you can only get the url for as long as the contents of the iframe, and the referencing javascript, are served from the same domain...

Posted

sorry, i m not clear.

my webside is on a domain (sendao.fr)
my uniurlframe is on another domain : wanao.com

I understand that i can't for security reason.

But I can modify the html code of this one too.

i think it is possible for them to communicate if i add javascript event in both of the too pages.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...