Link to home
Start Free TrialLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

Display new window on top (showModelessDialog() )

This is part of a code to open a new browser window. I want to add code to display it on top of the other windows, most time goes to the back and people can't see it.

---

sAny='status=yes,toolbar=no, scrollbars=yes,personalbar=no,maximize=no,resizable=yes,left=200,top=200,height='+nH+',width='+nW;

---

How to add a parameter to show on top ?
SOLUTION
Avatar of pateljitu
pateljitu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

Thanks.

Unfortunately part of it is not my code, so I can't change the way the window is open, only add parameters to the current code.
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

I tried this and didnt work.

<body onblur="self.focus();">
Avatar of Aleks

ASKER

Any other ideas ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial