بسم الله الرحمن الرحيم
بحثت عن كود لفتح نافذة جديدة بحجم معين والحمد لله وجدت الكود التالي
<html dir="rtl">
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<script language='javascript'>
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
</script>
</head>
<body>
<p> </p>
<p> </p>
<p><a href="" onClick="NewWindow(this.href,'name','400','400','no');return false">}Click Here</a></p>
</body>
</html>ولكن هل يمكن تحديد جزء معين من الصفحة يظهر عند فتح الصفحة الجديدة