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 Link to comment https://forums.phpfreaks.com/topic/210728-color-scheme-for-my-website/ 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. Link to comment https://forums.phpfreaks.com/topic/210728-color-scheme-for-my-website/#findComment-1099285 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 Link to comment https://forums.phpfreaks.com/topic/210728-color-scheme-for-my-website/#findComment-1099287 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.