![]() |
username color options
Here is an example: http://www.vilegaming.com/league.x/standings1/3
how can i let my user have the option to change their name colors like so? only options i want are red,blue,white btw :) i have no idea what kind of tutorial i could find this in, maybe someone could break down the simple steps for me? i try to google for "username color options" and etc but could not find any. thanks!^^ |
There are plenty of javascript colour pickers.
Get the user to choose a colour and the javascript colour picker will put the colour value in an input field, let the user submit the form and save the value to the database. Then use this colour in an inline style around their username or change your css stylesheet to php and get the value out of the database and use it there. I see 4 simple steps. 1. Get the colour value 2. Save the colour value in db 3. Get the colour value from db 4. Use the colour value |
| All times are GMT. The time now is 04:25 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0