JavaScript popup
| From: | UpFront Technology | Date: | Tue, 17 Feb 2004 15:17:07 +0000 |
| Subject: | JavaScript popup | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10969@lists.php.net to get a copy of this message | ||
Hello all,
I am currently using Smarty on a site that incorporates a small gallery of
items for purchase. I need to have those items display in a larger window
when the "larger view" link is clicked. I also need backwards compatibility
for browsers with JavaScript disabled.
I need to use JavaScript to control the display of the window (size,
toolbars, etc.). However, I currently have created the gallery dynamically
(as Smarty and php are so good with) and I need the window to open with the
photo size (stored in mysql) plus extra room around the photo (for
aesthetics) and also a java "Close Window" button for each new window.
I have been looking at the popup function, however the documentation is
limited, and on top of that, my JavaScript knowledge is minimal.
I would appreciate thoughts and suggestions about how to get started.
Thanks
Joe E.
UpFront Technology