You are here: Re: Problem with preloading page in hidden div « HTML « IT news, forums, messages
Re: Problem with preloading page in hidden div

Posted by Neredbojias on 06/22/06 19:54

To further the education of mankind, "Chris Tomlinson" <anon@anon.com>
vouchsafed:

> "Chris Tomlinson" <anon@anon.com> wrote in message
> news:6zlmg.89874$wl.28680@text.news.blueyonder.co.uk...
>> Hi all, hope someone is able to help!...
>>
>> We have created this page:
>> http://www.superhighstreet.com/George-Street-Richmond/splash
>>
>> The purpose of it is:
>> * To catch visitors' e-mail addresses
>> * To 'secretly' preload the large page that follows when you click
>> the big button
>>
>> 1) Is there any way to stop the mouse cursor in IE and other
>> browsers having a geriatric fit during the loading of the big page in
>> the hidden div/iframe? This makes it unsightly and difficult for
>> users to click inside the form field.
>>
>> 2) Although we have added
>> <script>document.join.q.focus();</script>
>> under the form, and added name=join to the form tag, the cursor still
>> does not jump into the form field automatically. Yet this works fine
>> at our other page www.superhighstreet.com/home where it is used.
>>
>> Thanks in advance for any tips. If you don't have an answer please
>> don't feel a need to reply ;)
>> --
>> Thanks,
>> Me
>
> Ok well I'm kind of getting somewhere. I have now added some
> style="cursor:text" code to try to make the cursor behave, but it
> doesn't take effect until after the hidden preload div has finished
> its stuff.
>
> I have also got the <script>document.join.YMLP1.focus();</script>
> working, but even though the cursor goes into the box, you can't type
> until the preload div finishes :(
>
> Any other ideas on a better way to preload the next page that will
> make this one fully functional during that process?

I see something like <body onload="Preload Images...

Do you "onload" the preloading of the "big page" as well? Also, the j/s
on the page is very, uh, 'unbalanced' and seems overly-complicated. I'm
sure it could be simplified and made more correct. Also, the page has no
doctype. Does it validate? I suspect not.

--
Neredbojias
Infinity has its limits.

 

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

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