[eluser]vertmonkee[/eluser]
At the top of my page I will have links to jump to different id's within the same page like this
Code:
<a href="#id-1">First section</a>
<a href="#id-2">Second section</a>
<a href="#id-3">Third section</a>
If I use the anchor function from codeigniter like this
Code:
<?php echo anchor('#id-1', 'First section'); ?>
It creates a link to the full url where as I just want it to move the page down to that id.
If I just put the regular <a> tag in it works fine.
Is there a way to do this with codeigniter or should I just stick with the HTML tags?
Thanks