game 1 point value 15
game 2 point value 12
game 3 point value 11
etc..
until all are used...
ive got EVERYTHING done on the site, except you can pick a value more
than once, and that aint good...people wont pay attention to what
they've used, and it will take them time to figure out which numbers
they have used...so im trying to help that experience. i currently
flag duplicates on a refresh of the page so they know what to
fix...jsut would be easier if it told them....
make sense?
tw
On Mon, 16 Aug 2004 19:36:13 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> its for a football pool that im building, and if there are 15 games in
> a weekend you can only assign 1-15, well 15 times :) make sense? its
> almost football season (well..american football season) and this is
> for our pool, im building a site to manage it now...
>
> tw
>
>
>
>
> On Tue, 17 Aug 2004 00:30:00 +0100, Adrian Lynch
> <[EMAIL PROTECTED]> wrote:
> > Here's a question for ya. Is this for some sort of ordering? Do you need to
> > order 15 things, hence the need to make sure all fifteen are different?
> >
> > Ade
> >
> > -----Original Message-----
> > From: Tony Weeg [mailto:[EMAIL PROTECTED]
> > Sent: 17 August 2004 00:21
> > To: CF-Talk
> > Subject: Re: _javascript_ question
> >
> > matt.
> >
> > great idea...that makes sense since i have to allow them to swap.
> >
> > now, coupled with adrian lynch's idea, will that work?
> >
> > tw
> >
> > On Tue, 17 Aug 2004 11:07:25 +1200, Matthew Walker
> > <[EMAIL PROTECTED]> wrote:
> > > So you need people to choose a different number in each select? But what
> > if
> > > they've set all 15, but then want to change one. All the other values
> > would
> > > be somehow disabled so you couldn't choose another value in the select
> > box.
> > >
> > > How about this: you can select a value that's already selected but if you
> > do
> > > then any other select boxes set to that value (therecould only be a
> > maximum
> > > of 1) become set to nothing and you have to reset them..?
> > >
> > > _____
> > >
> > > From: Tony Weeg [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, 17 August 2004 11:01 a.m.
> > > To: CF-Talk
> > > Subject: ot: _javascript_ question
> > >
> > > hello good peoples...
> > >
> > > i have a _javascript_ question, that really aims for a coupla things...
> > >
> > > 1. can this be done elegantly?
> > > 2. if not, then whats the best non-elegant way?
> > > 3. if so, a bit of a point in the right direction...i can READ
> > > _javascript_, most of the time, and tell ya whats going on...however, i
> > > SUCK, with a capital freakin' S at writing it...anyway, im sick of
> > > bugging mike t. all the time with my _javascript_ questions...so i
> > > figured i try here, and im sure he'll read this...but whatever, :)
> > >
> > > anyway...
> > >
> > > i have, lets say...
> > >
> > > 1. 15 select elements on a page.
> > > 2. each is named uniquely.
> > > 3. all are filled with 1-15 as the values (indexes 0-14)
> > > 4. if a user chooses, 14 in element 1 (index 0) i need to prevent them
> > > from choosing 14 in ANY other element.
> > >
> > > i (think) i can do it with something sort of LONG and VERY unelegant
> > inline
> > > (this.selectedIndex==0){2.something.Whatever};"
> > > onChange() event, but i think there has to be a BETTER way to do it.
> > >
> > > id love to learn this, is there a place to get this kind of _javascript_
> > > learning? ive picked up EVERY thing i can about a lot of web
> > > programming languages, just cant crack the _javascript_ code...
> > >
> > > help ??? :)
> > >
> > > cheers.
> > > --
> > > tony
> > >
> > > Tony Weeg
> > > human.
> > > email: tonyweeg [at] gmail [dot] com
> > > blog: http://www.revolutionwebdesign.com/blog/
> > >
> > > Check out http://www.antiwrap.com to send websites to your friends.
> > >
> > > _____
> > >
> > >
> >
> >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

