Jump to content
Larry Ullman's Book Forums

Js Content Q

Recommended Posts

Hey Jonathon,


Thanks for the question, and for the interest in the book. By "modal box", do you mean like a pop-up/overlay kind of thing that you see all the time now? If so, the answer is yes, those are covered (without frameworks). If you're talking about something different, please clarify (and/or point to an example). Thanks!

Link to comment
Share on other sites

Okay, so Ch 9 walks through that concept. Basically it's all about the CSS, though. There's a high z-index to black out (or gray out) the entire screen and then there's a higher z-index for the content to be displayed in the modal window. JavaScript then switches the visibility on and off.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.


  • Create New...