|
Posted by Neredbojias on 08/07/07 20:13
Well bust mah britches and call me cheeky, on Tue, 07 Aug 2007 09:23:41
GMT Tim Streater scribed:
>> > I guess that's a no then on my original request.
>> >
>> > I appreciate all your comments and ideas.
>> >
>> > Thanks all and good night,
>>
>> I see the sign of the cause of the original problem. The content is
>> being delayed in loading (-include? -iframe? -javascript
>> manipulation?) so there is nothing "there yet" when the hash,
>> #demarco, tries to operate. When the content finally does appear,
>> it's too late.
>
> Loading stuff in frames or iframes does take time, a problem
> especially if other frames rely on the loaded information. I got round
> this sort of problem by having the onLoad event of the slow-loading
> frame set a flag. You can use a timer event elsewhere to pick this up.
> Unfortunately you need to do this in a loop as JS doesn't give you the
> proper tools, but at least you can avoid running the CPU at 100% by
> not simply spinning on the flag.
That could work for the OP's problem by capturing any hash immediately and
processing it later. Might be a moderate PIA, though.
--
Neredbojias
Half lies are worth twice as much as whole lies.
[Back to original message]
|