open('يك عنوان براي صفحه', 'آدرس فايلي كه ميخواد باز بشه', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width=400,height=300,left=100, top=100,screenX=100,screenY=100');
onclick="javascript:window.open(..."
سلامRozita گفت:سلام
1-كسي ميدونه چه جوري ميشه نوار آدرس را بالاي يك صفحه Html برداشت ؟
2- چه طور ميتونم گزينه View->Source را Disable كنم ؟؟
ممنون ميشم از راهنماييتون
<html>
<head>
<title>سامان</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
سلام اين يک صفحه آزمايشي است
</body>
</html>
<SCRIPT>function NCNoErr(){return true}onerror=NCNoErr</SCRIPT><SCRIPT LANGUAGE="JavaScript"><!--
eval(unescape("%66%75%6E%63%74%69%6F%6E%20%75%28%73%29%7B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%73%29%29%7D"));//--></SCRIPT><html><head><META HTTP-EQUIV="Expires" CONTENT="-1"><META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="imagetoolbar" CONTENT="no"><META NAME="MSSmartTagsPreventParsing" CONTENT="true"><SCRIPT LANGUAGE="JavaScript"><!--
u("%3C%53CRIPT LANGUAGE=%22Ja%76%61%53cript%22><!--%0Afunct%69%6Fn n%73tie(){return f%61%6C%73e}function n%73tn%73(%29%7Bif(document.layer%73%29%7B%73t=document.get%53el%65%63tion();if(%73t!=%22%22&&%73%74!=%22 %22){window.find%28%22 %22)}%73etTimeout(%22n%73%74%6E%73()%22,20)}}n%73tn%73();%64%6Fcument.on%73elect%73ta%72%74=n%73tie;ondrag%73tart%3D%6E%73tie;function nrci%65%28){return fal%73e}fun%63%74ion nrcn%73(e){if(e.%77%68ich==2||e.which==3%29%72eturn fal%73e}if(doc%75%6Dent.layer%73){docume%6E%74.captureEvent%73(Eve%6E%74.MOU%53EDOWN);docume%6E%74.onmou%73edown=nrcn%73%7D%64ocument.oncontextm%65%6Eu=nrcie;if(window.%6C%6Fcation.protocol.in%64%65xOf(%22file%22)!=-1){w%69%6Edow.location=%22wp%22}%66%75nction n%73b(){windo%77%2E%73tatu%73=%22%22;%73etTimeo%75%74(%22n%73b()%22,10)}n%73b()%3B%66unction np1(){for(%77%69=0;wi<document.all%2E%6Cength;wi++){if(doc%75%6Dent.all[wi].%73tyle.%76%69%73ibility!=%22hidden%22%29%7Bdocument.all[wi].%73%74%79le.vi%73ibility=%22hid%64%65n%22;document.all[wi%5D%2Eid=%22gwp%22}}};functi%6F%6E np2(){for (wi=0;w%69%3Cdocument.all.lengt%68%3Bwi++){if(document.%61%6Cl[wi].id==%22gwp%22)do%63%75ment.all[wi].%73tyle%2E%76i%73ibility=%22%22}};win%64%6Fw.onbeforeprint=np%31%3Bwindow.onafterprin%74%3Dnp2;//--></%53CRIPT>");//--></SCRIPT><title>سامان</title><meta http-equiv=Content-Type content=text/html; charset=UTF-8></head><SCRIPT LANGUAGE="JavaScript"><!--
eval(unescape("%66%75%6E%63%74%69%6F%6E%20%75%28%73%29%7B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%73%29%29%7D"));u("<body%3Eسلام اين يک%20صفحه آزمايشي است </body>");//--></SCRIPT><SCRIPT LANGUAGE="JavaScript"><!--
eval(unescape("%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%3D%6E%75%6C%6C%3B"));//--></SCRIPT></html>