With a very small change in the source code and the use of an  
undocumented function ( history(); ) in Klaus' script, I am able to  
have custom #hash values as they are represented in my href and use  
my own call to Ajax...the history mechanism seems to work perfectly...

I simply adjusted line 230 from...to...

//var hash = '#remote-' + (i + 1);
var hash = uri;

(probably not the most elegant solution, but this was the quick 2 min  
hack)

'uri' was already for my ajax call...

NOTE: USE SAFARI 2.0.4 OR GREATER! ;)

Thanks Klaus...



On 03 Feb 2007, at 11:48, Vaska wrote:

>> As I understand you want to send requests like this to the sever
>> via Ajax:
>>
>> /index.php?hash=/project/things/
>>
>> You could do that by simply using these links:
>>
>> <a class="remote" href="/index.php?hash=/project/things/">Link</a>
>>
>> plus remote plugin:
>>
>> $('a.remote').remote('#output');
>>
>
> But the hash that appears in the url space still looks like
> 'remote-1', etc. Plus...
>
> Well, it doesn't work. I can see that the link is being activated. It
> seems to work on the second click and then randomly from thereon.
>
> When will there be an API article on this?
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to