473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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 17177
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: S'fly | last post by:
Hi, I'm struggling with the famous "gatekeeper" a little. Normally, it opens in a popup window, and from there it goes on. But I like this script to open in an iframe, and not in a popup. It...
2
by: sebastiraj | last post by:
I have one JSP program in which one iframe is defined. And the source of which is an another jsp. Contents of an iframe is in hyperlink. When i click any of the hyperlinks one popup box will come....
1
by: nospam | last post by:
All I am trying to achieve the following: Main window page's asp code writes the following line to launch a popup window (note the IFRAME has to be in the popup window, it cannot be in the...
3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
7
by: ukrbend | last post by:
I use an iframe on my home page and everything works perfectly. But now I decided to add a popups to my page. The popups come not from within the iframe but from the parent frame. Again, everything...
1
by: Raffi | last post by:
Hi, I have an application where a link in an iframe in the main page opens a popup with another iframe. This popup iframe has links which when clicked should reload the main page and/or the...
1
by: XP | last post by:
Hello Everyone, I was stuck with this really frustrating problem for sometime. Let me explain what I am trying to achieve: There is a form and an inner iframe. The form's target is set to the...
1
by: jadeite100 | last post by:
Hi: I am using IE 6 SP2. My resize attribute does not work <body onresize="test1();">. When I resize my window, the resize event doesnot get call. I have a jsp page with an iFrame called...
1
by: cdmsenthil | last post by:
I have an Infragistics UltrawebGrid . Each Row in the grid is attached to a context menu using Infragistics CSOM Upon click on the menu, I am creating an Iframe dynamically which points to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.