Jump to content


Photo

Java Frames Redirection Using for PHP file. HELPPPP


  • Please log in to reply
No replies to this topic

#1 Ruben Lopez

Ruben Lopez
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 11 April 2006 - 06:44 AM

I Really need help .. I’M willing to offer a compensation

I have expend a few hundred dollars in scripts like php vbulletin , and others I link them all using 3 frames header middle and bottom . really organize design and code I have manage to fix redirection for all the html files so search engines wont load my page with out the header but I cant manage to do the same with the php files.
WORKS PERFECT BUT I CANT GET IT TO WORK WITH PHP FILES … ANY HELP PLEASEEEEE…

This is the code I used for the html :

In almost all htm files :

<script type="text/javascript" language="JavaScript"><!--
if (top == self || (parent.frames[1].name != "middle"))
    top.location.href = 'home.htm?' + location.href;
//--></script>


IN THE FRAMESET

<script type="text/javascript" language="JavaScript"><!--

if (top != self)
    top.location.href = location.href;
else {

document.write('<frameset framespacing="0" border="0" frameborder="0" rows="91,86%,18"">');
    document.write('<frame name="top"  src="top.html" scrolling="no" noresize target="middle" >');
    document.write('<frame name= "middle"  src="' + (location.search ? unescape(location.search.substring(1)):'info.html') + '"  scrolling="auto" noresize target="middle" >');
    document.write('<frame name="bottom" src="bo.htm"  scrolling="no" noresize marginwidth="0" marginheight="2" target="middle" >');
    document.write('<\/frameset>');
    
    }
//--></script>

WORKS PERFECT BUT I CANT GET IT TO WORK WITH PHP FILES … ANY HELP PLEASEEEEE…

ASO WANTED TO KNOE IF IS WORTH IT TO GO WITH FRAMES OR I SHOULD REMOVE THEM.. I HAVE FIX ALL SEARCH ENGINE.. EVERYTHING IS WOKING PERFECT. PL GIME AND OPINION OR OPTIONS.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users