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
•  jslider - paint track
•  Re: convert minutes into hours and minutes
•  File handle problem
•  Link Capture, help needed
•  Re: java app auto web update..
•  IE Only comeback
•  ` Error Code 64: Host not available ` - Error when accessing ASP Appln
•  Re: dynamic crystal report generation
•  Launch an app remotely through a website


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007