Need Help with Styleswitcher
Could someone help me with a Styleswitcher, I don't understand most of it...
I think that "blue","green","large" & "small" are all different & they would load in that order... Is it possible, with this script, to block selected links??? And the cookie domain would be my domain???
<?php
require_once("Styleswitcher.php");
$ss = new Styleswitcher('/switcher/v2/');
$ss->addStyle("blue", "blue.css");
$ss->addStyle("green", "green.css");
$ss->addStyle("large", "large.css");
$ss->addStyle("normal", "small.css");
$ss->createSet("fonts");
$ss->addStyleToSet("fonts", "large");
$ss->addStyleToSet("fonts", "normal", true);
$ss->createSet("style");
$ss->addStyleToSet("style", "blue", true);
$ss->addStyleToSet("style", "green");
$ss->cookieDomain = ".contrastsweb.com";
$ss->cookieName = "cwStyle";
$ss->start();
?>
Be gentle, I'm very new to this...
Renroc
JeevesBond posted this at 13:03 — 23rd September 2005.
He has: 3,956 posts
Joined: Jun 2002
Seems so, they're all pointing to different stylesheets.
Ok, I'm very unsure what the actual question is here, also "Styleswitcher.php" is being included and seems to be where most of the work is happening.
So - and I'll ask gently - could you give us a little more information and explain the actual question a bit better, especially exactly what it is you're trying to achieve and hopefully we can help
Welcome to the forums btw :wave:
a Padded Cell our articles site!
renroc posted this at 06:26 — 8th October 2005.
They have: 4 posts
Joined: Jul 2005
Sorry it's taken so long to get back to you.. thanks for getting back to me...
At present I can't remember why I posted the question... if I remember I'll post it again with more information..
R
Renroc
http://www.aonerealty.com.au
http://www.smbusinessmarketingsuccess.com
http://www.excitingdatesnow.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.