On 7/7/07, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Man-wai Chang wrote:
> http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/
>
> How did he/she do it? I meant the modal login window...
>

Just simple Javascript stuff. Just create a large div block that is
absolutely positioned over the top of everything and spans the whole
width/height of the page.

The either use alpha levels or a small 2x2 gif/png image that produces
the greyed out effect

0X
X0


Then draw your login in the middle of your div.

Not PHP, but it does look nice :)

Col

If you also want users to login first, don't do it like this ;)

I'm listening to the song now without logging in, just running this in
the URL bar:
javascript:floatingWindow.hide();
and the login window is gone :)

Tijnrma

--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to