Skip navigation

hi all

in this tip i show u how to how make PopUp that behave like ModalDialog.

open popup by the function: funOpenPopUp() (see code).

now when the popup is open and u click or doubleclick on the parent window the popup get focus (like ModalDialog behavior).

because the events ondblclick and onclick in the parent body tag activate the function: funSetPopUpFocus() (see code)

 

good day

Roni

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish