Dynadot Premium User Auctions, September 8 to 16. Great domains with first bid credit.

I need a small help

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

baris22

Established Member
Impact
1
--------------------------------------------------------------------------------

Hello,

I have got no knowledge at all about javascript. This is the code to call a pop up window


PHP:
<a href="javascript:NewCal('demo3','ddmmmyyyy',true,24)">Calendar</a>

it works perfect but if i am viewing another page and this pop up page is behind a page i am viewing, the pop up page does not come to top when i click on the link.

i have to look for the pop up window on taskbar. what can i do to display this pop up when i click on the link.

thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
If you have the ability to edit the NewCal function (probably defined in the header), you can add something like if (window.focus) {newwindow.focus()}

JS isn't my strong suite, so there may be a better way.
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back