Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Redirect in new window (https://www.warriorforum.com/programming/785758-redirect-new-window.html)

XXXXXXXX 2nd May 2013 03:04 PM

Redirect in new window
 
I have a wordpress blog and when someone lands on the page.. I want another window to pop up and directed to another url. I cant figure out how to do it but I am not a tech type of guy. Most of the stuff I try gets stopped by a pop up blocker. I need someone to get around that. I found a thread here http://www.warriorforum.com/programm...ew-window.html
And tried some of them but could not get them to work with my wordpress blog. I want to just insert the code in the post. Can some let me know how to do this or if the above thread works... what i might be doing wrong?

Thanks X

Kenny T 2nd May 2013 07:24 PM

Re: Redirect in new window
 
I think it would be considered popup and most browsers would block it if the user have popup blocker on. What you can do is when the user clicks anywhere on the page or posts you could pop it up on a new page.
<a href="http://yoururl.com" target="_blank">URL Text</a>
this would open the page in a new window.
Cheers

prince55l 3rd May 2013 07:06 PM

Re: Redirect in new window
 
popup is blocked by most browsers and antivirus program, although there are some jQuery popup that can not be blocked, but generally speaking popup is not good for your audience, instead of using popup while not use jquery modal window and display your information.

vick2011 3rd May 2013 08:35 PM

Re: Redirect in new window
 
I recommend using jQuery as well or just plain javascript. Onlinesupport Q&A

XXXXXXXX 4th May 2013 03:23 AM

Re: Redirect in new window
 
Ok thanks,

So can either of you guys tell me what script that I can insert into the post in java or jquery that will do what I want? Something I can insert in the post and then another window pops up to a url?

Thanks for the help.

X


All times are GMT -6. The time now is 07:50 PM.