Posted by Jerry Stuckle on 05/25/05 06:57
TJ Bright wrote:
> 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
Don't use frames...
http://www.html-faq.com/htmlframes/?FramesAreEvil
http://karlcore.com/articles/article.php?id=2
http://www.discountdomainsuk.com/articles_archived/9/688/1
http://www.search-marketing.info/traps/frames.htm
for starters...
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|