Computer Hope

Internet & Networking => Web design => Topic started by: yahoo12 on October 28, 2008, 06:38:15 AM

Title: How to create an exit pop-up code?
Post by: yahoo12 on October 28, 2008, 06:38:15 AM
Hello Friends,

Need help to create an exit pop-up for list building. Also the input data needs to be aligned with the autoresponder.

Appreciate your help! :)
Title: Re: How to create an exit pop-up code?
Post by: Jeronimo_Mc_Kinsley on November 01, 2008, 06:02:19 AM
You could write a javascript function (in the header) that loads and accompanying .html file when the page unloads.

e.g
Code: [Select]
<head><script type="text/javascript">

function popup(){
window.open(yourhtmlfile)
}
</head>
<body onunload="popup()">
<pre>.
Your
code
here
.</pre>
</body>
Title: Re: How to create an exit pop-up code?
Post by: yahoo12 on November 01, 2008, 06:15:19 AM
Jeronimo,

Thanks so much for the code. But while working with this code, I'm not able to understand the below potion: ???

.
   Your
   code
   here
   .


Which code you meant here ? and what the dots indicate before and after the
?

Appreciate your help and explanation. :
)
Title: Re: How to create an exit pop-up code?
Post by: Jeronimo_Mc_Kinsley on November 01, 2008, 12:08:41 PM
Sorry I didn't answer ealier :P

The pre was just a random tag I inserted. You can replace that with your html code you have between your <body></body> area.

Just asking this cuz I'm curious:
Are you a html beginner ?
Title: Re: How to create an exit pop-up code?
Post by: yahoo12 on November 01, 2008, 02:29:29 PM
Dear Friend,

Thanks for the explanation. I looked at your code keeping in JAVA what you specified and never thought about HTML. ;D

No problem to reply your question. About my level in HTML....my reply is that I place myself in intermediate category. I am more keen into web development than web designing. With the advent of great software like XSitePro etc. hardly now you require to know HTML for your own website.

However, I am experimenting these elements of HTML and JAVA codes. :)
Title: Re: How to create an exit pop-up code?
Post by: yangyangli on July 24, 2010, 09:32:38 PM
Hello,
My name is Yang Yang and I am a web programmer. I created a blog post detailing how to program an exit pop up script.

You can find it at

No spam thanks. --kpac

Hope this helped.
Title: Re: How to create an exit pop-up code?
Post by: yahoo12 on July 24, 2010, 10:08:52 PM
Here's what I did. I created a software to generate the exit popup code.

Check out here:

No spam thanks. --kpac