Results 1 to 5 of 5

Thread: ordered list

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7

    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

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    does anyone have any idea what im talkin about? lemme know if any clarification would help

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Originally posted by robocop
    does anyone have any idea what im talkin about? lemme know if any clarification would help
    It wouldn't hurt to explain a little more...


    Has someone helped you? Then you can Rate their helpful post.

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217

    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 .

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    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
  •  



Click Here to Expand Forum to Full Width