Josh Posted August 9, 2010 Posted August 9, 2010 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. Quote [sIGPIC][/sIGPIC] "Josh is awesome, he has the right to do whatever the fuck he wants." - Tehbyte
TehByte Posted August 10, 2010 Posted August 10, 2010 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 Quote "I never see what has been done; I only see what remains to be done.." - Buddha | My Profile | Message Me |
Josh Posted August 10, 2010 Author Posted August 10, 2010 Thanks for your reply Matt, but I tried _blank and it didn't work for me :/ Quote [sIGPIC][/sIGPIC] "Josh is awesome, he has the right to do whatever the fuck he wants." - Tehbyte
TehByte Posted August 10, 2010 Posted August 10, 2010 Ah, I'm not sure then man, sorry, I'll have a look around and try some codes out myself (: Quote "I never see what has been done; I only see what remains to be done.." - Buddha | My Profile | Message Me |
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.