Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 blocking popups?
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Paul




PostPosted: Mon Apr 05, 2004 4:10 pm   Post subject: blocking popups?

Is there anyway to put in any kind of code in your html, so that the page itself blocks popups?
Sponsor
Sponsor
Sponsor
sponsor
EDEN-E




PostPosted: Sun Apr 11, 2004 11:24 pm   Post subject: (No subject)

You can use javascript to block the popups.

However, it cannot be work on some sites.

Put following code in the head section.

code:
<SCRIPT LANGUAGE="javascript">
<!-- window.open=false // -->
</SCRIPT> 


this code cancels 'window.open' command.
Paul




PostPosted: Mon Apr 12, 2004 3:47 pm   Post subject: (No subject)

ok thanx, it works kind of, it blocked 2 out of 3 pop ups. But I have a new host so they don't give pop ups
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: