This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Find all posts by this user
Quote this message in a reply
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

Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)