Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

Goto/Anchor Help

Creator: Xeln January 1, 2011 1:26am
9 posts - page 1 of 1
Xeln
<Member>
Xeln's Forum Avatar
Posts:
6
Joined:
Dec 9th, 2010
Permalink | Quote | PM | +Rep January 1, 2011 1:26am | Report
I recently tried to add a ToC into my guide because it's a pretty hefty wall of text. I looked at SixSonatas guide format, and the BBCode guide both for information on the (goto=whatever)whatever(/goto) and (anchor=whatever) codes and then implemented them into my guide. And they don't work. Yes I changed my brackets. It seems as though the goto commands are working because the text shows as a link, and it changes the address bar at the top to the base link plus #whatever at the end, however it never actually goes anywhere. It just sits at the table of contents still. Due to this I have removed my ToC for the time being, but I left all my anchors in so I can fix it faster. Originally I had my anchors in the same line as my text that I wanted linked to, but when that didn't work I tried moving the anchors to an empty line and it didn't work there either. Every goto/anchor pair has the same spelling and are all in lowercase lettering. What did I screw up? Thanks in advance.
Old school since the '80's.
Scrax
<Retired Moderator>
Scrax's Forum Avatar
Show more awards
Posts:
5565
Joined:
Jul 29th, 2010
Permalink | Quote | PM | +Rep January 1, 2011 8:32am | Report
It'S cAsE sEnSiTiVe :D
Jebus McAzn
<Retired Moderator>
Jebus McAzn's Forum Avatar
Show more awards
Posts:
7017
Joined:
Sep 30th, 2010
Permalink | Quote | PM | +Rep January 1, 2011 9:21am | Report
I. Preface

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah




I. Preface


So there, exactly what I did was as follows: My first line is (goto=preface)I. Preface(/goto) and my anchor is (anchor=preface)I. Preface

Obviously, replace the parentheses with brackets.

From what I'm reading, you're doing it perfectly right - you aren't changing the capitals at all, and you're closing your "goto" tags. One question - did you close your anchor tags with (/anchor)? Because you shouldn't be if you are.

If not, I don't really know what to tell you. The best advice I can give is to screenshot the exact code of your guide and post it here, and I'll try to diagnose the problem.
hypershatter
<Member>
hypershatter's Forum Avatar
Show more awards
Posts:
1020
Joined:
Aug 25th, 2010
Permalink | Quote | PM | +Rep January 1, 2011 3:06pm | Report
omg nice i needed this info as well

tnx jebus
Xeln
<Member>
Xeln's Forum Avatar
Posts:
6
Joined:
Dec 9th, 2010
Permalink | Quote | PM | +Rep January 1, 2011 11:48pm | Report
No I haven't been closing my anchors. Does the text after the anchor and text between the goto tags have to match? Otherwise it's all the same.

Intro

Intro:

(goto=intro)Intro(/goto)

(anchor=intro)Intro:
Old school since the '80's.
Jebus McAzn
<Retired Moderator>
Jebus McAzn's Forum Avatar
Show more awards
Posts:
7017
Joined:
Sep 30th, 2010
Permalink | Quote | PM | +Rep January 2, 2011 8:21am | Report
What you just did seemed to work.
Scrax
<Retired Moderator>
Scrax's Forum Avatar
Show more awards
Posts:
5565
Joined:
Jul 29th, 2010
Permalink | Quote | PM | +Rep January 2, 2011 9:01am | Report
If you copy/paste from Word or something like that it might f* it up.
Xeln
<Member>
Xeln's Forum Avatar
Posts:
6
Joined:
Dec 9th, 2010
Permalink | Quote | PM | +Rep January 2, 2011 11:59pm | Report
WTF? OK, so when I first posted the actual coding into this forum it didn't work for me, but now it does. If that's all it is, then maybe it worked fine, but needed time to assimilate. Dammit, someone needs to get the Borg working on the assimilation time. Whatever.

Thanks for the help guys.
Old school since the '80's.
Jebus McAzn
<Retired Moderator>
Jebus McAzn's Forum Avatar
Show more awards
Posts:
7017
Joined:
Sep 30th, 2010
Permalink | Quote | PM | +Rep January 3, 2011 3:26am | Report
No problem. :P

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide