Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] window location hash
- From: javascript at webdesignofficina.com (Guillaume)
- Subject: [Javascript] window location hash
- Date: Fri Mar 23 11:18:06 2007
Matt,
Thanks for your reply...
It's ok I've managed to make it work... But unfortunately the original
bug remains in Safari...
Regards.
Guillaume.
> On 3/23/07, Guillaume <javascript@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> Here's what I end with:
>>
>> var hashValue = "bottomPage";
>> if (hashValue == window.location.hash)
>> {
>> window.location.hash = new String((new Date().getMilliseconds()));
>> }
>> window.location.hash = hashValue;
>> }
>
> My only remaining idea is to try adding a delay.
>
> var hashValue = "bottomPage";
> if (hashValue == window.location.hash)
> {
> window.location.hash = new String((new Date()).getMilliseconds());
> }
>
> window.setTimeout('window.location.hash = hashValue;', 250);
>
> If this does work, you may wish to sniff out Safari and only insert
> the delay for Safari, as it will make your application seem less
> responsive.
>
- References:
- [Javascript] window location hash
- From: Guillaume
- [Javascript] window location hash
- From: Glenn E. Lanier, II
- [Javascript] window location hash
- From: Matt Warden
- [Javascript] window location hash
- From: Guillaume
- [Javascript] window location hash
- From: Matt Warden
- [Javascript] window location hash
- Prev by Date: [Javascript] window location hash
- Next by Date: [Javascript] window location hash
- Previous by thread: [Javascript] window location hash
- Next by thread: [Javascript] window location hash
- Index(es):