Re: Some kind of Popup

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

 



Patrick Moloney wrote:
> I have web pages that display multiple physical products. I'd like to be
> able to include a button near each one to display certain
> characteristics (eg: height, length, depth, weight etc).
> These characteristics will be in a single table record in Mysql for each
> product, so I can retrieve the record for that product. The question is,
> how to display them. I'd like a small display window to appear in front
> of the web page.
> If possible, I'd like the user to be able to move it or request the
> specs for another product, and then have both displayed.
> I realize that can get messy, and is not absolutely necessary.
> I have considered locating an invisible display box near each product,
> but I think some kind of floating window would be better.
> The web page uses CSS.
> Any ideas on how to proceed?

Two options that come to mind:

1. Have a little link to details.php?product_id=X with target=_blank,
then in details.php query for the details using the product_id and display.

2. Same as 1 except use a javascript popup via onclick() so that you can
control the look of the window (no toolbars, menu, etc...)

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
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