Reply to PHP and framing a site.

Your name:

Reply:


Posted by TJ Bright on 05/24/05 11:54

Hey all,

Been working on a site and it's about 98% done now :) I'm having an
issue where the site is framed with a about three <frameset>'s. Because
of how I wanted it to scroll and where the main content was.

Now my issue is this my navigation is in a frame of itself. I wanted
to use like this:

if ($page == "Home") {
echo "<img src=\"../images/nav/ocalagrooming_03-over.png\"
alt=\"Home\" width=\"148\" height=\"39\" align="top\" border=\"0\">";
} else {
echo "<a href=\"../index.php\" target=\"_top\"
onmouseover=\"imgOn('img1'); window.status='Groomed to Perfection';
return true\" onmouseout=\"imgOff('img1'); window.status=''; return
true\"><img
src=\"../images/nav/ocalagrooming_03.png\" alt=\"Home\" width=\"148\"
height=\"39\" align=\"top\" border=\"0\" name=\"img1\"><br /></a>";
}

Now on the page Home at the top it defines $page, problem is PHP
doesn't see this because it's in separate frames! Any help on how to
correct this or a right way?
TIA
--
:: TJ::

[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

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