0
Who can make this responsive popup?
<p class="wp-login-mobile" id="nav" style="padding: 0 !important;margin: 0 0 9px 0 !important;"> <a onclick="window.open('<?php echo WP_DIR_PLUGIN; ?>includes/....','name','width=600,height=400')" href=""> <img align="top" src="<?php echo WP_DIR_PLUGIN; ?>assets/...."> <?php _e('Login with mobile', 'wp...'); ?> </a> </p> open on same page with mobile friendly compability thanks to all .
1 Answer
+ 14
window.open("www.site.com", "_self")
What do you mean with "responsive popup"?
If you want to make a responsive page after the clicking on the link... you have to use the CSS, try to change the dimension of popup using the percentage, not the pixel.
â© width = 100% height = 100%