DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Site Layout and Usability (http://www.daniweb.com/forums/forum130.html)
-   -   Dreamweaver Help (http://www.daniweb.com/forums/thread26628.html)

GR Web FX Jun 25th, 2005 2:53 pm
Dreamweaver Help
 
Hey People,

im putting together an image gallery for someone where by there is a thumbnail image on a page, and when you the image a new pop up window opens with a larger image.

The function i am using to generate this is by clicking on the thumbnail image, then going to the behaviours tab in dreamweaver, adding a new window browser, change the event to onClick. My pop up window is 400 x 300. The problem is when i click on the image and the pop up appears, it always goes to the top left hand side of my screen. Is there anyway using this method that i can center the pop up in the center of my screen?

Thanks alot
GR Web FX

Dogtree Jun 25th, 2005 5:50 pm
Re: Dreamweaver Help
 
One word: Javascript. A quick google search will give you something like this.

magusdf Jun 27th, 2005 2:03 pm
Re: Dreamweaver Help
 
not sure how much you'd like to get into the scripting on it as youre using the dreamweaver functions.

but here is a site that should help you customize that code
in turn get you a better understanding of how it works

http://javascript.internet.com/gener...up-window.html

good luk,
MagusDF

GR Web FX Jun 28th, 2005 4:21 am
Re: Dreamweaver Help
 
Excellent, thankyou for your help :)


All times are GMT -4. The time now is 10:08 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC