pushstate - jQuery Address appends new deep link to existing deep link -
it's think same issue as here no solution there given. if directly enter jquery address loaded website through deep link http://www.domain.com/deeplink1
and want go next page pressing link, next deep link appended initial deep link http://www.domain.com/deeplink1/deeplink2
.
how prevend this?
solution simple. this post brought me idea (which bit ironic since it's post jquery address competitor hehehe). had @ initialization following set up
$.address.state($.address.baseurl()).init(function(event)
this caused entry url root domain. changed
$.address.state('/').init(function(event)
which causes root (hostname) entry domain. solved problem.
Comments
Post a Comment