No need to translate, I rarely read what the sites are about, even when they're in English.
And you're not using the DD Style Sheet Switcher script. You're using a jQuery script for that.
Anyways, the cookies are fine. The problem is the href attributes to the stylesheets. They're relative. They should be absolute or network. I like network for this, it's more concise, easier to store in the cookie.
Where you have this on pages in the sub-folders (relative path):
Code:
<div id="select">
<a id="toggle"></a>
<h3>Zmień skórkę:</h3>
<ul id="styleswitcher">
<li><a href="none" class="default"></a></li>
<li><a href="../styleswitcher/red/red.css" class="red"></a></li>
<li><a href="../styleswitcher/yellow/yellow.css" class="yellow"></a></li>
<li><a href="../styleswitcher/green/green.css" class="green"></a></li>
<li><a href="../styleswitcher/orange/orange.css" class="orange"></a></li>
<li><a href="../styleswitcher/pink/pink.css" class="pink"></a></li>
</ul>
</div> <!-- END select -->
and this on the pages in the root folder (relative path):
Code:
<div id="select">
<a id="toggle"></a>
<h3>Zmień skórkę:</h3>
<ul id="styleswitcher">
<li><a href="none" class="default"></a></li>
<li><a href="styleswitcher/red/red.css" class="red"></a></li>
<li><a href="styleswitcher/yellow/yellow.css" class="yellow"></a></li>
<li><a href="styleswitcher/green/green.css" class="green"></a></li>
<li><a href="styleswitcher/orange/orange.css" class="orange"></a></li>
<li><a href="styleswitcher/pink/pink.css" class="pink"></a></li>
</ul>
</div> <!-- END select -->
Make them all like this (network path):
Code:
<div id="select">
<a id="toggle"></a>
<h3>Zmien skórke:</h3>
<ul id="styleswitcher">
<li><a href="none" class="default"></a></li>
<li><a href="/styleswitcher/red/red.css" class="red"></a></li>
<li><a href="/styleswitcher/yellow/yellow.css" class="yellow"></a></li>
<li><a href="/styleswitcher/green/green.css" class="green"></a></li>
<li><a href="/styleswitcher/orange/orange.css" class="orange"></a></li>
<li><a href="/styleswitcher/pink/pink.css" class="pink"></a></li>
</ul>
</div> <!-- END select -->
The browser cache and/or cookies may need to be cleared and/or the page(s) refreshed to see changes.
Bookmarks