How do I create page node anchor links?

Stuart Wright

Well-known member
I want to create links within a page. Actually within a tab within a page.
The usual
HTML:
<a href="#general">General</a>
......
<h3 class="textHeading"><a name="general">General</a></h3>
takes me to
Code:
http://xf.avforums.com/sandbox/#general
What am I doing wrong please?
 
Thanks. I added {$requestPaths.requestUri} to the links, and that works within a tab when it's open, but is it possible to link to anchors in other tabs which opens the tab?
HTML:
<ul id="rulestabs" class="Tabs tabs" data-panes="#rules > li">
<li>
  <a href="rules1">Primary Rules</a>
</li>
<li>
  <a href="rules2">Trading Rules</a>
</li>
<li>
  <a href="rules3">Tab3</a>
</li>
</ul>
<ul id="rules">
<li>
Tab 2 - Trading Rules has lots of anchor tabs. Is it possible to link directly to an anchor within that tab?
 
Top Bottom