943,910 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 606
  • PHP RSS
Nov 2nd, 2008
0

Is That Possible in PHP

Expand Post »
is it possible to make the user choose his favourite color from a Box like the Paint Program which contains all the colors
Reputation Points: 10
Solved Threads: 0
Light Poster
yasmena is offline Offline
45 posts
since May 2008
Nov 2nd, 2008
0

Re: Is That Possible in PHP

this is more of a client side matter where javascript would solve your problem. you can have the chosen color sent to a php script that will process it.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007
Nov 3rd, 2008
0

Re: Is That Possible in PHP

sure you can - at least with a few downsides.
Make a pop-up-window with Javascript that loads a PHP-file. In this PHP file you can programme a very basic color-picker with the main colurs (eg in steps of 32). When clicking a box you can return the selected colour with JavaScript again.
This cannot replace a good JS or Java-app but does its work well, when you don't expect too much.
Reputation Points: 56
Solved Threads: 29
Posting Whiz in Training
sDJh is offline Offline
255 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Grabbing newly enetered data from table once updated
Next Thread in PHP Forum Timeline: adding Options to Drop Down menu





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC