BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pop-ups versus pages

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
John Evans
Guest





PostPosted: Fri Jun 24, 2005 11:05 am    Post subject: pop-ups versus pages Reply with quote



Dear all,
if I use the TIWURL component to launch a new page, Firefox
allows it.
If I use a button that executes
WebApplication.NewWindow(lURL,'menu',600,600); // where lURL is passed as
a var beforehand.

then Firefox views it as a pop-up and wants to block it. I believe other
things like Norton Personal firewall also view it as a pop-up.

How do I launch a new window from a button, without it being considered a
pop-up?

many thanks

--
John Evans
Managing Director
Clear Advantage Ltd

www.Clear-Advantage.co.uk


Back to top
John Evans
Guest





PostPosted: Tue Jun 28, 2005 11:28 am    Post subject: Re: pop-ups versus pages Reply with quote



Dear all,
I have solved this problem eventually.
If anyone is interested, I added the JavaScript for a window.open event into
a stringlist and then assigned the stringlist to the onclick event of the
button.
This makes the request a client side event.

regards

John

"John Evans" <johnevans (AT) clear-Advantage (DOT) co.uk> wrote

Quote:
Dear all,
if I use the TIWURL component to launch a new page, Firefox
allows it.
If I use a button that executes
WebApplication.NewWindow(lURL,'menu',600,600); // where lURL is passed
as
a var beforehand.

then Firefox views it as a pop-up and wants to block it. I believe other
things like Norton Personal firewall also view it as a pop-up.

How do I launch a new window from a button, without it being considered a
pop-up?

many thanks

--
John Evans
Managing Director
Clear Advantage Ltd

www.Clear-Advantage.co.uk





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.