NameSilo

I need a small help

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
•••
Truehost โ€” .com domains from $4.99, hosting includedTruehost โ€” .com domains from $4.99, hosting included
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back