This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > Creating popup window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Creating popup window
dreamweeper

2004-06-14, 7:14 pm

I am having this simple problem in creating a new window that is activated by
clicking on a linked image. I want my image to be the link to opening a new
window. In Design View I click on my image, then open the Behavior menu to
select Open Browser Window and then I specify the window size and other
options. I have the Behavior panel set to OnClick. But when my code is
generated, it says onLoad. I have to go to Code window and manually change
onLoad to onClick every time. I am probably missing something simple here, and
it's driving me crazy.
Thanks in advance.

Mad Dog

2004-06-14, 11:14 pm

Try clicking on the image. In the link window of the Property Inspector,
type "java script:;" WITHOUT the quotes. Then click the image again and go to
the Open Browser Window behavior and see if it works better.

MD



dreamweeper wrote:
> I am having this simple problem in creating a new window that is
> activated by clicking on a linked image. I want my image to be the
> link to opening a new window. In Design View I click on my image,
> then open the Behavior menu to select Open Browser Window and then I
> specify the window size and other options. I have the Behavior panel
> set to OnClick. But when my code is generated, it says onLoad. I have
> to go to Code window and manually change onLoad to onClick every
> time. I am probably missing something simple here, and it's driving
> me crazy. Thanks in advance.



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews