Hi Guys,
I want to make a pop-up widow that opens up when you click a link...and control the size of it. Does Dreamweaver have a command for this?
Thanks
You can access a behavior through the bahavior window, the behavior is called "open browser window". Once you select it, you can double click and configure the dimensions of your window.
Oops. I responded too quickly! What you describe Dan opens a small window if you Roll your mouse Over the image.
What I really need it to do is to open a smaller window by Clicking on an image (link). This should be even simpler but I can't seem to figure it out.
click on windows>behaviors then highlight the link that has the behavior on it select the behavior and go to onclick sometimes i just cant take it...then i realize its already to late
Your problem is very simple. If you want to do it using DW, then you can do so using behaviour tab. WHen you select a behaviour, it will automatically give you onmouseover behaviour, which you need to change to onclick by clicking on it.
Alternatively, you may switch to code view and simply change the code, with you desired event specification on the image.
Or, using code, you can simply write as
<IMG SRC="URL" onclick="javascript:window.open('abc.htm','windowname','window properties')">
I am probably being dense, but coding makes my head hurt late at night....
year2000 could you run through that last bit of coding you suggested with examples. I can't work out if I'm supposed have an image or an HTML file in the new window.
I'm going to bed, it might make sense in the morning.
It's that old "replying to quickly" trick again.
I've sussed how to do it on Dreamweaver now, so I don't need the code, thing is though, is there a quick and easy way of working out what size window I need to open?
I appreciate everybody's help and like you DJ, coding isn't easy for me to navigate. The problem was, when I tried to change the mouseover command to onclick, the main browser window ALSO changed to the link page (and it didn't before I touched the code). I just don't see an onclick command in the behaviors pallette or with the Advance Open Window that Nippi suggested (I'm on a Mac, Version 4). I know most people on this forum could have figured it out, but I was stumped.
Anyway, for me, salvation came in the form of
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.