Jump to content

Java Frames Redirection Using for PHP file. HELPPPP


Ruben Lopez

Recommended Posts

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 :

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


IN THE FRAMESET

[code]<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>[/code]

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.
[code][/code]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.