CUTCODEDOWN
Minimalist Semantic Markup

Welcome Guest
Please Login or Register

If you have registered but not recieved your activation e-mail in a reasonable amount of time, or have issues with using the registration form, please use our Contact Form for assistance. Include both your username and the e-mail you tried to register with.

Author Topic: Open window on same monitor as the parent  (Read 78 times)

durangod

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-0
  • Weebles Wobble - but they dont fall down!
Open window on same monitor as the parent
« on: 14 Aug 2023, 02:30:11 am »
Hi,   so i found this but this is 10+ years old and i am hoping that someone has come up with a much easier way to load a window open on the same monitor as the browser who called it (parent).   I would hate to think that 10 years later we are still having to cheat and do this by manipulating the width and height of both monitors.

Does any of this still hold water...

https://stackoverflow.com/questions/16363474/window-open-on-a-multi-monitor-dual-monitor-system-where-does-window-pop-up

coothead im working on that ip deal but its opening on my other display.  I dont want to have to depend on the browser or windows to remember if i drag it over, i would like a js solution if possible.   :)

by the way good tip on the frame stuff they usually do block it after a while.   

here is how i did it

Code: [Select]
<td class="new_reg_ip"><a href="javascript:void(0);" title="check ip info" onClick="admin_popitURL('https://whatismyipaddress.com/ip-lookup', 308, 620);"><i class="fas fa-link fa-sm"></i><?= htmlspecialchars($val['act_ip']); ?></a></td>
             

and the  popup function is the same one i used before in the other topic, i just renamed it for admin area js file

« Last Edit: 14 Aug 2023, 02:33:40 am by durangod »

 

SMF spam blocked by CleanTalk

Advertisement