Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

I need a small help

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back