|
-
Jan 24th, 2004, 02:23 PM
#1
Thread Starter
New Member
ordered list
hey there yall...just a quick one (hopefully)
i have a collection of stories for a website...the owner of the site has the ability to add/delete the stories at will...but no ability to set the order of his stories...i would like to add a way to order the stories....so im envisioning a textfield with numbers in it...and then they could enter "1...2.....3...4...etc"....
has anyone seen a script that would take this numbering and if, for instance, they entered in 2 - 4's....it would take one 4 and make it '5' and leave one as '4'...then adjust the other numbers accordingly? if any of you are a netflix member....im trying to recreate the way that their queue functions....
thanks in advance for any help, leads, etc
you guys are the illest
kasey aka robocop
-
Jan 24th, 2004, 06:54 PM
#2
Thread Starter
New Member
does anyone have any idea what im talkin about? lemme know if any clarification would help
-
Jan 24th, 2004, 07:04 PM
#3
-
Jan 24th, 2004, 07:30 PM
#4
The picture isn't missing
Re: ordered list
Originally posted by robocop
hey there yall...just a quick one (hopefully)
has anyone seen a script that would take this numbering and if, for instance, they entered in 2 - 4's....it would take one 4 and make it '5' and leave one as '4'...then adjust the other numbers accordingly? if any of you are a netflix member....im trying to recreate the way that their queue functions....
thanks in advance for any help, leads, etc
you guys are the illest
kasey aka robocop
when you said "2 - 4's"
do you mean that they entered two '- 4''s, like (- 4- 4), or do you mean they entered (2-4) and you completely confuse us over that?
unless you meant (2-4 2-4)... which is pretty ridiculour in my mind.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Jan 24th, 2004, 10:56 PM
#5
Thread Starter
New Member
thanks for the replies....ill try to clear this up...basically its like i want it to be a decending list of numbers...with no duplicates.
so like...if someone orders the stories like this:
(these are input textboxes)
1
2
3
4
4
5
i would like it to order the numbers like this:
1
2
3
4
5
6
help any?
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
|