I am using dreamweaver 8. When you set the target of a link to open a new window, how do you specify the size of that window?
You need to use a javascript to specify the actual size. Do a search for 'javascript popup resize' on google and you should get plenty of hits with results about how to do it.
I use a 2 prong approach. I have some javascript in the head of my page and a link to activate it like this: <html> <head> <title>page title</title> <script language="JavaScript"> <!-- var popUpWin=0; function popUpWindow(URLStr, left, top, width, height) { if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); } popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+''); } //--> </script> </head> <body> <a href="javascript: popUpWindow('mywindow.html',100,100,370,400)">click here</a> </body> </html>
I normally use what stuw suggest too. The popup window will be customizable according to the page. But I'm quite surprised that Dreamweaver doesn't have the option to set the size of the popup window. When I used Dreamweaver aeons ago, I recalled the program did have such setup. Of course now I use FrontPage mostly, and it doesn't offer the same thing as Dreamweaver did.
Im sure it does have it somewhere. But there is so much stuff, and I am still a newb. I have only been using Dreamweaver for a month or so.
newbiesiteguy, in that case, probably you can look at the help menu of the Dreamweaver 8. I think by searching a simple keyterm "popup" will guide you to the help files. It'll be surprising if Dreamwaver doesn't have this function.
I think it does when you download the extension. I certainly have seen this functionality in DW on other peoples machines. Use the DW Extention Manager to download and install from the web. Oh hang on, I read Homers post, so there you go. But it is worth checking out the extensions and plugins available for dreamweaver if your a bit of a newbie - there's lots of time saving stuff out there for free.