• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anchor function for in page links

#2
[eluser]Maglok[/eluser]
The strength of the CI anchor() method lies in that it is based on the concept of in-CI urls. Something you cannot do with plain html as easily. Since you are making an internal link on the same page you can just reference PHP_SELF or even just <a href="#id-1">.

That said I don't use anchor all that much myself. Not a big fan of internal links. Smile


Messages In This Thread
anchor function for in page links - by El Forum - 08-09-2010, 06:13 AM
anchor function for in page links - by El Forum - 08-09-2010, 06:17 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.