Re: small window scripts in Javascript?
| From: | Richard Lynch | Date: | Tue, 04 Dec 2001 21:51:14 +0000 |
| Subject: | Re: small window scripts in Javascript? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76602@lists.php.net to get a copy of this message | ||
> How could i get rid of the white space and show the picture exactly same
> size as the window, so it would be perfect fit. What else do I miss in the
> codes to make the perfect fit size?
Use the BODY tag and attributes like HORIZONTAL_PADDING or somesuch.
There's a bunch of them, you need them all to convince all the browsers
that you mean it.
> Also, how can I have the small window
> close automatically after user clicking on the picture's hyperlink? Any
> helps will be greatly appreciated. Thanks.
There's some JavaScript closeWindow() or somesuch. Look it up, or find
another site that does it and use "View Source" to steal their JavaScript.
--
Like music? http://l-i-e.com/artists.htm