Re: what trick is this? How to do it?
| From: | M. Sokolewicz | Date: | Sat, 07 Jul 2007 12:27:57 +0000 |
| Subject: | Re: what trick is this? How to do it? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258454@lists.php.net to get a copy of this message | ||
Man-wai Chang wrote:
>> 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 :)
>
> So is there a proper way to create a modal window inside a browser?
>
There is no "proper" way. You have various tools to make one with,
namely pretty much all client-side scripting languages that work in
browsers. There are no standards dictating how it should be done, it's
all left up to the developer, there are just 'options' :)
On a sidenote, this has nothing whatsoever to do with PHP, it's
presentation in a client-browser we're looking at.