IFRAME Popup

I

infiniti

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/DSMMDev/DSMM/test_remote.html
Here I am loading the iframe from rptdb server.


b) http://development.webmetro.com/DSMMDev/DSMM/test_local.html
Here I am loading the iframe from development server.


Does anyone know whats happening here.


Any help is greatly appreciated.


Thanks,


infiniti
 
S

Scott

Looking at
http://development.webmetro.com/DSMMDev/DSMM/test_local.html, I see the
iframe references
http://development.webmetro.com/dsmmdev/dsmm/report.html. This proves
to be a valid URL.

However with
http://development.webmetro.com/DSMMDev/DSMM/test_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.ch?name=rptdb.webmetro.com&type=A
 
I

infiniti

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

infiniti

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
 
S

Scott

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)
 
I

infiniti

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top