Hi there,
Making a website. CSS menu items target an iframe using href. Works fine in IE, FF and Opera. Not in Chrome however, content is displayed in a new tab, rather than the iframe. This happened just overnight so to speak: one day is works, next day it doesn't. As Chrome always seems to be up to date (4.0.266.0) it could be that a new version has been installed, i'm not sure. Checked options to find whether i accidentally set links to be opened in new tabs always. This is not so (as far as I can tell). Anyone any idea what's going on?
Oh, by the way: used the element inspector to check whether iframe id and target match. They do (must do as other browsers execute it correctly). Validated html and css on W3. Passed except for the behaviour:csshover3.htc and allowTransparency="true", required to get around some IE quirks.
Can't think of anything else. Help appreciated.
here's the code:
in php include file:
<li class="li_nc"><a href="home.html" target="pagina" >Home</a></li>
in index.php body:
<iframe id= "pagina" name="pagina" frameborder="0" width="100%" allowTransparency="true" style="background-color:transparent" </iframe>
bigG.


LinkBack URL
About LinkBacks



Reply With Quote
