469,343 Members | 5,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

IFRAME Popup

Hi,
I am trying to call a page on server1(development) which in turn
loads a report from another server2 (rptdb) using an iframe. The report

has links in it, on clicking which I am executing a window.open on an
absolute url on server1(development).
The problem is that the popup does not work, on IE it does not do
anything, and on Firefox it just says 'page cannot be displayed'.

Now, if I move my report from server2(rptdb) to server1(development)
then the pop up works fine.
Here are the 2 links for testing:
a) http://development.webmetro.com/DSMM...st_remote.html
Here I am loading the iframe from rptdb server.
b) http://development.webmetro.com/DSMM...est_local.html
Here I am loading the iframe from development server.
Does anyone know whats happening here.
Any help is greatly appreciated.
Thanks,
infiniti

Apr 17 '06 #1
6 16969
Looking at
http://development.webmetro.com/DSMM...est_local.html, I see the
iframe references
http://development.webmetro.com/dsmm...mm/report.html. This proves
to be a valid URL.

However with
http://development.webmetro.com/DSMM...st_remote.html, the
iframe calls http://rptdb.webmetro.com/report.html. When I try to do a
simple nslookup on rptdb.webmetro.com, I get non-existent domain. Is it
an intranet site, or is it just not set up on your DNS?

For a DNS report, refer you to:
http://www.dnsstuff.com/tools/lookup...tro.com&type=A

Apr 19 '06 #2
Thanks Scott for the reply. I'll check this up and let you know if that
was the problem.

Apr 21 '06 #3
Hi Scott,

Thanks for the reply. I am sorry for the DNS
resolution issue with rptdb.webmetro.com. It is fixed now and you can
see what the real problem is.

Thanks again,

infiniti

Apr 21 '06 #4
In the report.html file the href link has TARGET="_top" change it to
TARGET="_self". This should fix your issue.

Refer to: http://www.w3schools.com/htmldom/met_win_open.asp

You may also want to browse your site using Firefox or another gecko
based browser; the report in the iframe does not look to friendly.

Apr 21 '06 #5
I also forgot to mention in the window.open you have extra data:

"...popup.html?keywordID=52',null,%20'height=700.. ."

Remove the %20

"...popup.html?keywordID=52',null,'height=700. .."

window.open(URL,name,features)

Apr 21 '06 #6
Scott, changing TARGET="_top" to TARGET="_self" solved the problem.
Thanks a lot for that :). But why will "_top" work on the same server
but not on a different server?
Also, thanks for pointing out the errors in the popup link.

Apr 24 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by S'fly | last post: by
2 posts views Thread by sebastiraj | last post: by
3 posts views Thread by Stevie_mac | last post: by
7 posts views Thread by ukrbend | last post: by
1 post views Thread by Raffi | last post: by
1 post views Thread by XP | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.