I am trying to load website into an iframe and cannot get it to work. I eventually want them to work on vairous resulutions. This is the code I have so far. It does not work wel at all. Please help, I am really counting on getting this to work! Thank you in advance
<html>
<head>
<title>Website Resolution Tester</title>
</head>
<body bgcolor="#FFFFFF">
<p> </p>
<FORM METHOD="LINK" ACTION="tester2.html">
Type the address of the site to test: <INPUT TYPE="text" NAME="webadd">
<INPUT TYPE="submit" VALUE="Click to Test">
</FORM>
<FORM NAME="roy">
<INPUT TYPE="hidden" NAME="bennitt">
</FORM>
<SCRIPT LANGUAGE="javascript">
var locate = window.location
document.roy.bennitt.value = locate
var text = document.roy.bennitt.value
function delineate2(str)
{
point = str.lastIndexOf("=");
return(str.substring(point+1,str.length));
}
document.write("Site Being Tested Is " +delineate2(text));
</SCRIPT>
<p>640x480</p>
<table border="0">
<tr>
<td valign="top" colspan="2" width="640"
bgcolor="#008000"><font color="#FFFFFF"><iframe name="home" src=document.write("http://" +delineate2(text)); width="100%" height="480" FRAMEBORDER="NO"></iframe></font></td>
</tr>
</table>
</body>
</html>



Reply With Quote



Bookmarks