|
-
Jun 4th, 2007, 03:42 PM
#1
Thread Starter
Frenzied Member
color table?
Well people are having troubles with colors on my sig on other forums(see here http://mattsbox.co.uk/high6/sigs/signsig.jpg/sign.html). with colors and placing name so what I wanna do is make it as user friendly as possible so I was wondering how I would make a color table that when click stored the color values to be submitted later.
-
Jun 4th, 2007, 05:39 PM
#2
Junior Member
Re: color table?
Something like that would probably use Javascript, as it sounds like you want everything easier on the client side.
I'd make a button, like "View Colors", which would have a big div (styled as position: absolute, maybe in the center or towards one side, originally display: none, then the option in the box to "close") with many color options in 10x10 pixel boxes (aka the box is the color they want) in 5-10 columns and rows
When they click the box, a function would parse and edit the input box.
You might want to generate different colors with a php loop when the page is loading, but thats all the php thats could be involved in this...
Also, if you want to prevent them from submitting vulgar requests, just put a filter on the server-side of it.
Bruce
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|