Results 1 to 2 of 2

Thread: Breaking php out of a frame

  1. #1
    internet Guest

    Breaking php out of a frame

    The below text is in the head of my website and under the *'s is the body content. I want the body text links to break out of a frame how would I do this ?

    <!--
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }onema

    function flvFLSS4(){//v1.1
    var v1=arguments,v2=v1[0],v3=MM_findObj(v2);if (v3&&v3.LSS6!=null){clearTimeout(v3.LSS6);}}

    function flvFLSS3(){//v1.1
    var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5='',v6;if (!v3.LSS3.complete){v6="flvFLSS3('"+v2+"',"+v4+")";setTimeout(v6,50);return;}if (v3.LSS2[v4][1]!=""){v5+='<a href="'+v3.LSS2[v4][1]+'"';if (v3.LSS1!=""){v5+=' target="'+v3.LSS1+'"';}v5+='>';}v5+='<img src="'+v3.LSS3.src+'" border="0" alt="">';if (v3.LSS2[v4][1]!=""){v5+='</a>';}if (v3.LSS2[v4][2]!=""){v5+='<br>'+unescape(v3.LSS2[v4][2]);}if (document.layers){v3.document.open();v3.document.write(v5);v3.document.close();}else {v3.innerHTML=v5;}}

    function flvFLSS2(){//v1.1
    var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5=v1[2],v6,v7,v8;if (v3&&v3.LSS2){flvFLSS4(v2);if (v4==1){v6=v3.LSS7+1;if (v6>v3.LSS2.length-1){v6=0;if (v3.LSS8==0){return;}}v8=v3.LSS2[v6][0];}else {v6=v3.LSS7-1;if (v6<0){v6=v3.LSS2.length-1;if (v3.LSS8==0){return;}}v8=v3.LSS2[v6][0];}v3.LSS7=v6;if (!document.layers&&!v3.LSS5){v3.LSS3=new Image();}v3.LSS3.src=v8;flvFLSS3(v2,v6);if (v5==1){v7="flvFLSS2('"+v2+"',"+v4+","+v5+")";v3.LSS6=setTimeout(v7,v3.LSS4);}}}

    function flvFLSS1(){//v1.1
    // Copyright 2003-2004, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
    var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4,v5;if (v3){v3.LSS4=v1[1];v5=v1[2];v3.LSS8=v1[3];v3.LSS1=v1[4];v3.LSS2=new Array();for (var v6=5;v6<v1.length;v6+=3){v3.LSS2[v3.LSS2.length]=new Array(v1[v6],v1[v6+1],unescape(v1[v6+2]));}v3.LSS7=0;v3.LSS5=(navigator.userAgent.toLowerCase().indexOf("netscape6")!=-1);v3.LSS3=new Image();v3.LSS3.src=v1[5];flvFLSS3(v2,0);if (v5){v4="flvFLSS2('"+v2+"',1,"+v5+")";v3.LSS6=setTimeout(v4,v3.LSS4);}}}

    function flvFLSS5(){//v1.1
    var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5;if (v3&&v3.LSS2){flvFLSS4(v2);if (v4>v3.LSS2.length-1){v4=v3.LSS2.length-1}else if (v4<0){v4=0;}v5=v3.LSS2[v4][0];v3.LSS7=v4;if (!document.layers&&!v3.LSS5){v3.LSS3=new Image();}v3.LSS3.src=v5;flvFLSS3(v2,v4);}}
    //-->


    **************

    <body onLoad="flvFLSS1('flevLSS',3500,1,1,'','Pictures/pregnantteenager.JPG','http://www.google.co.uk/P','Explanation for rise in teenage pregnancy ','Pictures/b.jpg','','No link','Pictures/apple.jpg','http://www.google.com/','Link')">

  2. #2
    Join Date
    Jun 2009
    Location
    Pa
    Posts
    40
    Put a link on the site saying break out of frames and direct it to your url. You could also use a meta refresh.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •