Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create a new page with document.write 1

Status
Not open for further replies.

Cedium

Programmer
Jul 28, 2001
19
CH
I use a document.write to create a new page, but it does not work correctly. The new page contain JavaScript and I get a error when I try to show the page in this form.
The page work if see it in it's original form.

Any help would appreciable,
Cedium.

"za" contain the new page with JavaScript.

//////////////////////////////////////////

<html>
<head>
<script language=javascript>
<!--
function start()
{
document.open();
za=&quot; The Whole page to be write with JavaScript ( 2000 > chars )&quot;
document.write(za);
}

function start1()
{
if (!document.layers) start();
}

function start2()
{
if (document.layers) start();
} start1();

// -->
</script>
</head>
<body onload=&quot;start2()&quot; bgcolor=&quot;white&quot;>
</body>
</html>
//////////////////////////////////////////
 
So your getting an error with the javascript in the new page? If so, its probably not escaping special characters when you write the new page in
Code:
var za
. If you can include the js your assigning to
Code:
za
in a post, I'll help find the problem, otherwise theres no way I can help you.
 
Here is the za definition it's very big, za is create with a software, it's to protect the original source page...

///////////////////////////////////////

C=&quot;<&quot;;x=&quot;html&quot;;w=&quot;><&quot;;Y=&quot;head&quot;;c=&quot;>&quot;;v=&quot;\r\n&quot;;u=&quot;title&quot;;K=&quot;>..................................................................................................................................................................................................................................................................................................</&quot;;I=&quot;noscript&quot;;Q=&quot;meta&quot;;T=&quot; &quot;;V=&quot;http&quot;;L=&quot;-&quot;;D=&quot;equiv&quot;;O=&quot;=\&quot;&quot;;R=&quot;refresh&quot;;H=&quot;\&quot;&quot;;p=&quot;content&quot;;k=&quot;0&quot;;i=&quot;;&quot;;t=&quot;url&quot;;E=&quot;=&quot;;b=&quot;://&quot;;S=&quot;Z1=&quot;close&quot;;m1=&quot;();&quot;;p1=&quot;}&quot;;K2=&quot;button&quot;;Y1=&quot;2&quot;;c1=&quot;();}}&quot;;F1=&quot;nocontextmenu&quot;;W1=&quot;()&quot;;J1=&quot;cancelBubble&quot;;J2=&quot;true&quot;;p2=&quot;returnValue&quot;;r1=&quot;false&quot;;M2=&quot;return&quot;;Q1=&quot;processClicks&quot;;t1=&quot;e&quot;;F2=&quot;modifiers&quot;;Q2=&quot;&&quot;;E1=&quot;ALT&quot;;j1=&quot;_&quot;;P1=&quot;MASK&quot;;n1=&quot;||&quot;;A1=&quot;CONTROL&quot;;B2=&quot;();}&quot;;M3=&quot;ctrlKey&quot;;g1=&quot;altKey&quot;;T1=&quot;}}&quot;;Q3=&quot;document&quot;;V1=&quot;captureEvents&quot;;L1=&quot;KEYDOWN&quot;;r2=&quot;);&quot;;G2=&quot;onkeydown&quot;;c2=&quot;MOUSEDOWN&quot;;u2=&quot;onmousedown&quot;;a2=&quot;;}&quot;;a3=&quot;oncontextmenu&quot;;o1=&quot;---------------------------------------------&quot;;z2=&quot;end&quot;;J3=&quot;set&quot;;j2=&quot;get&quot;;u3=&quot;screen&quot;;J4=&quot;sizes&quot;;g2=&quot;var&quot;;E2=&quot;width&quot;;M4=&quot;availWidth&quot;;x1=&quot;height&quot;;M5=&quot;availHeight&quot;;S1=&quot;resizeTo&quot;;g3=&quot;,&quot;;N1=&quot;moveTo&quot;;D1=&quot;refreshing&quot;;U1=&quot;mother&quot;;h1=&quot;page&quot;;o2=&quot;checkparent&quot;;L2=&quot;top&quot;;j3=&quot;open&quot;;j4=&quot;');&quot;;V2=&quot;body&quot;;y1=&quot;bgcolor&quot;;R1=&quot;=\&quot;#&quot;;N2=&quot;FFFFFF&quot;;
v1=&quot;onBlur&quot;;Z2=&quot;();\&quot;&quot;;B3=&quot;onload&quot;;U2=&quot;focus&quot;;d1=&quot;table&quot;;T2=&quot;100&quot;;J5=&quot;%\&quot;&quot;;J6=&quot;border&quot;;x2=&quot;cellspacing&quot;;c3=&quot;cellpadding&quot;;C1=&quot;5&quot;;f1=&quot;\r\n &quot;;T3=&quot;tr&quot;;d2=&quot;\r\n &quot;;v2=&quot;td&quot;;q2=&quot;\r\n &quot;;m2=&quot;p&quot;;u4=&quot;align&quot;;j5=&quot;center&quot;;l1=&quot;\&quot;><&quot;;L3=&quot;b&quot;;L4=&quot;font&quot;;J7=&quot;color&quot;;A2=&quot;C10000&quot;;R2=&quot;size&quot;;E3=&quot;face&quot;;X1=&quot;Arial&quot;;z3=&quot;Helvetica&quot;;X2=&quot;sans&quot;;f2=&quot;serif&quot;;K3=&quot;Womanhood&quot;;x3=&quot;...&quot;;L5=&quot;The&quot;;U3=&quot;\r\n &quot;;J8=&quot;way&quot;;Y2=&quot;it&quot;;T4=&quot;was&quot;;M6=&quot;meant&quot;;b1=&quot;to&quot;;z4=&quot;be&quot;;Z3=&quot;!</&quot;;p3=&quot;></&quot;;q3=&quot;Use&quot;;E4=&quot;of&quot;;V3=&quot;Viacreme&quot;;g4=&quot;For&quot;;B4=&quot;Women&quot;;f3=&quot;can&quot;;z5=&quot;result&quot;;v3=&quot;in&quot;;A3=&quot;greater&quot;;T5=&quot;orgasmic&quot;;p4=&quot;pleasure&quot;;b2=&quot;as&quot;;u5=&quot;well&quot;;e1=&quot;induce&quot;;v4=&quot;orgasm&quot;;w2=&quot;those&quot;;i1=&quot;who&quot;;I1=&quot;have&quot;;
Q4=&quot;had&quot;;Q5=&quot;difficulty&quot;;n2=&quot;achieving&quot;;h2=&quot;past&quot;;k1=&quot;i&quot;;O2=&quot;June&quot;;D2=&quot;43&quot;;V4=&quot;lost&quot;;i2=&quot;interest&quot;;b3=&quot;sexual&quot;;I2=&quot;relations&quot;;T6=&quot;with&quot;;x4=&quot;my&quot;;v5=&quot;husband&quot;;R3=&quot;until&quot;;W2=&quot;actually&quot;;W3=&quot;thought&quot;;a4=&quot;something&quot;;N3=&quot;wrong&quot;;Y3=&quot;me&quot;;y2=&quot;Now&quot;;R4=&quot;we&quot;;R5=&quot;are&quot;;e2=&quot;intimate&quot;;d3=&quot;like&quot;;m3=&quot;when&quot;;r3=&quot;were&quot;;s1=&quot;first&quot;;J9=&quot;married&quot;;X3=&quot;cant&quot;;q4=&quot;wait&quot;;m4=&quot;our&quot;;M7=&quot;vacation&quot;;g5=&quot;will&quot;;g6=&quot;pack&quot;;r4=&quot;!\&quot;&quot;;i3=&quot;From&quot;;z6=&quot;ministers&quot;;w3=&quot;therapists&quot;;X4=&quot;John&quot;;w4=&quot;Gray&quot;;x5=&quot;Dr&quot;;v6=&quot;Ruth&quot;;O3=&quot;and&quot;;V5=&quot;Oprah&quot;;N4=&quot;men&quot;;J10=&quot;across&quot;;j6=&quot;Nation&quot;;Q6=&quot;struggled&quot;;e3=&quot;find&quot;;h3=&quot;answers&quot;;G3=&quot;better&quot;;e4=&quot;relationships&quot;;z7=&quot;satisfaction&quot;;q5=&quot;Statistics&quot;;K4=&quot;indicate&quot;;z8=&quot;that&quot;;c4=&quot;one&quot;;W4=&quot;out&quot;;r5=&quot;every&quot;;
a5=&quot;three&quot;;g7=&quot;breakups&quot;;S2=&quot;is&quot;;C2=&quot;due&quot;;a6=&quot;dysfunction&quot;;O4=&quot;Today&quot;;L6=&quot;intimacy&quot;;i4=&quot;has&quot;;h4=&quot;never&quot;;K5=&quot;been&quot;;h5=&quot;more&quot;;D3=&quot;promising&quot;;l2=&quot;introduction&quot;;F3=&quot;Viagra&quot;;E5=&quot;What&quot;;s2=&quot;?&quot;;l3=&quot;a&quot;;C3=&quot;natural&quot;;t2=&quot;topical&quot;;l4=&quot;creme&quot;;n3=&quot;applied&quot;;T7=&quot;genital&quot;;b4=&quot;area&quot;;l5=&quot;acts&quot;;j7=&quot;stimulant&quot;;i5=&quot;soft&quot;;k2=&quot;tissue&quot;;Z4=&quot;creates&quot;;L7=&quot;cool&quot;;Z5=&quot;tingling&quot;;h6=&quot;sensation&quot;;e5=&quot;At&quot;;u6=&quot;long&quot;;y3=&quot;last&quot;;R6=&quot;woman&quot;;I3=&quot;enjoy&quot;;y4=&quot;enhanced&quot;;o3=&quot;physical&quot;;X5=&quot;safely&quot;;l6=&quot;naturally&quot;;s3=&quot;benefit&quot;;K6=&quot;using&quot;;c5=&quot;?</&quot;;a7=&quot;Over&quot;;k3=&quot;46&quot;;O5=&quot;%&quot;;d4=&quot;America&quot;;s4=&quot;experience&quot;;Q7=&quot;little&quot;;L8=&quot;or&quot;;P2=&quot;no&quot;;F4=&quot;clitoral&quot;;N5=&quot;only&quot;;V6=&quot;25&quot;;g8=&quot;achieve&quot;;U4=&quot;intercourse&quot;;B5=&quot;fact&quot;;l7=&quot;there&quot;;h7=&quot;countless&quot;;O6=&quot;numbers&quot;;
R7=&quot;do&quot;;I4=&quot;not&quot;;i6=&quot;even&quot;;g9=&quot;know&quot;;h8=&quot;an&quot;;d5=&quot;how&quot;;k4=&quot;achieved&quot;;C4=&quot;Whether&quot;;j8=&quot;you&quot;;b5=&quot;multi&quot;;C5=&quot;among&quot;;I5=&quot;sexually&quot;;L9=&quot;frustrated&quot;;a8=&quot;desires&quot;;U5=&quot;maximum&quot;;b6=&quot;fulfillment&quot;;d6=&quot;stands&quot;;s5=&quot;regular&quot;;L10=&quot;Clinical&quot;;y5=&quot;Information&quot;;f4=&quot;:&quot;;H1=&quot;byproduct&quot;;F5=&quot;1998&quot;;D4=&quot;Nobel&quot;;B6=&quot;Prize&quot;;V7=&quot;winning&quot;;K7=&quot;Medicine&quot;;y6=&quot;Physiology&quot;;z9=&quot;award&quot;;K8=&quot;received&quot;;c6=&quot;discovery&quot;;B7=&quot;understanding&quot;;E6=&quot;Nitric&quot;;s6=&quot;Oxide&quot;;M8=&quot;Pathway&quot;;n4=&quot;basis&quot;;s7=&quot;penile&quot;;W5=&quot;arousal&quot;;e6=&quot;erection&quot;;B8=&quot;sensitivity&quot;;z10=&quot;safe&quot;;m5=&quot;clear&quot;;f5=&quot;viscous&quot;;p5=&quot;compound&quot;;P3=&quot;contains&quot;;h9=&quot;essential&quot;;x6=&quot;active&quot;;n5=&quot;ingredients&quot;;R8=&quot;promote&quot;;N6=&quot;improves&quot;;q6=&quot;opportunity&quot;;S3=&quot;does&quot;;A4=&quot;require&quot;;a9=&quot;prescription&quot;;r6=&quot;.</&quot;;t3=&quot;actual&quot;;i7=&quot;concentrations&quot;;b7=&quot;quite&quot;;i8=&quot;dilute&quot;;c7=&quot;but&quot;;
y7=&quot;because&quot;;h10=&quot;'&quot;;A5=&quot;s&quot;;t4=&quot;tissues&quot;;i9=&quot;extremely&quot;;O7=&quot;sensitive&quot;;N7=&quot;application&quot;;k5=&quot;stimulate&quot;;K9=&quot;vigorous&quot;;K10=&quot;tingle&quot;;L11=&quot;Compounded&quot;;S4=&quot;individually&quot;;a10=&quot;packaged&quot;;E7=&quot;medical&quot;;b8=&quot;grade&quot;;t5=&quot;facility&quot;;N8=&quot;patented&quot;;e7=&quot;clinically&quot;;V8=&quot;evaluated&quot;;M9=&quot;by&quot;;g10=&quot;nurses&quot;;z11=&quot;other&quot;;G4=&quot;including&quot;;l8=&quot;physicians&quot;;p6=&quot;Wrapped&quot;;h11=&quot;sanitary&quot;;m6=&quot;individual&quot;;E8=&quot;pillow&quot;;R9=&quot;packs&quot;;N9=&quot;convenient&quot;;F6=&quot;store&quot;;s8=&quot;carry&quot;;t6=&quot;also&quot;;i10=&quot;laboratory&quot;;x7=&quot;safety&quot;;x8=&quot;D50000&quot;;C6=&quot;$&quot;;C7=&quot;16&quot;;W6=&quot;95&quot;;Y4=&quot;\r\n \r\n &quot;;Y5=&quot;8&quot;;P4=&quot; \r\n &quot;;C8=&quot; \r\n &quot;;a11=&quot;input&quot;;V9=&quot;type&quot;;F7=&quot;submit&quot;;s9=&quot;name&quot;;Z6=&quot;value&quot;;E9=&quot;leavenow&quot;;Q8=&quot;onClick&quot;;G5=&quot;();\&quot;>&quot;;K11=&quot;Submit2&quot;;z12=&quot;order&quot;;M10=&quot;');\&quot;>&quot;;e8=&quot;Submit22&quot;;l9=&quot;excludeme&quot;;N10=&quot;exclude&quot;;y8=&quot;1&quot;;K12=&quot;Disclaimer&quot;;o4=&quot;:</&quot;;
D5=&quot; \r\n &quot;;o5=&quot;this&quot;;q7=&quot;FDA&quot;;k6=&quot;any&quot;;n6=&quot;public&quot;;H2=&quot;/&quot;;M11=&quot;state&quot;;r7=&quot;drug&quot;;P5=&quot;health&quot;;n7=&quot;regulatory&quot;;j9=&quot;agency&quot;;v7=&quot;Please&quot;;W7=&quot;always&quot;;N11=&quot;consult&quot;;d7=&quot;your&quot;;m7=&quot;licensed&quot;;T8=&quot;care&quot;;i11=&quot;practitioner&quot;;w5=&quot;product&quot;;F8=&quot;intended&quot;;M12=&quot;diagnose&quot;;F9=&quot;treat&quot;;P6=&quot;cure&quot;;k7=&quot;disease&quot;;
za=C+x+w+Y+c+v+C+u+K+u+c+v+C+I+c+v+C+Q+T+V+L+D+O+R+H+T+p+O+k+i+T+t+E+V+b+S+q+e+q+X+J+v+z+I+c+g+C+W+T+j+O+a+J+v+h+T+o+B+q+Z+f+v+G+T+P+v+l+r+q+d+s+A+q+x+F+g+N+T+n+T+y+T+U+v+O1+T+u1+o+K1+f+v+l+h+T+o+B+q+w1+f+T+N+T+z1+T+G1+q+B1+v+l+h+T+o+K1+q+a1+T+M1+T+q1+f+T+B+q+Z1+m1+T+p1+v+P+v+l+h+T+o+w1+q+K2+T+M1+T+Y1+f+T+B+q+Z1+c1+g+O1+T+F1+W1+v+l+v+w1+q+J1+T+E+T+J2+v+w1+q+p2+T+E+T+r1+i+v+M2+T+r1+i+v+p1+g+O1+T+Q1+o+t1+f+v+l+h+T+o+B+q+w1+f+T+N+T+z1+T+G1+q+B1+v+l+h+T+o+t1+q+F2+T+Q2+T+w1+q+E1+j1+P1+T+n1+T+t1+q+F2+T+Q2+T+w1+q+A1+j1+P1+f+T+B+q+Z1+B2+v+P+v+l+h+T+o+B+q+w1+q+M3+T+n1+T+B+q+w1+q+g1+f+T+B+q+Z1+m1+T+T1+g+h+T+o+B+q+w1+f+T+N+T+z1+T+G1+q+B1+v+l+Q3+q+V1+o+w1+q+L1+r2+T+Q3+q+G2+T+E+T+Q1+i+v+Q3+q+V1+o+w1+q+c2+r2+T+Q3+q+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+N10+q+x+M10+U3+z+v2+c+q2;
za=za+z+T3+c+d2+z+d1+c+d2+C+m2+T+u4+E+j5+w+L4+T+E3+O+X1+g3+T+z3+g3+T+X2+L+f2+l1+L3+w+L4+T+R2+O+y8+J+K12+o4+L4+p3+L3+w+L4+T+R2+O+y8+J+D5+o5+T+y5+T+i4+T+I4+T+K5+T+V8+T+M9+T+q7+T+L8+T+k6+T+z11+T+n6+H2+M11+D5+r7+H2+P5+T+n7+T+j9+q+T+v7+T+W7+T+N11+T+d7+T+n6+H2+M11+T+m7+D5+P5+T+T8+T+i11+q+T+L5+T+w5+T+S2+T+I4+T+F8+T+b1+T+M12+g3+T+F9+g3+D5+P6+T+k6+T+k7+r6+L4+p3+L4+p3+m2+c+q2+z+v2+c+f1+z+T3+c+v+z+d1+c+g+z+V2+c+v+z+x+c+v;

///////////////////////////////////////
 
I muss say when I try that on page that does not have any JavaScript it work without any problem, this page has JavaScript to catch the right-click and the Control button.

Here the Javascript

////////////////////////////////////////

<script language=&quot;JavaScript&quot;>
// ------------------------------------ disablingKeys start
function noRightClick(evnt)
{if (window.Event) // Navigator 4.0x
{if (evnt.which == 3) window.close(); }
else
{if (event.button == 2) window.close();}}

function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}

function processClicks(e)
{if (window.Event) // Navigator 4.0x
{if (e.modifiers & Event.ALT_MASK || e.modifiers & Event.CONTROL_MASK) window.close();}
else
{if (window.event.ctrlKey || window.event.altKey) window.close(); }}

if (window.Event) // Navigator 4.0x
{document.captureEvents(Event.KEYDOWN); document.onkeydown = processClicks;
document.captureEvents(Event.MOUSEDOWN); document.onmousedown = noRightClick;}
else
{document.onkeydown = processClicks;
document.onmousedown = noRightClick;}
document.oncontextmenu = nocontextmenu;
// ---------------------------------------------disablingKeys end

// set&get screen sizes

var width = screen.availWidth; var height = screen.availHeight;
window.resizeTo(width,height); window.moveTo(0,0);

// refreshing mother page

function checkparent()
{
if (window.opener)
window.opener.top.location.replace('open.html');
}

</SCRIPT>

////////////////////////////////////////
 
with Internet Explorer 5 I get the error :
'Event' not definited
Line 237 (not accurate)
Char 2
 
It's a problem with the JavaScrip being written with document.write,...

Anyway thanks for your help.
Cedium
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top