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/deeplink1and 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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -