Hallo,
<script type="text/javascript">
function readCookie () {
var a = document.cookie;
if ( a =='checkk=checked')
{window.location = "site1.html"}
else
{window.location = "site2.html"};
}var input = document.cookie;
if ( input =='checkk=checkk')
{document.getElementById('datepicker').style.display='none';}
else
{document.getElementById('datepicker').style.display='block';};
}function writeCookie () {
var input = new Date();
input = new Date(input.getTime() + 30000000000);
document.cookie='checkk=checked; expires='+ input.toGMTString();
}
</script>Gruß aus Berlin!
eddi
Ja, Das habe ich schon als Vorlage gehabt. Vorher stand drin 'link=link1'. Ich dachte, das sind 2 Variablen.
Wie funktioniert das denn? Was muss denn da in meinem Fall rein?
Gruß
Pascal