Redirect in new window

by 4 replies
5
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
#programming #redirect #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
    • [1] reply
    • 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.
  • I recommend using jQuery as well or just plain javascript. Onlinesupport Q&A
    • [1] reply
    • 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

Next Topics on Trending Feed

  • 5

    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?