PDA

View Full Version : How to stop a Javascript function?


ricochet
10-08-2002, 11:50 AM
I have set up a popup on exit code on a webpage and it is working fine. However I would like to disable it when certain links are clicked. Is there a way to do this?

Your help would be greatly appreciated.
Thanks,
Ricochet

BoR|S
10-08-2002, 02:07 PM
Well make a JS function, let's say blah(), which gets the link, those you want to use an exit popup, send thru this function, and those you don't want to use an exit popup don't send thru the popup.

ricochet
10-08-2002, 02:46 PM
Ji Boris,
Thanks for the reply.

But I don't think that will work unless I change the rest of the coding. The popup is currently set to popup on unload, so no matter how you exit the page it pops up.

I saw once in an ebook how to do what I need. The problem is I can't find it again. Lost in the "black Hole" of my hard drive.:(

It was a simple command something like onclick=dosomething or other. I just can't remember what it was.

Would it help if you could see the coding of the page in question?

Here's the link if you want to check it out. I really would like to get this working right so I can start blasting ads out.

Thanks for your input,
Ricochet

BoR|S
10-08-2002, 02:47 PM
Where is the link?

ricochet
10-08-2002, 02:48 PM
Sorry, It's been a long day.

Here's the link I promised in my last post.

http://ultraprofitsystems.com/products/seminar/index.html

I need to disable the popup from both buy links.

Thanks,
Ricochet

BoR|S
10-08-2002, 02:55 PM
Hmm, I don't think I get it =\ can you paste here the code you talk about inside the code tags? (<code></code>)

Man I falling asleep in front of the monitor so I'll check it out tommorow...