HighDots Forums  

Resizing a pop-up window

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Resizing a pop-up window in the Macromedia Dreamweaver forum.



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

Default Resizing a pop-up window - 08-02-2004 , 01:59 PM






Appl: Dreamweaver 4.0
OS: WinXP Pro
I created a small pop-up window using the Open Browser Window. A link that
opens this window is a roll over button. The problem is when I go over (no
clicking) the button, it opens the pop-up window. How I can make this button to
be clicked to open the window. And I cannot figure out to make a close link at
the bottom up my window to close it. I'm green to this application so please be
more in details.
thanks,



Reply With Quote
  #2  
Old   
Mad Dog
 
Posts: n/a

Default Re: Resizing a pop-up window - 08-02-2004 , 02:10 PM






When you highlight the link, in the Behaviors panel it will probably say
OnMouseover. Click next to it and choose OnClick.

MD

sono9 wrote:
Quote:
Appl: Dreamweaver 4.0
OS: WinXP Pro
I created a small pop-up window using the Open Browser Window. A
link that opens this window is a roll over button. The problem is
when I go over (no clicking) the button, it opens the pop-up window.
How I can make this button to be clicked to open the window. And I
cannot figure out to make a close link at the bottom up my window to
close it. I'm green to this application so please be more in details.
thanks,



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

Default Re: Resizing a pop-up window - 08-02-2004 , 02:15 PM



Select the trigger. Open the Behaviors Palette which you will find listed
under DW's WINDOW menu. Click on the dark triangle between onMouseOver and
OpenBrowserWindow in the Behaviors Palette. Select onClick. That should do
it.

To close the window, add this code to the page that is opened in the popup -

<a href="javascript:self.close()">Click me</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
==================

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

Quote:
Appl: Dreamweaver 4.0
OS: WinXP Pro
I created a small pop-up window using the Open Browser Window. A link
that
opens this window is a roll over button. The problem is when I go over (no
clicking) the button, it opens the pop-up window. How I can make this
button to
be clicked to open the window. And I cannot figure out to make a close
link at
the bottom up my window to close it. I'm green to this application so
please be
more in details.
thanks,





Reply With Quote
  #4  
Old   
sono9
 
Posts: n/a

Default Re: Resizing a pop-up window - 08-02-2004 , 03:38 PM



Under the behaviors/events I have the following:
(onMouseOut) Swap image restore
(onMouseOver) Swap image
(onMouseOver) Open Browser Window
As you can see it opens the pop-up window when a mouse goes over the button. I
don't see any options to add (onMouseClick) or something for the Open Browser
Window. How I can add (onMouseClick) event?
Thanks,



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

Default Re: Resizing a pop-up window - 08-02-2004 , 03:39 PM



Make sure your Events For is set to V4+ browsers....

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

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

Quote:
Under the behaviors/events I have the following:
(onMouseOut) Swap image restore
(onMouseOver) Swap image
(onMouseOver) Open Browser Window
As you can see it opens the pop-up window when a mouse goes over the
button. I
don't see any options to add (onMouseClick) or something for the Open
Browser
Window. How I can add (onMouseClick) event?
Thanks,





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

Default Re: Resizing a pop-up window - 08-02-2004 , 03:40 PM



Are you clicking on the dark triangle between the event name and the
behavior name?

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

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

Quote:
Under the behaviors/events I have the following:
(onMouseOut) Swap image restore
(onMouseOver) Swap image
(onMouseOver) Open Browser Window
As you can see it opens the pop-up window when a mouse goes over the
button. I
don't see any options to add (onMouseClick) or something for the Open
Browser
Window. How I can add (onMouseClick) event?
Thanks,





Reply With Quote
  #7  
Old   
sono9
 
Posts: n/a

Default Re: Resizing a pop-up window - 08-02-2004 , 03:45 PM



thanks Murray,
I have only (onMouseOver) option available on the triangle between the event and Open Browser Window.

Reply With Quote
  #8  
Old   
sono9
 
Posts: n/a

Default Re: Resizing a pop-up window - 08-02-2004 , 04:20 PM



wow,
the option was available under the ShowEventsFor / 4.0 later browsers.
thank you all a lot.

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

Default Re: Resizing a pop-up window - 08-02-2004 , 05:36 PM



Egg-sellent....

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

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

Quote:
wow,
the option was available under the ShowEventsFor / 4.0 later browsers.
thank you all a lot.



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.