Wednesday, July 28, 2010

Re: Newbie: how to tell a URL for a page?

Hello, your question probably does not have much to do with Django (as
a framework), but you may be able to check at the iframe url by
quering the DOM using javascript, either directly or via a library
like jquery if you are already using one.

Check the W3C documentation for the frame/iframe DOM:

http://www.w3schools.com/jsref/dom_obj_frame.asp

The iframe should contain a document object which should contain the
URL loaded on the frame.

Regards,
Carlos Daniel Ruvalcaba Valenzuela

On Wed, Jul 28, 2010 at 10:57 PM, BobAalsma <bob.aalsma@aalsmacons.nl> wrote:
> This question has been in the forum for about almost a week & no
> response. So please help a newbie out: is it too easy or too difficult
> to answer?
>
> On Jul 24, 7:29 pm, BobAalsma <bob.aal...@aalsmacons.nl> wrote:
>> I'm working on a programme where I want the user to register comments
>> on a third party web page.
>> To show this third party page, I intend to use frames or iframes, but
>> I discovered that some of the URLs redirect. This means that the page
>> shown in the (i)frame will have a different URL from the URL I use.
>> The redirection is in itself also information I want to show.
>>
>> So my question is: how can I tell the URL of the page (finally) shown
>> in the (i)frame?
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment