Topic: what name has the style switcher ? (Read 1209 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Jul 10, 2006, 02:35:18 PM »
Hello,
Here :http://www.finalwebsites.com/snippets.php?id=31 you see the style switcher but as its clear that the first part (php) should be saved as "some" file nowhere is mentioned what name..
Sop whats the name?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6300
38626 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jul 10, 2006, 07:16:31 PM »
I include this code always in my general include (the same file where are all my other functions) if this is done its easy tro access this code with:
Code:
<!-- EXAMPLE: place this inside your html header --> <link href="/includes/<?php echo $css_file; ?>" rel="stylesheet" type="text/css"> <!-- place this code inside the body where you want to show the links --> <?php echo style_switcher(); ?>
don't forget that the current style sheet name is stored inside a session