HighDots Forums  

Create pop-up window with close button

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Create pop-up window with close button in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
c_arm
 
Posts: n/a

Default Create pop-up window with close button - 11-10-2004 , 05:09 PM






I have a web page with pictures of plates of food. When you click on the
picture, a pop-up window opens with a description. At the bottom of the pop-up
window is a button "Close".
Problem > can't close the window.
I'm using behaviors/open new browser window, but the only way I can close it
is to > behaviors open new browser window which then opens the original page.
Problem is I then have a stack of open browser windows.
I'm just learning dreamweaver MX 2004, Any help would be great. got to be a
simple solution, thanks chris









Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Create pop-up window with close button - 11-10-2004 , 05:20 PM






<a href="javascript:self.close()">Close this pop-up and make it go away</a>

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"c_arm" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have a web page with pictures of plates of food. When you click on the
picture, a pop-up window opens with a description. At the bottom of the
pop-up
window is a button "Close".
Problem > can't close the window.
I'm using behaviors/open new browser window, but the only way I can close
it
is to > behaviors open new browser window which then opens the original
page.
Problem is I then have a stack of open browser windows.
I'm just learning dreamweaver MX 2004, Any help would be great. got to be
a
simple solution, thanks chris











Reply With Quote
  #3  
Old   
c_arm
 
Posts: n/a

Default Re: Create pop-up window with close button - 11-10-2004 , 09:58 PM



Thank-you for such a fast response.
This script works great.
I guess it's time I start learning abit about creating scripts.


Another question,

when the new browser window opens, even though the jpeg is only 397 x 505
pixels, the browser window fills the whole monitor screen.
Is there a way to cut off the white space surrounding the jpeg.

thanks once again


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Create pop-up window with close button - 11-11-2004 , 06:37 AM



Use either JustSo Picture Window, or Picture Window Fever, which you can get
from the Macromedia exchange.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"c_arm" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thank-you for such a fast response.
This script works great.
I guess it's time I start learning abit about creating scripts.


Another question,

when the new browser window opens, even though the jpeg is only 397 x 505
pixels, the browser window fills the whole monitor screen.
Is there a way to cut off the white space surrounding the jpeg.

thanks once again




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.