Solved

iframe problem,

Posted on 2009-05-11
2
239 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

617 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