Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 04-17-2005, 12:34 AM   #1 (permalink)
New Member
 
Join Date: Apr 2005
Posts: 3
Default open new window script

I have some thumbnails on a web page, and want each one of them to open up in their own window, without the navigation bar on, but also want the window to fit the size of the image perfectly.

I tried this in dreamweaver using the "open new window" behaviour, but it puts a default margin to the left and top of the photo, not really the effect I want. When I resize the window it just squashes the photo but still has this annoying margin.

Can anyone help with this please?

Thank you
Shar is offline   Reply With Quote
Old 04-22-2005, 08:54 AM   #2 (permalink)
Opera/Firefox on Debian
 
Join Date: Aug 2004
Location: Sydney, Australia
Posts: 141
Default

First result from Google search looks good:
http://www.pcurtis.com/popup.htm
__________________
DVDRelease.com - Digital-Camera.org
[tab] is offline   Reply With Quote
Old 04-30-2005, 08:12 PM   #3 (permalink)
WTM
New Member
 
Join Date: Apr 2005
Location: US
Posts: 10
Default

This is may be what you are looking for:

http://www.accessify.com/tutorials/t...ect-pop-up.asp

Works fine for me...
WTM is offline   Reply With Quote
Old 07-07-2005, 11:10 PM   #4 (permalink)
New Member
 
Join Date: Jul 2005
Posts: 6
Default

hey i quickly checked the links but coudln't quite see what you where after, (although i probably just missed it).

the problem is not with the popup dialogue box, open the actuallt html file, with the image in (eg.photo1.html) in the 'page properties for that page there are 4 boxes, left margin, top margin, margin width, margin height. althoguh i havent figured out the last two yet, (im still learning) if you enter '0' in to left margin and top margin, this will remove the gap at the top of your pages.
keen2learn is offline   Reply With Quote
Old 07-12-2005, 12:08 PM   #5 (permalink)
New Member
 
Join Date: Jul 2005
Posts: 4
Default

Hi, margin width and height are for other explores so its best to set all to 0.
You can add some code to the Open Window command to set the postion of the new window:

onClick="MM_openBrWindow('index.htm','','top=0,lef t=0,width=500,height=400')"

Note the top=0,left=0,
cyberseed is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 04:16 AM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.