Wednesday, December 10, 2008

Javascript Examples - JAVASCRIPTS: IFRAME - reload

Javascript Examples - JAVASCRIPTS: IFRAME - reload: "This is the Code View for IFRAME - reload :

Go Get The Code Now - See The Code Run

<html>
<head>
<!--
This file retrieved from the JS-Examples archives
http://www.js-examples.com
1000s of free ready to use scripts, tutorials, forums.
Author: JS-Examples - http://www.js-examples.com/
-->


</head>
<body>

<a href='javascript:doIt(1)'>BEFORE</a><BR>
<iframe name=fm1 border=1 width=200 height=200 src='http://www.js-examples.com'></iframe>
<BR>AFTER
<BR>
NOTE: iframe is to be used in IE only.
<script>
function doIt(_v)
{
if (_v==1)
{
document.all.fm1.src='http://www.js-examples.com/consult/';
}
}
</script>

<BR><center><a href='http://www.js-examples.com'>JS-Examples.com</a></center>
</body>
</html>"

No comments: