pmonstad — 2013-01-27T14:05:56-05:00 — #1
Can anyone help with this one?
pullo — 2013-01-27T15:57:47-05:00 — #2
Welcome to the forums!
I'm not too sure what you're trying to accomplish here.
Could you go into a little more detail?
From what you posted, it seems like you have several buttons which change the background and text colour when you press one.
You don't really need a colour picker for that.
Here is an example of a simple style changer I made for someone else.
Does that help you any?
pmonstad — 2013-01-27T16:11:40-05:00 — #3
Thanks, I guess this could help me. A question about your script. I see it includes some cookies. I have not gone deep into understanding your code, but what do the cookies do?
pullo — 2013-01-27T16:15:02-05:00 — #4
These ensure that the style changes persist between pages (a style switcher wouldn't be much use if you had to reselect your styles every time you moved from one page to the next :)).
If you are interested I wrote all of this up as a blog post.