[JSHelp] Pop-up confirm box

Josh

Active Members
Okay I know how to do them etc. I'm not that retarded..

Okay so i have the confirm box setup with a cookie, but what i'm stuck on is the destinations when each button is pressed.

If they select yes then i want the popup box to just close, this is the first thing i want.

The second thing i need is if they select no then i want it to open a webpage IN A NEW WINDOW, aka in a popup window. I have the webpage set up ready for it.

Can anyone help? Hope this wasn't too confusing, I'm writing this on my phone.

 

TehByte

Active Members
I'm not sure what the link code would be in JS, but surely you could use target="_black" just like you do for a normal HTML link? ;o

I mean, when I coded JS that's what I did xD

 
Top Bottom