PDA

View Full Version : question about JavaScript


Frankie
02-27-2000, 07:14 AM
I would like to ask you if it's ok to put JavaScript code as in example:
if (confirm('Hello !\nDo you want to see really good porn pictures?'))
{window.open('cgi-bin/s/out.cgi','xxxx');}

if surfer clicks "ok" - trade is opening if he press "cancel" - nothing is being done.
In my opinion it's like normal blind link and it's ok, but I would like to ask you what do you think...

richard
02-27-2000, 09:26 AM
well, you can do that if you like, BUT as far as i know using window.open does not carry an http_referer var so unless all your partners use urls to track incoming hits, its a waste of a click.

Ah ha, the solution is using a JS layers script (such as on http://www.freehornysluts.com) which basically mimics an alert box popping up.

See the other thread about layers for more opinions on similar practices.

Of course, if the window.open had a blank page and one link, like "continue" then if a surfer has bee nsucked in my the alert, they are likley to click the "continue" link.

Rich