Re: Variable quantity chooser.

From: Date: Thu, 08 Feb 2001 08:29:25 +0000
Subject: Re: Variable quantity chooser.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38690@lists.php.net to get a copy of this message
The slider control is not a regular html-form-object. (on Windows you can see one in the recycle-bin properties). If you want to, or need to, i guess you can use an active-x control og make a javascript to do it. I wouldn't reccomend either... However if you need to set a not so spesific number you can use multiple radiobuttons or something like that. I made one just in this case to see if it's useful. One never know what will come in handy later on :-) It's not excatly what you wanted, but you might want to take a look at www.omnimedia.no/slider.php3 for the source and a quick try. Doesn't really do anything, though :-) (btw: you don't need JS if you don't need to display the current value, as it will be submitted as '$val') -Y ----- Original Message ----- From: "Steve Werby" <steve@247computing.com> To: <php-general@lists.php.net>; "David VanHorn" <dvanhorn@cedar.net> Sent: Thursday, February 08, 2001 5:50 AM Subject: Re: [PHP] Variable quantity chooser. > "David VanHorn" <dvanhorn@cedar.net> wrote: > > Is there a way, using PHP, to generate a quantity chooser that maxes out > at > > the quantity on hand? IOW, I have $quantity from the database, for a > given > > line item, and I'd like to have a slider that lets you run up to, but not > > over, the quantity on hand. > > > > This might be more of an HTML question.. > > I'm sure I can help you, but I'm not able to follow your terminology. > What's a "quantity chooser" and what's a "slider"? Are you > referring to > select boxes? I'm not trying to be rude, I just don't understand what > you're referring to. I'm confident you can accomplish what you want using a > loop, but perhaps you can restate your question using different terminology > and some more details. > > -- > Steve Werby > COO > 24-7 Computer Services, LLC > Tel: 804.817.2470 > http://www.247computing.com/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#38690) next »