phpmady Posted August 14, 2010 Share Posted August 14, 2010 Hi, I am builing a CMS , where user can choose the colors for menus, body and etc. At present am having a form where users wants to enter the color name. But what i am trying to make a color picker to choose the colors from the palette. How can i integrate the color palattes in my website, and please give me some inputs. Thank you Quote Link to comment Share on other sites More sharing options...
Skewled Posted August 14, 2010 Share Posted August 14, 2010 Here is a tutorial on using .php as .css extension. http://www.barelyfitz.com/projects/csscolor/ From that you could store the color information into a database based on name of the user. Then for each of the pages you could have a dropdown box either for color scheme or for individual colors for each item if you wanted. So overall you'd have a full template loaded into the database for each user, then if they change any of the values using something like a submit form you'd update that preference in the database. Hope this helps you get started. Quote Link to comment Share on other sites More sharing options...
Alex Posted August 14, 2010 Share Posted August 14, 2010 Sounds like you're looking for a JavaScript plugin. Here's a good one: http://acko.net/dev/farbtastic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.