Title: Create popup in same browser window
Last modified: August 20, 2016

---

# Create popup in same browser window

 *  [mkooljr1](https://wordpress.org/support/users/mkooljr1/)
 * (@mkooljr1)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/create-popup-in-same-browser-window/)
 * Hi, I’m wondering how to create a popup that opens in the same window such as
   you see at [http://www.usatoday.com/sports/fantasy/](http://www.usatoday.com/sports/fantasy/)
   if you click on any of the top articles. The story pops up, preceded by a rotating
   circle and then you can click anywhere to close the window. Any idea how this
   is done and if it could be done in WordPress? Thanks.

Viewing 1 replies (of 1 total)

 *  [Wasim alhajebi](https://wordpress.org/support/users/wassimo/)
 * (@wassimo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/create-popup-in-same-browser-window/#post-3522770)
 * it’s easy to make;
    1- search for any popup jquery plugin, 2- try to use get 
   post contents or details by post id 3- make action get post by id
 * for example
    [http://website.com/?browse_post_id=1](http://website.com/?browse_post_id=1);
   and make it clear without header and footer;
 * in action
    if(!empty($_GET[‘browse_post_id’])){ echo post_content(1); exsit <
   < —- importent }
 * edit popup plugin make it like this
 * when click on post 1 load post 1 content ([http://website.com/?browse_post_id=1](http://website.com/?browse_post_id=1))
   into popup div

Viewing 1 replies (of 1 total)

The topic ‘Create popup in same browser window’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Wasim alhajebi](https://wordpress.org/support/users/wassimo/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/create-popup-in-same-browser-window/#post-3522770)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
