You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there is a branch called non-hash and when using the Github comparer it seems that all contents from non-hash branch are in master branch.
I am using sammyJs and I'd like to have the routing without the hash character to make it SEO-friendly. Unfortunately I cannot find any documentation on whether sammyJs is capable of doing so or how to do it.
Any help would be much appreciated.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
iberodev
changed the title
non-hash branch has it got any release with non-hash routing
Is SammyJs capable of routing without hash in the URL
May 31, 2017
Sammy is build from jquery, so you can do all with jquery. this.get(''); will return to index or page that you set before. or inside this.get('') give your function like this :
this.get('',function(context){
yourfunction(context.$element());
});
function yourfunction(el){
el.html('your html or php');
//or window.location.href = 'index.html';
}
I see there is a branch called non-hash and when using the Github comparer it seems that all contents from non-hash branch are in master branch.
I am using sammyJs and I'd like to have the routing without the hash character to make it SEO-friendly. Unfortunately I cannot find any documentation on whether sammyJs is capable of doing so or how to do it.
Any help would be much appreciated.
Thanks in advance.
The text was updated successfully, but these errors were encountered: