Reputation: 39
I'm using jquery to load an external portion (ex: content ) of a file and animate the page when the user clicks a link. My problem is: I want to change the url when the user clicks a link. Something like http://www.gop.com.pt/#!youAreHere
You can see it here in action
Thanks
Upvotes: 0
Views: 336
Reputation: 15616
You don't need jQuery for this, you can simply use JavaScript:
document.location.hash = '!youAreHere';
Upvotes: 1