Web Design Discussion > General Web Design Discussion

Drop-down list of users

(1/1)

Jim:
As code refactoring continues, I've enhanced the mechanism by which the user can be specified for the main overall stats page for a user:

http://tm.teresco.org/user/

As before, you can specify user with the u= query string parameter and it's remembered in a cookie once you do that, but the free text input field has been replaced with a list of all travelers who had at least one clinched segment somewhere in their list file.

I tried it out quite a bit and was confident enough to put it right onto the main site.  It could certainly still have problems, so please let me know if you notice any.

I plan to do the same with other pages, where system lists and region lists will be drop-downs as well.

Ib3kii:
Everything looks and works fine for me.

Thanks,

michih:
Thanks. I don't like that the "Select User" button must be pressed...
I'd prefer data to be loaded when clicking on a user or pressing Enter.

Ib3kii:
Yeah, just like the old CHM.

Thanks,

Jim:
For consistency across the pages that now share the code for the generation and handling of the user dropdown, I'm going to leave it as is for now.  What I don't want to happen is on those pages where there are multiple things to choose, I want the user to be able to choose them all before regenerating the page (which for users with lots of travels can be pretty slow in some cases).

Navigation

[0] Message Index

Go to full version