You are here: Re: Link to another website, in an iframe, to a spot on page « HTML « IT news, forums, messages
Re: Link to another website, in an iframe, to a spot on page

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация