Jquery history without hashes?

jordanj77

New member
Oct 18, 2009
195
7
0
I really want a jquery history solution that doesn't use hashes... I just want back/forward button functionality in my site. (I'm using ajax.load to navigate between "pages")

I implemented this: overset - jQuery History Plugin only to later find out that it doesn't work properly in Safari/Chrome (and haven't even bothered trying IE yet).

Anyone know of another solution that doesn't use hashes? (I don't want bookmarking functionality).

If anyone could modify that plugin to work in all browsers I'd pay them.

Thanks!

tumblr_l5mlqm2g211qzdgljo1_500.jpg


PkCHaDARpnxl4x0nEhm96BoYo1_500.jpg
 


Nice tits, but pretty sure what you're asking for isn't possible.

Back/forward work by re-requesting the URL, which, from your websites perspective, cannot be decoupled from visits via bookmarked link.

In other words, with psuedocode, using hash tags for back/forward will require your page to do onPageLoad(NavigateTo(hashLocation)), which would also enable bookmarking. There's just no way to separate the two.
 
Any specific reason why you don't want hashes? What about iframing the page with your content, using hashes inside it, but the browser location bar will still always show the original URL?
 
Thanks for the replies guys :)

Nice tits, but pretty sure what you're asking for isn't possible.

I mean.. I'm pretty sure it's possible because that's what the plugin I linked to does. See example here: Untitled Document (use Firefox)

The problem is the plugin is old and seems to be buggy in browsers other than Firefox. I'm just not good enough at javascript to understand the problem / fix it. Maybe you're right and it's not possible for this solution to work in all browsers.

Any specific reason why you don't want hashes? What about iframing the page with your content, using hashes inside it, but the browser location bar will still always show the original URL?

I don't want hashes because it looks nicer and because I don't want bookmarking to be possible... I only want back/forward functionality for users who come from the index and then are navigating within the site. Of course I could redirect users who came directly from a hashed link, but ideally I'd like the address bar to stay pretty.

I've been debating between iframing the whole site or just going with a hash solution.. I guess I'll do one or the other if I can't figure this out. Best case though would be to figure out how to get this guy's plugin working properly in the other browsers.