Verfasst: 03.06.2007 10:21
was ist der unterschied zwischen read und load?
aha den abschnitt
könnte man auch rausnehmen?
aha den abschnitt
Code: Alles auswählen
function load_cookie()
{
var cookie = readCookie('style_cookie');
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);
}
function unload_cookie()
{
var title = getActiveStyleSheet();
createCookie('style_cookie', title, 365);
}
onload_functions.push('load_cookie()');