So you want to change the meaning of the uri from #fragment to query ?key, having no value?
I believe that ? will initiate a page reload. The #fragment is like a bookmark, so it doesn't go anywhere, unless you have an accompanying name anchor on the page.
Why do you need to do this?
diafol
Keep Smiling
10,666 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,514
Skill Endorsements: 57
Just to make it look better.
That's what the ? character is for. The ? means 'start querystring from this point onwards'. You're happy for the page to refresh/reload when you press a link holding a href value with a '?' in it? If so, carry on.
ANyway, IMO, ? is an ugly character and many of us use mod rewriting to hide it! Well, OK, perhaps not the only reason to rewrite...
Also, is there a way to disable hash jumping?
WHat do you mean by that? Something like this?
http://stackoverflow.com/questions/3659072/jquery-disable-anchor-jump-when-loading-a-page
diafol
Keep Smiling
10,666 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,514
Skill Endorsements: 57