someone told me that it can be done through java script?
can anyone out there help with this?
please???
-brooke

UserAgent: Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
Moderator: Don_HH2K


<a href="#" onClick='window.open("http://netscape.com/", "newWindow", "width=975,height=719");'>Click here to open window in fixed size</a>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-color: #000000;
}
body,td,th {
color: #CC0000;
}
.style4 {
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
}
.style5 {font-size: 9px; font-family: Arial, Helvetica, sans-serif; }
.style6 {font-size: 10px}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<img src="weekscovermenu.jpg" width="975" height="719" border="0" usemap="#Map">
<map name="Map">
<area shape="poly" coords="46,312,60,299,74,316,114,380,134,440,133,466,132,479,134,513,131,550,
146,585,141,643,128,671,112,671,94,679,73,682,47,679,36,669,27,625,20,554,29,509,
30,479,35,438,37,396,43,345" href="latest.html" target="_blank">
<area shape="poly" coords="524,423,517,449,509,478,519,519,550,542,578,554,596,547,603,537,610,515,
615,503,622,489,628,465,628,444,623,419,611,403,591,394,571,390,550,395,535,407" href="performance.html" target="_blank">
</map>
</body>
</html>
Brooke,sietinso wrote:Thanks for the reply. Could you show me where I would paste the java script in this code to automatically control the window size when the page is loaded? I have a background .jpg and i only want the window to open
as big as the image. It looks horrible on large monitors with all of the extra space around the image.



Hello Willem,Willem Defijn wrote:Dear Antony or anybody willing to help,
Thanks for the JavaScript code to size a new window in Dreamweaver. I will use it to show a larger size of my pictures when visitors click a thumbnail size.
In addition, is there a way to position this new window? Let's say, center it?
Thanks,
Willem Defijn

You can useRainner wrote:I want the user to click it and get a smaller window to apear with the joke. Its own window, over the main page thats opened.



Return to Web Design and Page Coding
Registered users: Google [Bot], Yahoo [Bot]
| [SillyDog701 home] [Netscape] [download NS] [MozInfo701] [MacCentre701] [Feedback] [Search] [Sitemap] All messages posted in this forum do not necessarily represent SillyDog701. This forum is operated by Antony Shen. All rights reserved. Copyright Notice. Privacy Statement. |