Re: Why window does not open on the first try?
- From: "Ronx" <ronx917@xxxxxxxxxxx>
- Date: Thu, 6 Dec 2007 10:05:40 +0000
The code is for a pop-up window. Most pop-up blockers will allow this window to open, since it uses onclick to open it, rather than onload that will definitely be blocked. But some blockers can be configured to block ALL popups, regardless of how the pop-ups are configured.
I would expand Thomas' code a little -
<a href="faq.htm#voip" target="FAQ_voip" onClick="popbimo=window.open('faq.htm#voip', 'FAQ_voip', 'width=800,height=610,top=30,left=30,directories=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,resizable=no');return false;">> Read more <</a>
This will open the page in a new window if JavaScript is disabled, and may (no guarantees) get round the pop-up blockers.
IE's pop-up blocker can be configured to block all pop-ups, and ask if a specific pop-up be allowed. This does allow pop-ups to be opened, and does take several clicks.
In IE6 and IE7, Tools->Pop-up blocker->Settings
In any case, be aware that IE7 can be configured to open pop-ups in a new Tab instead of a pop-up window, and will always show the address bar.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
http://www.rxs-enterprises.org/fp
"Jack" <replyto@it> wrote in message news:OP8xPU4NIHA.748@xxxxxxxxxxxxxxxxxxxx:
I have tested it on my wife computer again.
It takes 3-4 clicks to open that window.
After 1-st click there is a small footnote in the IE left bottom corner:
"popup was blocked".
So it is considered as a popup. But why? And why it let open it at all then?
Where this message comes from?
IE itself? ver.6
There is also Google toolbar and Yahoo toolbar.
Thanks,
Jack
"Steve Easton" <admin@xxxxxxxxxxxxx> wrote in message
news:uW47Sh7MIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
> Also I wouldn't consider your window a pop up.
> A pop up is normally one that opens without any user interaction.
> Those are the ones the blockers block, "if they are properly written."
> IE and FF will allow a window to open via script,
> if the user has activated the link with a mouse or keyboard.
>
> --
>
> Steve Easton
> Microsoft MVP FrontPage
> FP Cleaner
> http://www.95isalive.com/fixes/fpclean.htm
> Hit Me FP
> http://www.95isalive.com/fixes/HitMeFP.htm
>
> "Jack" <replyto@it> wrote in message
> news:%23bra9Y4MIHA.4948@xxxxxxxxxxxxxxxxxxxxxxx
>> But there is an issue on some computers!
>> Is that possible, that on some systems that window can be treated as a
>> pop-up and be supressed by IE or other 3rd party software?
>> Jack
>>
>> "Stefan B Rusynko" <sbr_enjoy@xxxxxxxxxxx> wrote in message
>> news:e34ixMzMIHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
>>>I had no issues with it opening
>>>
>>> --
>>>
>>> _____________________________________________
>>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>>> "Warning - Using the F1 Key will not break anything!" (-;
>>> _____________________________________________
>>>
>>>
>>> "Jack" <replyto@it> wrote in message
>>> news:%23hOPS1vMIHA.4688@xxxxxxxxxxxxxxxxxxxxxxx
>>> | Hello,
>>> | My main form has command buttons which action is to open a new
>>> IE
>>> | window.
>>> | I have reports from people that they have problem to open that window.
>>> | I do not have that problem on my computer (XP Home), but trying it on
>>> my
>>> | wife's computer (XP PRO JAP language) I have noticed the same problem.
>>> | The first click on command button causes some flash (some action) on
>>> screen
>>> | but window does not open.
>>> | After mouse clicking 2,3,4 times in fast succesion finally window
>>> opens.
>>> | What can be the problem?
>>> | The page in question is:
>>> | http://www.phonedialerpro.com
>>> |
>>> | and the command buttons causing problem are titled Download and are
>>> located
>>> | on the left frame )the page must be scrolled down)
>>> |
>>> | the html code behind the button is:
>>> |
>>> | <input type="button" value="Downloads" name="B2"
>>> | onClick="window.open
>>> |
>>> ('downloads_pdp.htm','PDP_downloads','width=280,height=430,scrollbars=no,resizable=no,status=yes');"
>>> | style="width: 90")>
>>> |
>>> | Your comments appreciated,
>>> | Jack
>>> |
>>> |
>>>
>>>
>>
>>
>
>
.
- References:
- Prev by Date: Re: Why window does not open on the first try?
- Next by Date: Drop down box
- Previous by thread: Re: Why window does not open on the first try?
- Next by thread: Re: looking at source from url
- Index(es):