View Single Post
Old 01-10-2013, 12:17 AM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,992 Times in 3,961 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Nope, That would be the right way to do it.

A "popon" <div>, say. That is, a <div> with a z-index higher than the rest of the page but with display: none; in its style. You just put your message inside that div, change the style.display to "block", and there it is. Maybe allow the user to click anywhere in the <div> to change the style.display back to "none".
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote