Simple Pop-Under Window Using Javascript

October 20, 2007 | Javascript

Pop-under is a kind of pop up window that appear behind the main window. It’s very easy to write the script, only need two lines of javascript code.


First line is creating an object, the new window. Then the object is blur’ed using blur() function. This will make the new window lost the focus.

Second line is to rise the main window so it gets focus or active.

Have fun!

3 comments

This post has 3 comments, wiiiiii!

  1. starboard 23/10/2007 at 20:47

    nice and simple script. thanks

  2. operaTor 03/12/2008 at 22:50

    Misalnya saya komen di sini..

  3. slamet 03/12/2008 at 23:22

    lalu saya komentar di sini

 

Leave a comment

Allowed tags are: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>