471,605 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

IFRAME in IE

I am using an iframe to build a menu (since it changes constantly) for my website. The problem is that I want to be able to click in the link in the menu anf having it open in the outer page. My iframe call is as follows:

Expand|Select|Wrap|Line Numbers
  1. <iframe src="menu.html" width="186" height="579" frameborder="0" scrolling="no" align="left" name="content">
  2.  
In my iframe my button have the following html (it also have a roll over detail to the button):

Expand|Select|Wrap|Line Numbers
  1. <a href="pageone.htm" target="_parent" onMouseOver="MM_swapImage('Image41','','RollOver/images/fa.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/fa.gif" name="Image41" width="162" height="21" border="0"> 
  2.  
It works fine in firefox, but it doesn't in IE.
Oct 6 '07 #1
1 1320
It works fine for me in FF2 and IE7, try closing off your iframe with </iframe> and close off your anchor with </a>
P.S. Next time use code tags when posting code, it makes your code more readable
Oct 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Christopher J. Hahn | last post: by
3 posts views Thread by Angel | last post: by
1 post views Thread by Z1P2 | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

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.