You are here: Re: persistent popup window « HTML « IT news, forums, messages
Re: persistent popup window

Posted by Jonathan N. Little on 07/18/07 16:58

Neredbojias wrote:
> Well bust mah britches and call me cheeky, on Wed, 18 Jul 2007 13:13:53 GMT
> Jonathan N. Little scribed:
>
>> scripts.contact wrote:
>>> On Jul 16, 12:13 pm, kjk <kjkREM...@usa.com> wrote:
>>>> popup window persistently float above all other windows?
>>> you can try something like(focus the new window every 1 millisecond)-
>>> win=open('','_blank','width=500,height=400');
>>> setInterval('win.focus()',1)
>>>
>>> or(focus it on blur) :
>>>
>>> win=open('','_blank','width=500,height=400');
>>> win.onblur=function(){win.focus()}
>>>
>> Wow! I'd click the disable JavaScript button real quick and my second
>> action will be the back button to never return. I'm pretty sure that
>> will be the reaction of many visitors or for the less savvy to panic and
>> click the little "x" button in the title bar...
>
> It's a case of the blind leading the blind. Oh, I will say that from past
> posts scripts.contact seems to know javascript pretty well (-although I'm
> not 100% sure his latest method will work all that well generally), but
> however implimented, it's still a '90s technique. And, of course, kjk is
> obviously clueless to most anything.
>

I agree. But I will try one more time for reason to OP. This
"onblur->focus()" was|is a standard porn site ploy as the ol'
"onunload->load". Plus it will *not* do what you desire, your visitors
will not be able to navigate your site because your music "popup" window
will always be stealing the focus every time they try to do anything on
the parent window. Listen to reason and what Jukka's oft given advice
"Stop wanting it".

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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