Advertise Here

Author Topic: How to make anything go to a 'chapter' or 'section'?  (Read 6131 times)

0 Members and 1 Guest are viewing this topic.

Offline The Fate

  • SMF For Free Member
  • *
  • Posts: 61
  • US Navy Seal: Commander Fate
    • View Profile
    • CIA

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #15 on: July 30, 2010, 07:48:03 pm »
Can someone explain this a little bit more for me...? Can this type of indexing handle numbers in the name??

For the top of your post, this code would be your index (put html tags around this whole code):

Quote
<a href='#123'>Part 1</a>
<br>
<a href='#456'>Part 2</a>
<br>
<a href='#789'>Part 3</a>





Below would be where clicking one of those would take you (be sure to put html tags around the html codes):


Quote
<a name='123'>Part 1</a>
Your text would go here.

<a name='456'>Part 2</a>
Your text would go here.

<a name='789'>Part 3</a>
Your text would go here.



Replace the numbers (such as 123) to anything you'd like. The matching colors shown in these must match.
Replace the *Part 1, Part 2, Part 3* to whatever you wish to call them.

Be sure to put HTML tags around all the HTML codes.
« Last Edit: July 30, 2010, 09:23:48 pm by The Fate »

Offline McLovin

  • SMF For Free Member
  • *
  • Posts: 44
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #16 on: July 30, 2010, 09:04:30 pm »
Thank you again, The Fate!! You're pretty dang good at this, lol. Also, HTML codes are -> ] [ <- those right? I don't need to use the text HTML right?
« Last Edit: July 30, 2010, 09:09:35 pm by McLovin »

Offline The Fate

  • SMF For Free Member
  • *
  • Posts: 61
  • US Navy Seal: Commander Fate
    • View Profile
    • CIA

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #17 on: July 30, 2010, 09:19:45 pm »
Thank you again, The Fate!! You're pretty dang good at this, lol. Also, HTML codes are -> ] [ <- those right? I don't need to use the text HTML right?

You're welcome. :) 

The html tag is:
Code: [Select]
[html]Code here[/html]
An example html code would be: <a name='123'>Part 1</a>
Just put the tag around it so it's like:
Code: [Select]
[html]<a name='123'>Part 1</a>[/html]

] [ - used for BBC in this case
< > - used for html in this case

Offline McLovin

  • SMF For Free Member
  • *
  • Posts: 44
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #18 on: July 30, 2010, 09:48:40 pm »
Ok, thank you again. I'm just gonna start sending you pms instead since you're the only one who knows/responds quick enough..

Offline The Fate

  • SMF For Free Member
  • *
  • Posts: 61
  • US Navy Seal: Commander Fate
    • View Profile
    • CIA

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #19 on: July 30, 2010, 09:52:56 pm »
No problem and sure. :) I'm happy to help.

Offline McLovin

  • SMF For Free Member
  • *
  • Posts: 44
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #20 on: July 30, 2010, 10:02:47 pm »
Can the numbers <a href='#123'>Part 1<a> be the same in every single one? Like can I have ten or fifteen of the line
Code: [Select]
<a href='#123'>Part 1</a> ??
« Last Edit: July 30, 2010, 10:06:04 pm by McLovin »

Offline The Fate

  • SMF For Free Member
  • *
  • Posts: 61
  • US Navy Seal: Commander Fate
    • View Profile
    • CIA

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #21 on: July 30, 2010, 10:15:45 pm »
If you mean something like:

-The Top-

Code: [Select]
[html]<a href='#123'>Part 1</a>
<br>
<a href='#123'>Part 2</a>[/html]


-The Body-


Code: [Select]
[html]<a name='123'>Part 1</a>[/html]
Your text would go here.

[html]<a name='123'>Part 2</a>
Your text would go here[/html]

That would not work since the '123' points to the first spot of your Body and will ignore the rest.


the <a href='#xxx'> up top must match the <a name='#xxx'> in the body to direct it there.

Offline McLovin

  • SMF For Free Member
  • *
  • Posts: 44
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 10 Posts First Post One year Anniversary
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #22 on: July 30, 2010, 10:18:23 pm »
Ohhhhhhhhhhhhh I understand, lol. I wanted to know this since I was making an items list for my forum since we all think that RuneLocus isn't up to date enough.. None of them know how to do anything with this so I decided to find out how, lol... They want alphabeticaly, numerically, and by type of item... I finished alphabetically and type, but I was stumped by numerically...

Offline The Fate

  • SMF For Free Member
  • *
  • Posts: 61
  • US Navy Seal: Commander Fate
    • View Profile
    • CIA

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: How to make anything go to a 'chapter' or 'section'?
« Reply #23 on: July 30, 2010, 10:21:35 pm »
Oooo. :o

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1105 Views
Last post April 28, 2007, 09:51:06 am
by simply sibyl