Re: Re: what trick is this? How to do it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/7/07, Colin Guthrie <gmane@xxxxxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux