Reply to Re: Help please redirecting frame pages using php

Your name:

Reply:


Posted by Sandman on 06/27/05 17:25

In article <d9oqbv01oi3@drn.newsguy.com>, Dynamo <Dynamo_member@newsguy.com>
wrote:

> Hi
>
> My site uses frames and some of the frame pages are ranked higher in search
> engine rankings than the main page. When somebody clicks on the link it takes
> them to the frame page and they don't see my page as it should be viewed plus
> it
> displays a javascript error.
>
> I need a way using php so that when the link is clicked on in either yahoo or
> lycos that it loads the main frame html page (not the subframe html) and that
> the subframe html page is loaded into the correct frame within the mainframe
> html page. Is this possible and how?
>
> As ever any help greatly appreciated.

1. Stop using frames. :)

2. Your problem can't be solved with PHP since each frame loads an individual
PHP script (or html document) that are unaware whether they are inside a frame
or not.

The only way is to use JavaScript, that is executed by the browser itself,
which is the only application that knows the constellation of frames.

--
Sandman[.net]

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация