Styleforum › Forums › General › General Chat › Need help from web design/html gurus
New Posts  All Forums:Forum Nav:

Need help from web design/html gurus

post #1 of 3
Thread Starter 
This is probably a simple request but I'm no coder. If dreamweaver doesn't have it easily accessible, I can't do it....

All I want to do is have a link on a page that opens a new "popup" window. I also need the popup window to be a fixed width and height. If there is more content than what can fit in the fixed-sized popup, it should use a scrollbar, not increase the height of the window.

This is the extent of what I know about sending links into new browser windows:
Code:
This is a new <a href="page2.html" target="_blank">popup</a>

Any help would be greatly appreciated!
post #2 of 3
Code:
<head> 
<script type="text/javascript"> 
function openpopup(theURL) { window.open(theURL,'Title','toolbar=no,location=no, directories=no,status=no,menubar=no,scrollbars=yes, resizable=no,width=500,height=500'); } </script> 
</head>

<body>
<a href="javascript:openpopup('page2.html')">page2</a>
</body>


I think this is what you want.
post #3 of 3
Thread Starter 
Perfect! Thanks a million!
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: General Chat
Styleforum › Forums › General › General Chat › Need help from web design/html gurus