Re: [SMARTY] JavaScript popup
| From: | Marcus Bointon | Date: | Tue, 17 Feb 2004 15:45:48 +0000 |
| Subject: | Re: [SMARTY] JavaScript popup | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10970@lists.php.net to get a copy of this message | ||
on 17/2/04 15:17, UpFront Technology at upfronttechnology@rrohio.com wrote:
> plus extra room around the photo (for aesthetics)
Do that with CSS. Add a style sheet for the generated page that includes
something like:
img { padding: 10px; }
Or you could inline it with the image tag:
<img src="{$image.url}" width="{$image.width}"
height="{$image.height}"
style="padding:10px;" />
> and also a java "Close Window" button for each new window.
<a href="javascript:window.self.close()">close this window</a>
Don't know about the popup plugin...
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk