Q
Québec
Hi to the excellent newsgroup,
I got a script that works on pc with Opera, IE and Netscape. But some mac
users told me they could not access my web site at--
http://jeanpierredaviau.com where the script is.
I am using this cookies script for years. So, I think the problem might [?]
be in the page script.
Could someone help me on this please?
Jean Pierre
===========
<head>
if(getChip("webJPD", "lang"))location.replace("paintings5.htm");
exp = new Date();
exp = exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 365));
function premiereVisite(inName, inWord){
setCookie("webJPD", new Date(exp).toDateString(), exp)
setChip("webJPD", "nom", inName);
setChip("webJPD", "lang", inWord);
location.replace("paintings5.htm");
}
==========
<body>
<SCRIPT language="JavaScript">
var bienvenue = '<p>Cochez votre langue.</p>'
bienvenue += '<p>Check your language.</p>'
bienvenue += '<form name="R"><p>First name/Prénom:<input type="text"
name="T1" size="20"></p>'
bienvenue += '<p>Français:<input type="radio" value="V1" name="R1"
onClick="premiereVisite(document.R.T1.value, \'francais\')"></p>'
bienvenue += '<p>English:<input type="radio" value="V2" name="R1"
onClick="premiereVisite(document.R.T1.value, \'english\')"></p></form>'
document.write(bienvenue);
</SCRIPT>
I got a script that works on pc with Opera, IE and Netscape. But some mac
users told me they could not access my web site at--
http://jeanpierredaviau.com where the script is.
I am using this cookies script for years. So, I think the problem might [?]
be in the page script.
Could someone help me on this please?
Jean Pierre
===========
<head>
if(getChip("webJPD", "lang"))location.replace("paintings5.htm");
exp = new Date();
exp = exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 365));
function premiereVisite(inName, inWord){
setCookie("webJPD", new Date(exp).toDateString(), exp)
setChip("webJPD", "nom", inName);
setChip("webJPD", "lang", inWord);
location.replace("paintings5.htm");
}
==========
<body>
<SCRIPT language="JavaScript">
var bienvenue = '<p>Cochez votre langue.</p>'
bienvenue += '<p>Check your language.</p>'
bienvenue += '<form name="R"><p>First name/Prénom:<input type="text"
name="T1" size="20"></p>'
bienvenue += '<p>Français:<input type="radio" value="V1" name="R1"
onClick="premiereVisite(document.R.T1.value, \'francais\')"></p>'
bienvenue += '<p>English:<input type="radio" value="V2" name="R1"
onClick="premiereVisite(document.R.T1.value, \'english\')"></p></form>'
document.write(bienvenue);
</SCRIPT>