codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  onunload  cherosh at 08:41 on Tuesday, June 13, 2006
 

hi,
iam new to this forum.am trying to create one exit window when an user leaves the page or exits from That page(both).the problem is, i have tried every available code on net.but popup blocker is blocking the exit window.the code i used is,

------------------------------------------------------------------------------
[u]in the <head> section,[/u]

<SCRIPT LANGUAGE="JavaScript">
function leave() {
window.open('http://www.google.com','','toolbar=yes,menubar=yes,location=no,height=500,width=500');
}
</SCRIPT>

[u]in the <BODY> section,[/u]

<BODY onUnload="leave()">
-------------------------------------------------------------------------------
can any one help me with the code to build an unblockable exit window? and am using google toolbar along with windows popup blocker.

thanks and regards,
cherosh








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  form validation(arabic/persian language)
•  Function to check the pattern(i.e 1A-2B-3C)
•  function call from multiple rows
•  OpenFileDialog
•  Re: Sorting in ascending - random characters from user
•  Re: Date validation
•  How to use java in javascript-c
•  SQLException : returned refusing to connect
•  Dissappearing Menus


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006