• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
# symbol in URL - what does this mean?

#2
[eluser]Nick Husher[/eluser]
The # character is used to signal the browser to center the view on a particular named element.

So a link to www.example.com/#my-content will center on an element with an id of "my-content"

Many obtrusive javascript libraries will insert links like <a href="#"click="...">Javascript Link</a>, hence your mystery # at the end of the uri string. Note that anything that comes after the # will not be passed to the server through GET parameters.


Messages In This Thread
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 10:07 AM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 10:13 AM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 01:08 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 01:21 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 03:07 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 03:12 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 03:23 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 04:29 PM
# symbol in URL - what does this mean? - by El Forum - 09-24-2008, 05:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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