Solved

iframe problem,

Posted on 2009-05-11
2
238 Views
Last Modified: 2012-05-06
i have taken 2 iframes .in 1st iframe, i have given the src 2.php in which i have written india , and now on the click of india , new window opwns but i want to open in the second iframe

google chrome is responding fine but in mozilla, new window is opening?
what can be the reason?

please see the code.
1.php
 
<iframe id="datamain" src="2.php" width=130 height=250 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
 
<iframe id="display" src="4.php" width=330 height=400 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0scrolling=no></iframe>
 
2.php
 
<a target="display" href="3.php">India</a>
 
3.php
 
3
 
4.php
 
4

Open in new window

0
Comment
Question by:designersx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
alien109 earned 100 total points
ID: 24361609
give your iframes a name attribute and target that

<iframe name="display" id="display" src="4.php" width=330 height=400 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0scrolling=no></iframe>
 
0
 

Author Comment

by:designersx
ID: 24361759
thanks buddy
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question