vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can HTML sorts texts alphabetically? See this. (https://vborg.vbsupport.ru/showthread.php?t=231045)

TaMpE 12-24-2009 08:00 AM

Can HTML sorts texts alphabetically? See this.
 
I am planning to add a huge list of TV show names in some forums and the list will show up inside the "Notice" box that vBulletin has. But I might add more into the list later and I don't feel like rearranging the list manually when there are going to be like 40+ or more. I'm planning to do this using the table HTML but I am not even good at coding but I will try and come back if I can't crack my head LOL.

But first I would like to ask if there's away to let HTML alphabetically sort my list for me. The code list will be something like this

Oklahomer
Whatboot
Atilon

and will output as

Atilon
Oklahomer
Whatboot

By the way, there is going to be more than 1 column since I don't want the long list to take the whole page and also use the free horizontal space.

Thanks

Lynne 12-24-2009 02:00 PM

html is static, it's doesn't *do* anything. You'd have to use some code, like php, to put things in alphabetical order. But, you can't put php in a notice.

TaMpE 12-24-2009 10:45 PM

Quote:

Originally Posted by Lynne (Post 1937285)
html is static, it's doesn't *do* anything. You'd have to use some code, like php, to put things in alphabetical order. But, you can't put php in a notice.

Oh, I see. Thanks Lynne for the reply.


All times are GMT. The time now is 02:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02072 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete