CLICK HERE TO REGISTER


Welcome to BirdForum.
BirdForum is the net's largest birding community, dedicated to wild birds and birding, and is absolutely FREE! You are most welcome to register for an account, which allows you to take part in lively discussions in the forum, post your pictures in the gallery and more.

Reply
 
Thread Tools Rate Thread
Old Monday 9th May 2005, 16:09   #1
crispycreme
Registered User
 
crispycreme's Avatar

 
Join Date: Oct 2003
Location: Arizona
Posts: 451
Creating Lists in Posts

(Not sure if this is the right forum, please move if not)

The list tag is pretty nifty for showing your life lists. Using the numbered list option saves a heck of a lot of time. Like this:

Crispy's Demonstration List
[ list = 1 ]
[ * ]Brown-headed Cowbird
[ * ]Bronzed Cowbird
[ * ]House Finch
[ * ]Pine Siskin
[ /list ]

Which gives us:


Crispy's Demonstration List
  1. Brown-headed Cowbird
  2. Bronzed Cowbird
  3. House Finch
  4. Pine Siskin


Notice only lines with the [ * ] tag in front of them are actually included in the list. You can add un-listed headings, like showing the various families (which you'd not wish to actually include in the count), but there's a glitch. Observe:

Crispy's Demonstration List

[ list=1 ]
[ b ]Icteridae[ /b ]
[ * ]Brown-headed Cowbird
[ * ]Bronzed Cowbird
[ b ]Fringillidae[ /b ]
[ * ]House Finch
[ * ]Pine Siskin
[ /list ]


Crispy's Demonstration List
  1. Icteridae
  2. Brown-headed Cowbird
  3. Bronzed Cowbird
    Fringillidae
  4. House Finch
  5. Pine Siskin

Notice that it handles the second heading, in this case "Fringillidae", just fine. But it can't seem to manage the first heading, "Icteridae". This appears to be a little glitch in the BBCode. Is this something the Powers That Be can take a look at sometime? I realize it's a small, obscure thing.

__________________
Matt & Arwen's Arizona List
crispycreme is offline  
Reply With Quote
Old Wednesday 11th May 2005, 23:24   #2
Green Fields
Professional Bug Remover
 
Green Fields's Avatar

 
Join Date: Aug 2002
Location: Bath / Aylesbury, UK
Posts: 949
Blog Entries: 4
Quote:
Originally Posted by crispycreme
Notice that it handles the second heading, in this case "Fringillidae", just fine. But it can't seem to manage the first heading, "Icteridae". This appears to be a little glitch in the BBCode. Is this something the Powers That Be can take a look at sometime? I realize it's a small, obscure thing.
You still need the '[*]' before the '[ b ]Icteridae[ /b ]'


  1. Icteridae
  2. Brown-headed Cowbird
  3. Bronzed Cowbird

    Fringillidae
  4. House Finch
  5. Pine Siskin
OR You have to break out of the list each time, if you want a proper 'header' as you say.

Icteridae
  1. Brown-headed Cowbird
  2. Bronzed Cowbird

Fringillidae
  1. House Finch
  2. Pine Siskin
Also note that if you are using the 'WYSIWIG' editor, which is recommended for ease of use, you only have to click a button - just like you would in say, Microsoft Word or Appleworks.

Ollie
__________________
Ollie | techsupport (at) birdforum.net

Climber? Walker? Mountaineer? Camper? Visit GoXplore and join the outdoors community!
Green Fields is offline  
Reply With Quote
BF Supporter BF Supporter 2008 BF Supporter 2009 BF Supporter 2010
Click here to Support BirdForum
Old Sunday 15th May 2005, 07:08   #3
crispycreme
Registered User
 
crispycreme's Avatar

 
Join Date: Oct 2003
Location: Arizona
Posts: 451
Thanks for the info, Green Fields. However, neither of the two options you provided are what I'm looking for - as the first method adds the titles into the count (thus returning an incorrect count), and the second won't give grand total (just a bunch of subtotals). The curious thing is, I suspect that it should do what I'm trying to demonstrate. If you take a look at the link in my sig, it's my life list using the HTML equivalent of the [ list ] function, and as you can see incorporating titles into lists works just fine. If there's no tag to indicate a list item (which in HTML it's <li> instead of [ * ] but the function is the same), the list code simply ignores the line, allowing non-list items to be interspersed within the list items, e.g. titles or chapter headings. To top it off, the fact that in Bird Forum's BB code each subsequent title after the intial one works, as I showed in my initial post, assures me that it's intended to work in these forums. It's appears it's simply a glitch in the coding.
__________________
Matt & Arwen's Arizona List
crispycreme is offline  
Reply With Quote
Old Sunday 15th May 2005, 11:26   #4
Green Fields
Professional Bug Remover
 
Green Fields's Avatar

 
Join Date: Aug 2002
Location: Bath / Aylesbury, UK
Posts: 949
Blog Entries: 4
Actually, it's not a glitch :)

What it is is that you are spreading one bullet point over multiple lines - eg bullet point number 3 is 'Bronzed Cowbird [new line] Fringillidae'

Look at the HTML generated:

Code:
 <ol style="list-style-type: decimal"><li><br /><b>Icteridae</b></li>
     <li>Brown-headed Cowbird</li>
     <li>Bronzed Cowbird<br /><b>Fringillidae</b></li>
     <li>House Finch</li>
     <li>Pine Siskin</li>
   </ol>

I'll play around and see if I can find a better way of doing things.

Ollie
__________________
Ollie | techsupport (at) birdforum.net

Climber? Walker? Mountaineer? Camper? Visit GoXplore and join the outdoors community!
Green Fields is offline  
Reply With Quote
BF Supporter BF Supporter 2008 BF Supporter 2009 BF Supporter 2010
Click here to Support BirdForum
Old Sunday 15th May 2005, 20:27   #5
crispycreme
Registered User
 
crispycreme's Avatar

 
Join Date: Oct 2003
Location: Arizona
Posts: 451
I see what you're saying. However, it seems the HTML equivalent can allow non-listed items (as opposed to multi-lined list items) as evidenced by the first family heading of my life list, which although input before the first list tag still displays as a non-listed item. So it seems that even if the subsequent titles are simply the second lines of line-wrapping list items it doesn't explain the first title phenomenon.

Anyway, this was far more convoluted than I anticipated, as I have a hard time explaining things which I have a dangerously limited knowledge of. Thanks for taking a look into the matter, Ollie - it's certainly not anything I want you to invest all your time on!
__________________
Matt & Arwen's Arizona List
crispycreme is offline  
Reply With Quote
Advertisement
Reply


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Many Lists Do You Keep? Nightjar61 Lists 52 Tuesday 15th May 2007 03:09


Search the net with ask.com
Help support BirdForum
Ask.com and get

Page generated in 0.12017012 seconds with 14 queries
All times are GMT +1. The time now is 19:54.