السلام عليكم
انا حصلات على كود بيعمل صفحة بدون ربط بس اريد تعريب الكود
عاوز اكتب مكان كل شى مهم فية بيستخدم اكتب مكانةو با العربى
مثلان
زى كلمة هنا العنوان
هنا المجتوى
وكزلك با نفس الطريق
دى معيانة الكود
ودى الكود
<title>CodeAve.com(JavaScript New Window within Previous Page)</title>
<body bgcolor="#FFFFFF">
<script language="JavaScript">
<!--
function open_new_window()
{
new_window = open("","displayWindow","width=300,height=200,left=10,top=10");
// open new document
new_window.document.open();
// Text of the new document
// Replace your " with ' or \" or your document.write statements will fail
new_window.document.write("<html><title>JavaScript New Window</title>");
new_window.document.write("<body bgcolor=\"#FFFFFF\">");
new_window.document.write("This is a new html document created by JavaScript ");
new_window.document.write("statements contained in the previous document.");
new_window.document.write("<br>");
new_window.document.write("<b>Image Example</b><br>");
new_window.document.write("<img src=\"http://www.codeave.com/asp/codeave-logo.gif\">");
new_window.document.write("<br>");
new_window.document.write("<a href=\"http://www.codeave.com\" target=\"_blank\">HyperLink Example</a>");
new_window.document.write("</body></html>");
// close the document
new_window.document.close();
}
// -->
</script>
<form>
<input type=button value="Open New Window" onClick="open_new_window()">
</form>
<a href="javascript:open_new_window()">Open Nerw Window</a>
</body>
</html>
<html>