Jump to content

Recommended Posts

Posted

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.

[sIGPIC][/sIGPIC]

"Josh is awesome, he has the right to do whatever the fuck he wants." - Tehbyte

Posted

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

image.png

"I never see what has been done; I only see what remains to be done.." - Buddha

 

| My Profile | Message Me |

image.pngimage.png

Posted
Thanks for your reply Matt, but I tried _blank and it didn't work for me :/

[sIGPIC][/sIGPIC]

"Josh is awesome, he has the right to do whatever the fuck he wants." - Tehbyte

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...