p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Open browser window with properties


Message #1 by Jefferis Peterson <jefferis@p...> on Wed, 25 Sep 2002 13:42:07 -0400
Hi, 
I'm using an MySql database to create a catalog of images and I've linked
the thumnail columns to the larger 'picture'  using the following:

> <a href='<?php echo $row_yellow['pictures']; ?>' target="_top"
> onClick="MM_openBrWindow('<?php echo $row_yellow['pictures'];
> ?>','Enlargement','scrollbars=yes,resizable=yes,width=400,height=400')">

I have 2 issues here.  One, is there a better way to do this than a
javascript behavior? I know I need to set the protection for non scripted
windows because right now 2 are opening.

2.  Is there a way to control the window behavior so that it opens with a
particular color, centered image, etc? And with the returned fields from
this record?

Jeff





~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.net
Tel .  xxx-xxx-xxxx
ICQ 19112253

http://www.Slippery-Rock.com - 7,000 hits per year


  Return to Index