Can someone tell me what I am doing wrong? I have tried all the coding and it acts as a pop up when you click enter site.
Here is the coding for the form:
<form method="GET" action="http://www.rotatemarketing.com/home.html" target="_parent">
<div>
<input type="hidden" name="acctid" id="acctid" value="qgdtcj4r6lpmrn1i" />
<input type="hidden" name="formid" id="formid" value="704007" />
<input type="hidden" name="" id="" value="name,email" />
</div>
`<p>
<font size="3">First Name:</font> <input type="text" name="first" /><br /><br />
<font size="3">Last Name:</font> <input type="text" name="Last" /><br /><br />
<font size="3">Email:</font> <input type="text" name="email" /><br /><br />
<font size="3">Phone:</font> <input type="text" name="number" /><br /><br />
<input type="submit" value="enter site">
</form>
<br><center><font face="Arial, Helvetica" size="1"></font></center>
<!-- End Form -->
Here is the coding for the rotating web page:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>Rotate Marketing</title>
<script src="cookies.js" type="text/javascript">function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
</script>
<script type="text/javascript">
<!--
var Win;
var page_index = 0;
var page = new Array();
page[ page.length ] = "http://www.homebiz.usaloe.com";
page[ page.length ] = "http://www.makethatmoney.usaloe.com";
var next_page = function(){
//page_index = (( page_index === 8 ) ? 0 : page_index );
page_index=++page_index % page.length;
if ( typeof Win !== "undefined" ) {
Win.location.href = page[ page_index ];
createCookie("lastPage",page_index,30);
}
};
window.onload = function() {
page_index=readCookie("lastPage");
if(null===page_index)
{
page_index=0;
}
else
{
page_index=++page_index % page.length;
}
createCookie("lastPage",page_index,30);
Win = window.open( page[ page_index ], 'Win', 'resize=yes,toolbar=yes, status=yes,scrollbars=yes, screenX=0,screenY=0, width=1000, height=666' );
timer = setInterval( "next_page()", 10000000 );
};
// -->
</script>
</head>
<body>
</body>
</html>