I'm using styleswitcher to switch between backgrounds on my website and it is working perfectly, thank you. I'm using joomla for my site and I've added smf as a forum. Both run in seperate folders in the root of my server and have there own templates. I have linked them in the main menus with external links to create the appearance of one site. I would like to know whether it is possible to have my backgrounds change on the forum when it is changed on the site?
As far as I can understand the selected background is stored in a cookie, I do not know much about cookies or js. for that matter, so I added styleswitch.js to my forums template folder and put the header script in index.php and imported the stylesheets into the header from the sites template folder changing the url paths to full url's but I'm missing something, because it does not work. Am I being a total noob or can it not get the cookie from my site?
Any help to try and understand this will be greatly appreciated.



Reply With Quote


Bookmarks