CyberShot Posted December 4, 2009 Share Posted December 4, 2009 I made a slider that works off the nav. So when you click the about page, in teh address bar, it says mydomain.com/# instead of myaddress.com/about. is there a way to fix this using javascript or jquery preferably? Quote Link to comment Share on other sites More sharing options...
YourNameHere Posted December 4, 2009 Share Posted December 4, 2009 we need code Quote Link to comment Share on other sites More sharing options...
JustLikeIcarus Posted December 4, 2009 Share Posted December 4, 2009 Im thinking if you add "return false;" to the end of the function handling the click event it wont add the '#'. Quote Link to comment Share on other sites More sharing options...
CyberShot Posted December 4, 2009 Author Share Posted December 4, 2009 yes, that did work. that's a little better than having the hash sign at the end. From what I can tell, there is no really easy way to replace the hash with a word, all you can do is get rid of it. I used return (false); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.