Where can I get the code, to make an ad appear in the middle of the page, and grey out everything behind it?
|
02-27-2013, 07:13 AM
Post: #1
|
|||
|
|||
Where can I get the code, to make an ad appear in the middle of the page, and grey out everything behind it?
Such as the when you send a message or watch a video on the home page of facebook.
Ads |
|||
02-27-2013, 07:20 AM
Post: #2
|
|||
|
|||
It's called a "modal popup".
If you are using ASP.NET & AJAX, you can watch this self-explanatory tutorial video http://www.asp.net/learn/ajax-videos/video-85.aspx Ads |
|||
02-27-2013, 07:22 AM
Post: #3
|
|||
|
|||
Yeah, it's a modal popup.
What is often done is, they place a div tag covering the whole page with an image that is gray but transparent. If you click on something in the page, you're just clicking on the div, which does nothing, preventing you from doing other things. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: