OK guys, I know this should be straightforward, but obviously I'm missing something. When customers click a button, I want to direct them to the correct store. I know something similar has been discussed here, but it's not exactly what I'm trying to achieve.
When someone clicks the button, we don't want the "real" store to show up before the bounce. For this reason, I'm creating a blank page to bounce customers to the correct page. Regrettably, I'm missing something because although it works for unregistered customers, it's not working with registered customers. I'm sure it's my code, but being a newbie at Actinic, I'm not sure what I'm doing wrong. Here's the code. If anyone can help, I'd be very grateful.
<head>
<title>NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER</title>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<Actinic:NOTINB2B>
<meta http-equiv="refresh" content="0; url=Test_Kits_Wholesale.html">
</Actinic:NOTINB2B>
<Actinic:SHOWFORPRICESCHEDULE Schedules="2,3" HTML="<meta http-equiv="refresh" content="0; url=Test_Kits.html>"/>
<script language="javascript1.1">
function actNotRegistered(){
<Actinic:NOTINB2B>
location.replace ('Test_Kits_Wholesale.html');
</Actinic:NOTINB2B>
<Actinic:SHOWFORPRICESCHEDULE Schedules="2,3" HTML="location.replace ('Test_Kits.html');"/>
}
</script>
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
</SCRIPT>
</HEAD>
<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD;actNotRegistered()" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
</body>
</html>
<!-- Primary HTML end -->
When someone clicks the button, we don't want the "real" store to show up before the bounce. For this reason, I'm creating a blank page to bounce customers to the correct page. Regrettably, I'm missing something because although it works for unregistered customers, it's not working with registered customers. I'm sure it's my code, but being a newbie at Actinic, I'm not sure what I'm doing wrong. Here's the code. If anyone can help, I'd be very grateful.
<head>
<title>NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER</title>
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
<META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<Actinic:NOTINB2B>
<meta http-equiv="refresh" content="0; url=Test_Kits_Wholesale.html">
</Actinic:NOTINB2B>
<Actinic:SHOWFORPRICESCHEDULE Schedules="2,3" HTML="<meta http-equiv="refresh" content="0; url=Test_Kits.html>"/>
<script language="javascript1.1">
function actNotRegistered(){
<Actinic:NOTINB2B>
location.replace ('Test_Kits_Wholesale.html');
</Actinic:NOTINB2B>
<Actinic:SHOWFORPRICESCHEDULE Schedules="2,3" HTML="location.replace ('Test_Kits.html');"/>
}
</script>
<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
<!-- Placeholder of cookie checking javascript code. Do not remove it! -->
<Actinic:COOKIECHECK/>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
</SCRIPT>
</HEAD>
<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD;actNotRegistered()" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
</body>
</html>
<!-- Primary HTML end -->
Comment