1.11M Members

How do I make a website link not a pop up?


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">

		<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" />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="3">First Name:</font> <input type="text" name="first" /><br /><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="3">Last Name:</font> <input type="text" name="Last" /><br /><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="3">Email:</font> <input type="text" name="email" /><br /><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="3">Phone:</font> <input type="text" name="number" /><br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="enter site">
<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"
      <html lang="en">
      <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();
		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) {
      <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 ];


      window.onload = function() {


      page_index=++page_index % page.length;
      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 );
      // -->

Its just a guess, but perhaps your forms target of "_parent" is causing this?


Try removing the target="_parent" in the <form tag.


I am not sure why you are specifying a target attribute any way, is this in a frame?
I agree with the other replies, remove the target attribute of the form tag.

Win = window.open( page[ page_index ], 'Win', 'resize=yes,toolbar=yes, status=yes,scrollbars=yes, screenX=0,screenY=0, width=1000, height=666' );

says new window,
fix the javascript window.location() to keep the history
or window.location.replace() to void the history

is the current window

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
Tags Related to this Article