views:

591

answers:

1

So far I've found Address (port of SWFaddress?) and BBQ. Which other plugins that provide this functionality exist, and which is better/standard?

So far I've only built my own hackish #-reading scripts, but need something that can handle multiple variables, i.e. #user=bob&sortBy=rating.

Any suggestions or opinions are welcome.

Thanks!

+1  A: 

SWFAddress and BBQ are both good. If you want to continue to do it on your own, you can use both window.location.hash and window.location.search for the # and the query string respectively.

For example:

var hash = window.location.hash;
var qs = window.location.search.substring(1).split("&"); // this is an array for the QS

That's a bit hacky and for a more robust solution for the query string, you can check out Querystring

Mark Ursino
Could you explain very briefly what the main difference(s) between BBQ and Address are?
Euklides
Mark Ursino