How to disable the page?

Any problem with javascript can be discussed here.
Locked
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

How to disable the page?

Post by Flipper3 »

I was wondering how to use Javascript to disable the page, but have a little pop-up come up. Facebook is known for doing this and Myspace has copied it too.

Thanks in advance. :)


Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

I'm not sure, but you could try using View Source on a page that does this, you should be able to see the code in the source of the page.
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

do you mean something like modal windows comes up in the page and a page itself goes grey?!
Image
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

Post by Flipper3 »

Lixas wrote:do you mean something like modal windows comes up in the page and a page itself goes grey?!
Yes! Exactly! I can't find any more examples of it. :@
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

Image
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

Post by Flipper3 »

Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

That's really cool, I'm sure alot of people will find the code interesting (I know I will) I've also been looking for this.
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Alwahsh
Posts: 292
Joined: Sat Aug 16, 2008 7:05 am

Post by Alwahsh »

I didn't understand what you mean but if you want to disable pop-ups you can use any pop-up blocker .
Locked