Jump to content
Sign in to follow this  
shwetank1

Z-Index of javascript windows

Recommended Posts

we are opening multiple browser child windows using window.showmodellessdialog() method -
Is there any way to get z-Index of this window w.r.t. parent window?
window.style.zIndex gives null or undefined.
I need Z-Index to maintain overlapping order of these windows.
Regards,
Shwetank

Share this post


Link to post
Share on other sites

The window object doesn't have a property like that. You might be able to use onblur and onfocus events to track the order of the windows, although there's not a good way to tell when the window closes.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...