Open multiple links in same Iframe
*Im trying to Open multiple links in same Iframe, as well as changing the
divsstyle.visibility(Visibility is working for me) but adding window.open
I get nothing. I have the original address in a div id="testing"
name="wordp" *
<head>
<script type="text/javascript">
function wordpaboutme() {
var showme2 = document.getElementById("testing");
showme2.style.visibility = "visible";
var changeme = document.getElementById("testing");
changeme.window.open.('http://mysite.com/main/about-me/','wordp');
}
</script>
<body>
<div id="testing" name="wordp" class="bloger" ><iframe
src="http://mysite.com/main/" frameborder="0" scrolling="no"
width="990" height="800" >
<p>Your browser does not support iframes.</p>
</iframe>
</div>
No comments:
Post a Comment