How to open a new window when a page is opened
-
I need some help to perform what I believe is a simple task.
I have a plugin running that uses a database and url options to determine the final part of a link for a referral program. It is basically an auto rotator.
I want to open the link automatically in a new window, i.e., execute a “popup” of the target website so the visitor doesn’t HAVE to click on the appropriate link since it will open automatically.
The plugin (named ‘raleighs’) currently uses the following line to write the target URL on the page:
<p> <a href="...trgtsite.../join.php?id=<?php print $next_sponsor; ?>" target="_blank"><?php _e( 'Join Now', 'raleighs' ); ?> <?php _e( 'Additional Info:', 'raleighs' ); ?>
How can I get this same link to open in a new window/tab without being clicked on? This will only happen when the plugin is run when the page is loaded.
If you want to see the actual page for yourself the address is:
https://www.powerteamz.com/join_enThanks,
Raleigh
- The topic ‘How to open a new window when a page is opened’ is closed to new replies.