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.
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
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Parking: a plain list of your portfolio domains
Your public portfolio page has a new option in the menu next to the sort options. "Domain list" opens a plain page with one domain name...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back