Forums

This topic is locked

images in popup window

Posted 10 Feb 2004 08:55:30
1
has voted
10 Feb 2004 08:55:30 grackie demoiselle posted:
im been practicing Dreamweaver over a year now and i couldnt figure how to create popup window with images in it. can anyone help?

halu!

Replies

Replied 10 Feb 2004 16:42:40
10 Feb 2004 16:42:40 Erik Piisila replied:
You need to create an html page that is formatted the way you want the pop up with pictures to look. Place your content into a table so that it does not wrap.

Then on the page you want the pop-up to launch from, you insert the behavior for "open browser window". It will give you options for size, scroll bars etc.

here is an example that happens on page load.


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body onLoad="MM_openBrWindow('/yourpage.html','popup','scrollbars=yes,width=300,height=300')">
</body>
</html>
Replied 11 Feb 2004 03:39:42
11 Feb 2004 03:39:42 grackie demoiselle replied:
thanx man!!!!! <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

halu!

Reply to this topic