Ajax url segments with jquery using AJAX crawling scheme -


i researching how approach loading content ajax web application

i notice twitter using google ajax crawling scheme: (http://code.google.com/web/ajaxcrawling/)

but instead of: http://twitter.com/who_to_follow#!key=value

they using like: http://twitter.com/#!/who_to_follow/suggestions

how handle segments instead of #key=value in ajax request jquery?

any help/advice appreciated jon

you can use dom window object load full hash fragment:

q = window.location.hash.substring(1); 

q contain on right side of hash. can split q on '/' , reference result partitions array. there code examples here: http://goo.gl/0lj0j


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -