Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Java Script. No activity
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="PowerBookG4" data-source="post: 370684" data-attributes="member: 8394"><p>Hey, </p><p>I am trying to get a website working up. My friends sent me this script to help me out, but I am trying to apply it to my site and I can not get it to function. I think it may have something to do with the fact that I am trying to apply the link to a section of a image, and I may not be doing that correctly. </p><p></p><p>this is in my <head> tags</p><p></p><p>[code]<script language="javascript" type="text/javascript" src="chromeless_35.js"></script></p><p><script language="javascript"></p><p></p><p>function openIT(u,W,H,X,Y,n,b,x,m,r) {</p><p> var cU ='close.gif' </p><p> var cO ='close.gif' </p><p> var cL ='clock.gif' </p><p> var mU ='minimize.gif' </p><p> var mO ='minimize.gif' </p><p> var xU ='max.gif' </p><p> var xO ='max.gif' </p><p> var rU ='restore.gif' </p><p> var rO ='restore.gif' </p><p> var tH ='<font face=verdana size=2>Exquisite Video</font>' </p><p> var tW ='Exquisite Video' </p><p> var wB ='#D5D5FF' </p><p> var wBs ='#D5D5FF' </p><p> var wBG ='#D5D5FF' </p><p> var wBGs='#D5D5FF' </p><p> var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0' </p><p> var fSO ='scrolling=auto noresize' </p><p> var brd =b||5; </p><p> var max =x||false; </p><p> var min =m||false; </p><p> var res =r||false; </p><p> var tsz =20; </p><p> return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)</p><p>}</p><p></p><p></script>[/code]</p><p></p><p></p><p>This is the how I have the link:</p><p></p><p>[code] <img src="Images/images/Video_06.jpg" width="775" height="131" border="0" usemap="#Map4"></p><p> <map name="Map4"></p><p> <area shape="rect" coords="240,2,344,22" a href="#" onclick="mywin001=openIT('sample.htm',600,600,null,null,'mywin001',5,true,true,true);return false"></p><p> </map>[/code]</p><p></p><p></p><p>There is an external file the code is resourcing as you can see. That code is here:</p><p></p><p>[code]</p><p>function chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz){</p><p> var c=(document.all&&navigator.userAgent.indexOf("Win")!=-1)?1:0</p><p> var v=navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8)</p><p> min=(v>=5.5?min:false);</p><p> var w=window.screen.width; var h=window.screen.height</p><p> var W=W||w; W=(typeof(W)=='string'?Math.ceil(parseInt(W)*w/100):W); W+=(brd*2+2)*c</p><p> var H=H||h; H=(typeof(H)=='string'?Math.ceil(parseInt(H)*h/100):H); H+=(tsz+brd+2)*c</p><p> var X=X||Math.ceil((w-W)/2)</p><p> var Y=Y||Math.ceil((h-H)/2)</p><p> var s=",width="+W+",height="+H</p><p></p><p> if(c){</p><p> var cTIT='\n'+</p><p> '<html><head><META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n'+</p><p> '<script>\n'+</p><p> 'var IcU=new Image();IcU.src="'+cU+'";var IcO=new Image();IcO.src="'+cO+'";var IcL=new Image();IcL.src="'+cL+'";var IxU=new Image();IxU.src="'+xU+'";var IxO=new Image();IxO.src="'+xO+'";var IrU=new Image();IrU.src="'+rU+'";var IrO=new Image();IrO.src="'+rO+'";var ImU=new Image();ImU.src="'+mU+'";var ImO=new Image();ImO.src="'+mO+'"\n'+</p><p> 'document.onmousemove=document.onselectstart=document.ondragstart=document.oncontextmenu=new Function("wMOV();return false");\n'+</p><p> 'b=-1\n'+</p><p> 'wLOA=function(){if(top.ok&&document.body){'+(min?'bMIN.style.visibility="visible";':'')+'bLOA.style.visibility="hidden";wRSZ()}else setTimeout("wLOA()",500)};wLOA()\n'+</p><p> 'wRSZ=function(){var dw=document.body.clientWidth;bCLO.style.pixelLeft=dw-22;bMIN.style.pixelLeft=bLOA.style.pixelLeft=dw-62;bFUL.style.pixelLeft=bRES.style.pixelLeft=dw-42}\n'+</p><p> 'wMAX=function(m){top.mod=m;if(m){top.mT(0,0);top.rT('+w+','+h+');bFUL.style.visibility="hidden";bRES.style.visibility="visible"}else{top.mT(top.px,top.py);top.rT(top.sW,top.sH);bFUL.style.visibility="visible";bRES.style.visibility="hidden"}}\n'+</p><p> 'wDBL=function(){if(!top.mod)wMAX(1);else wMAX(0)}\n'+</p><p> 'wMIN=function(){top.window.moveTo(0,-4000);if(top.opener&&!top.opener.closed){top.opener.window.focus()};top.window.blur()}\n'+</p><p> 'wMOV=function(){\n'+</p><p> 'if(b==0){top.bCOL("'+wBG+'","'+wB+'");b=-1}\n'+</p><p> 'if(b==2&&!top.mod){top.px=event.screenX-ofx-1;top.py=event.screenY-ofy-1;top.mT(top.px,top.py)}\n'+</p><p> 'if(b==1){top.bCOL("'+wBGs+'","'+wBs+'");ofx=event.x;ofy=event.y;b=2}\n'+</p><p> '}</script></head>\n'+</p><p> '<body onresize="wRSZ()" bgcolor='+wBG+'>\n'+</p><p> '<div style="position:absolute;left:5px;top:4px;width:2000px">'+tH+'</div>\n'+</p><p> '<img id=bMOV style="position:absolute;left:-50px;top:-50px" '+(max?'ondblclick="wDBL()"':'')+' onmousemove="wMOV()" onmousedown="b=1;wMOV()" onmouseup="b=0;wMOV()" border=0 src="" width=2000 height=2000>\n'+</p><p> '<img id=bFUL style="position:absolute;top:4px;left:'+(W-42)+'px;'+(max?'':'display:none')+'" src="'+xU+'" border=0 onmouseover="this.src=IxO.src" onmouseout="this.src=IxU.src" onmouseup="this.src=IxU.src" onmousedown="this.src=IxU.src" onclick="wMAX(1)">\n'+</p><p> '<img id=bRES style="position:absolute;top:4px;left:'+(W-42)+'px;visibility:hidden" src="'+rU+'" border=0 onmouseover="this.src=IrO.src" onmouseout="this.src=IrU.src" onmouseup="this.src=IrU.src" onmousedown="this.src=IrU.src" onclick="wMAX(0)">\n'+</p><p> '<img id=bCLO style="position:absolute;top:4px;left:'+(W-22)+'px;" src="'+cU+'" border=0 onmouseover="this.src=IcO.src" onmouseout="this.src=IcU.src" onmouseup="this.src=IcU.src" onmousedown="this.src=IcU.src" onclick="top.window.close()">\n'+</p><p> '<img id=bLOA style="position:absolute;top:4px;left:'+(W-62)+'px;" src="'+cL+'" border=0 >\n'+</p><p> '<img id=bMIN style="position:absolute;top:4px;left:'+(W-62)+'px;visibility:hidden" src="'+mU+'" border=0 onmouseover="this.src=ImO.src" onmouseout="this.src=ImU.src" onmouseup="this.src=ImU.src" onmousedown="this.src=ImU.src" onclick="wMIN()">\n'+</p><p> '</body>\n'+</p><p> '</html>'</p><p> </p><p> cTIT=cTIT.replace(/\//g,"\\\/").replace(/\"/g,"\\\"").replace(/\n/g,"\\n")</p><p></p><p></p><p> cRES=function(b,s){</p><p> var tmp='\n'+</p><p> '<html><head><META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n'+</p><p> '<script>\n'+</p><p> 'document.onmousemove=document.onselectstart=document.ondragstart=document.oncontextmenu=new Function("wMOV();return false");\n'+</p><p> 'b=-1\n'+</p><p> 'wMOV=function(){if(!top.mod){\n'+</p><p> 'if(b==0){top.sH=top.fH;top.sW=top.fW;b=-1}\n'+</p><p> 'if(b==2&&(1=='+b+'||4=='+b+'||5=='+b+')){tmp=event.screenY-oH;if(top.sH+tmp>100){top.fH=top.sH+tmp}}\n'+</p><p> 'if(b==2&&(2=='+b+'||4=='+b+')){tmp=event.screenX-oW;if(top.sW-tmp>100){top.fW=top.sW-tmp;top.px=event.screenX-ofx-1}}\n'+</p><p> 'if(b==2&&(3=='+b+'||5=='+b+')){tmp=event.screenX-oW;top.fW=top.sW+tmp}\n'+</p><p> 'if(b==2){setTimeout("top.rT(top.fW,top.fH);top.mT(top.px,top.py);",10)}\n'+</p><p> 'if(b==1){ofx=event.x;oH=event.screenY;oW=event.screenX;b=2}\n'+</p><p> '}}</script></head>\n'+</p><p> '<body bgcolor='+wBG+'>\n'+</p><p> '<img style="cursor:'+s+'-resize" id=bMOV style="position:absolute;left:-50px;top:-50px" onmousemove="wMOV()" onmousedown="b=1;wMOV()" onmouseup="b=0;wMOV()" border=0 src="" width=3000 height=2000>\n'+</p><p> '</body>\n'+</p><p> '</html>'</p><p> return tmp.replace(/\//g,"\\\/").replace(/\"/g,"\\\"").replace(/\n/g,"\\n")</p><p> }</p><p></p><p> var cRESd=cRES(1,'s'),cRESl=cRES(2,'w'),cRESr=cRES(3,'e'),cRESbl=cRES(4,'sw'),cRESbr=cRES(5,'se')</p><p></p><p> var cFRM='<HTML><HEAD><TITLE>'+tW+'</TITLE>\n'+</p><p> '<script>\n'+</p><p> 'ok=0;mod=0;sH=fH='+(H)+';sW=fW='+(W)+';px='+(X)+';py='+(Y)+'\n'+</p><p> 'bCOL=function(c1,c2){fT.document.bgColor=n0.document.bgColor=n1.document.bgColor=n2.document.bgColor=n3.document.bgColor=n4.document.bgColor=c1;bL.document.bgColor=bT.document.bgColor=bR.document.bgColor=bB.document.bgColor=c2}\n'+</p><p> 'mTIT=function(){if(frames.length>8){fT.document.write("'+cTIT+'");fT.document.close();if ('+res+'){n2.document.write("'+cRESd+'");n2.document.close();n1.document.write("'+cRESr+'");n1.document.close();n0.document.write("'+cRESl+'");n0.document.close();n3.document.write("'+cRESbl+'");n3.document.close();n4.document.write("'+cRESbr+'");n4.document.close()};top.bCOL("'+wBG+'","'+wB+'")}else{setTimeout("mTIT()",20)}}\n'+</p><p> 'mT=function(x,y){top.window.moveTo(x,y)}\n'+</p><p> 'rT=function(w,h){top.window.resizeTo(w,h)}\n'+</p><p> 'top.rT(fW,fH);top.mT(px,py)\n'+</p><p> 'mTIT()\n'+</p><p> '</script></HEAD>\n'+</p><p> '<frameset onselectstart="return false" onload="top.ok=1" onfocus="if (top.ok&&fT&&fT.wMAX) fT.wMAX(top.mod)" border=0 framespacing=0 frameborder=0 rows="'+tsz+',100%,'+brd+'">\n'+</p><p> ' <frame name=fT src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frameset border=0 framespacing=0 frameborder=0 cols="'+brd+',1,100%,1,'+brd+'">\n'+</p><p> ' <frame name=n0 src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frame name=bL src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frameset border=0 framespacing=0 frameborder=0 rows="1,100%,1">\n'+</p><p> ' <frame name=bT src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frame name=main src="'+u+'" '+fSO+'>\n'+</p><p> ' <frame name=bB src="about:blank" scrolling=no noresize>\n'+</p><p> ' </frameset>\n'+</p><p> ' <frame name=bR src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frame name=n1 src="about:blank" scrolling=no noresize>\n'+</p><p> ' </frameset>\n'+</p><p> ' <frameset border=0 framespacing=0 frameborder=0 cols="'+brd+',100%,'+brd+'">\n'+</p><p> ' <frame name=n3 src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frame name=n2 src="about:blank" scrolling=no noresize>\n'+</p><p> ' <frame name=n4 src="about:blank" scrolling=no noresize>\n'+</p><p> ' </frameset>\n'+</p><p> '</frameset>\n'+</p><p> '</HTML>'</p><p></p><p> var CWIN=window.open("",n,"fullscreen=1"+s)</p><p> CWIN.moveTo(5000,0)</p><p> CWIN.ft=true</p><p> CWIN.document.write(cFRM)</p><p> CWIN.document.close()</p><p> } else {</p><p> var CWIN=window.open(u,n,wNS+s,true)</p><p> CWIN.moveTo(X,Y)</p><p> }</p><p> CWIN.focus()</p><p> CWIN.setURL=function(u) { if (this && !this.closed) { if (this.frames.main) this.frames.main.location.href=u; else this.location.href=u } }</p><p> CWIN.closeIT=function() { if (this && !this.closed) this.close() }</p><p> return CWIN</p><p>} [/code]</p><p></p><p>anybody have any idea what I am doing wrong because I am very lost.</p></blockquote><p></p>
[QUOTE="PowerBookG4, post: 370684, member: 8394"] Hey, I am trying to get a website working up. My friends sent me this script to help me out, but I am trying to apply it to my site and I can not get it to function. I think it may have something to do with the fact that I am trying to apply the link to a section of a image, and I may not be doing that correctly. this is in my <head> tags [code]<script language="javascript" type="text/javascript" src="chromeless_35.js"></script> <script language="javascript"> function openIT(u,W,H,X,Y,n,b,x,m,r) { var cU ='close.gif' var cO ='close.gif' var cL ='clock.gif' var mU ='minimize.gif' var mO ='minimize.gif' var xU ='max.gif' var xO ='max.gif' var rU ='restore.gif' var rO ='restore.gif' var tH ='<font face=verdana size=2>Exquisite Video</font>' var tW ='Exquisite Video' var wB ='#D5D5FF' var wBs ='#D5D5FF' var wBG ='#D5D5FF' var wBGs='#D5D5FF' var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0' var fSO ='scrolling=auto noresize' var brd =b||5; var max =x||false; var min =m||false; var res =r||false; var tsz =20; return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz) } </script>[/code] This is the how I have the link: [code] <img src="Images/images/Video_06.jpg" width="775" height="131" border="0" usemap="#Map4"> <map name="Map4"> <area shape="rect" coords="240,2,344,22" a href="#" onclick="mywin001=openIT('sample.htm',600,600,null,null,'mywin001',5,true,true,true);return false"> </map>[/code] There is an external file the code is resourcing as you can see. That code is here: [code] function chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz){ var c=(document.all&&navigator.userAgent.indexOf("Win")!=-1)?1:0 var v=navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8) min=(v>=5.5?min:false); var w=window.screen.width; var h=window.screen.height var W=W||w; W=(typeof(W)=='string'?Math.ceil(parseInt(W)*w/100):W); W+=(brd*2+2)*c var H=H||h; H=(typeof(H)=='string'?Math.ceil(parseInt(H)*h/100):H); H+=(tsz+brd+2)*c var X=X||Math.ceil((w-W)/2) var Y=Y||Math.ceil((h-H)/2) var s=",width="+W+",height="+H if(c){ var cTIT='\n'+ '<html><head><META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n'+ '<script>\n'+ 'var IcU=new Image();IcU.src="'+cU+'";var IcO=new Image();IcO.src="'+cO+'";var IcL=new Image();IcL.src="'+cL+'";var IxU=new Image();IxU.src="'+xU+'";var IxO=new Image();IxO.src="'+xO+'";var IrU=new Image();IrU.src="'+rU+'";var IrO=new Image();IrO.src="'+rO+'";var ImU=new Image();ImU.src="'+mU+'";var ImO=new Image();ImO.src="'+mO+'"\n'+ 'document.onmousemove=document.onselectstart=document.ondragstart=document.oncontextmenu=new Function("wMOV();return false");\n'+ 'b=-1\n'+ 'wLOA=function(){if(top.ok&&document.body){'+(min?'bMIN.style.visibility="visible";':'')+'bLOA.style.visibility="hidden";wRSZ()}else setTimeout("wLOA()",500)};wLOA()\n'+ 'wRSZ=function(){var dw=document.body.clientWidth;bCLO.style.pixelLeft=dw-22;bMIN.style.pixelLeft=bLOA.style.pixelLeft=dw-62;bFUL.style.pixelLeft=bRES.style.pixelLeft=dw-42}\n'+ 'wMAX=function(m){top.mod=m;if(m){top.mT(0,0);top.rT('+w+','+h+');bFUL.style.visibility="hidden";bRES.style.visibility="visible"}else{top.mT(top.px,top.py);top.rT(top.sW,top.sH);bFUL.style.visibility="visible";bRES.style.visibility="hidden"}}\n'+ 'wDBL=function(){if(!top.mod)wMAX(1);else wMAX(0)}\n'+ 'wMIN=function(){top.window.moveTo(0,-4000);if(top.opener&&!top.opener.closed){top.opener.window.focus()};top.window.blur()}\n'+ 'wMOV=function(){\n'+ 'if(b==0){top.bCOL("'+wBG+'","'+wB+'");b=-1}\n'+ 'if(b==2&&!top.mod){top.px=event.screenX-ofx-1;top.py=event.screenY-ofy-1;top.mT(top.px,top.py)}\n'+ 'if(b==1){top.bCOL("'+wBGs+'","'+wBs+'");ofx=event.x;ofy=event.y;b=2}\n'+ '}</script></head>\n'+ '<body onresize="wRSZ()" bgcolor='+wBG+'>\n'+ '<div style="position:absolute;left:5px;top:4px;width:2000px">'+tH+'</div>\n'+ '<img id=bMOV style="position:absolute;left:-50px;top:-50px" '+(max?'ondblclick="wDBL()"':'')+' onmousemove="wMOV()" onmousedown="b=1;wMOV()" onmouseup="b=0;wMOV()" border=0 src="" width=2000 height=2000>\n'+ '<img id=bFUL style="position:absolute;top:4px;left:'+(W-42)+'px;'+(max?'':'display:none')+'" src="'+xU+'" border=0 onmouseover="this.src=IxO.src" onmouseout="this.src=IxU.src" onmouseup="this.src=IxU.src" onmousedown="this.src=IxU.src" onclick="wMAX(1)">\n'+ '<img id=bRES style="position:absolute;top:4px;left:'+(W-42)+'px;visibility:hidden" src="'+rU+'" border=0 onmouseover="this.src=IrO.src" onmouseout="this.src=IrU.src" onmouseup="this.src=IrU.src" onmousedown="this.src=IrU.src" onclick="wMAX(0)">\n'+ '<img id=bCLO style="position:absolute;top:4px;left:'+(W-22)+'px;" src="'+cU+'" border=0 onmouseover="this.src=IcO.src" onmouseout="this.src=IcU.src" onmouseup="this.src=IcU.src" onmousedown="this.src=IcU.src" onclick="top.window.close()">\n'+ '<img id=bLOA style="position:absolute;top:4px;left:'+(W-62)+'px;" src="'+cL+'" border=0 >\n'+ '<img id=bMIN style="position:absolute;top:4px;left:'+(W-62)+'px;visibility:hidden" src="'+mU+'" border=0 onmouseover="this.src=ImO.src" onmouseout="this.src=ImU.src" onmouseup="this.src=ImU.src" onmousedown="this.src=ImU.src" onclick="wMIN()">\n'+ '</body>\n'+ '</html>' cTIT=cTIT.replace(/\//g,"\\\/").replace(/\"/g,"\\\"").replace(/\n/g,"\\n") cRES=function(b,s){ var tmp='\n'+ '<html><head><META HTTP-EQUIV="imagetoolbar" CONTENT="no">\n'+ '<script>\n'+ 'document.onmousemove=document.onselectstart=document.ondragstart=document.oncontextmenu=new Function("wMOV();return false");\n'+ 'b=-1\n'+ 'wMOV=function(){if(!top.mod){\n'+ 'if(b==0){top.sH=top.fH;top.sW=top.fW;b=-1}\n'+ 'if(b==2&&(1=='+b+'||4=='+b+'||5=='+b+')){tmp=event.screenY-oH;if(top.sH+tmp>100){top.fH=top.sH+tmp}}\n'+ 'if(b==2&&(2=='+b+'||4=='+b+')){tmp=event.screenX-oW;if(top.sW-tmp>100){top.fW=top.sW-tmp;top.px=event.screenX-ofx-1}}\n'+ 'if(b==2&&(3=='+b+'||5=='+b+')){tmp=event.screenX-oW;top.fW=top.sW+tmp}\n'+ 'if(b==2){setTimeout("top.rT(top.fW,top.fH);top.mT(top.px,top.py);",10)}\n'+ 'if(b==1){ofx=event.x;oH=event.screenY;oW=event.screenX;b=2}\n'+ '}}</script></head>\n'+ '<body bgcolor='+wBG+'>\n'+ '<img style="cursor:'+s+'-resize" id=bMOV style="position:absolute;left:-50px;top:-50px" onmousemove="wMOV()" onmousedown="b=1;wMOV()" onmouseup="b=0;wMOV()" border=0 src="" width=3000 height=2000>\n'+ '</body>\n'+ '</html>' return tmp.replace(/\//g,"\\\/").replace(/\"/g,"\\\"").replace(/\n/g,"\\n") } var cRESd=cRES(1,'s'),cRESl=cRES(2,'w'),cRESr=cRES(3,'e'),cRESbl=cRES(4,'sw'),cRESbr=cRES(5,'se') var cFRM='<HTML><HEAD><TITLE>'+tW+'</TITLE>\n'+ '<script>\n'+ 'ok=0;mod=0;sH=fH='+(H)+';sW=fW='+(W)+';px='+(X)+';py='+(Y)+'\n'+ 'bCOL=function(c1,c2){fT.document.bgColor=n0.document.bgColor=n1.document.bgColor=n2.document.bgColor=n3.document.bgColor=n4.document.bgColor=c1;bL.document.bgColor=bT.document.bgColor=bR.document.bgColor=bB.document.bgColor=c2}\n'+ 'mTIT=function(){if(frames.length>8){fT.document.write("'+cTIT+'");fT.document.close();if ('+res+'){n2.document.write("'+cRESd+'");n2.document.close();n1.document.write("'+cRESr+'");n1.document.close();n0.document.write("'+cRESl+'");n0.document.close();n3.document.write("'+cRESbl+'");n3.document.close();n4.document.write("'+cRESbr+'");n4.document.close()};top.bCOL("'+wBG+'","'+wB+'")}else{setTimeout("mTIT()",20)}}\n'+ 'mT=function(x,y){top.window.moveTo(x,y)}\n'+ 'rT=function(w,h){top.window.resizeTo(w,h)}\n'+ 'top.rT(fW,fH);top.mT(px,py)\n'+ 'mTIT()\n'+ '</script></HEAD>\n'+ '<frameset onselectstart="return false" onload="top.ok=1" onfocus="if (top.ok&&fT&&fT.wMAX) fT.wMAX(top.mod)" border=0 framespacing=0 frameborder=0 rows="'+tsz+',100%,'+brd+'">\n'+ ' <frame name=fT src="about:blank" scrolling=no noresize>\n'+ ' <frameset border=0 framespacing=0 frameborder=0 cols="'+brd+',1,100%,1,'+brd+'">\n'+ ' <frame name=n0 src="about:blank" scrolling=no noresize>\n'+ ' <frame name=bL src="about:blank" scrolling=no noresize>\n'+ ' <frameset border=0 framespacing=0 frameborder=0 rows="1,100%,1">\n'+ ' <frame name=bT src="about:blank" scrolling=no noresize>\n'+ ' <frame name=main src="'+u+'" '+fSO+'>\n'+ ' <frame name=bB src="about:blank" scrolling=no noresize>\n'+ ' </frameset>\n'+ ' <frame name=bR src="about:blank" scrolling=no noresize>\n'+ ' <frame name=n1 src="about:blank" scrolling=no noresize>\n'+ ' </frameset>\n'+ ' <frameset border=0 framespacing=0 frameborder=0 cols="'+brd+',100%,'+brd+'">\n'+ ' <frame name=n3 src="about:blank" scrolling=no noresize>\n'+ ' <frame name=n2 src="about:blank" scrolling=no noresize>\n'+ ' <frame name=n4 src="about:blank" scrolling=no noresize>\n'+ ' </frameset>\n'+ '</frameset>\n'+ '</HTML>' var CWIN=window.open("",n,"fullscreen=1"+s) CWIN.moveTo(5000,0) CWIN.ft=true CWIN.document.write(cFRM) CWIN.document.close() } else { var CWIN=window.open(u,n,wNS+s,true) CWIN.moveTo(X,Y) } CWIN.focus() CWIN.setURL=function(u) { if (this && !this.closed) { if (this.frames.main) this.frames.main.location.href=u; else this.location.href=u } } CWIN.closeIT=function() { if (this && !this.closed) this.close() } return CWIN } [/code] anybody have any idea what I am doing wrong because I am very lost. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Java Script. No activity
Top