Any web desing guys here? Need frame jammer

Come in! Have a margarita or root beer? How about some fresh trout? :)

Moderator: Moderators

THZGryphon
Inmate
Posts: 359
Joined: Thu Nov 08, 2001 10:23 am

Re: Any web desing guys here? Need frame jammer

Post by THZGryphon »

Well the way you are using them you will need to make the links a href="/test/news" and so on. Without the first slash it is trying to work in the current directory and since you are changind directories every time you are changing pages you you need to give the path or move with a href="../news" <p><!--EZCODE LINK START--><a href="http://www.thzclan.com/gryphav.gif/sigs.php"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/gryphav.gif" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--> <!--EZCODE LINK START--><a href="http://www.thzclan.com/index.php?p=4"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/cam/gryphon/thb_ccam.jpg" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--><!--EZCODE FONT START--><span style="font-size:xx-small;"><br><!--EZCODE LINK START--><a href="http://site.gryphonllc.com/tcdb">Tribes Clan DB</a><!--EZCODE LINK END--> - List your Tribes1/2 Clan, Guild, Fansite, League, or Script site<br><!--EZCODE LINK START--><a href="http://www.thzclan.com/snooknet">Gryphon, LLC</a><!--EZCODE LINK END--> - My WebDev Adventures<br><!--EZCODE LINK START--><a href="http://www.planettribes.com">PlanetTribes</a><!--EZCODE LINK END--> - Adminstrator<br><!--EZCODE LINK START--><a href="http://www.planetside-universe.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Code Monkey<br><!--EZCODE LINK START--><a href="http://www.planetplanetside.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Newsie Extraordinaire<br><!--EZCODE LINK START--><a href="http://www.alliedtribalforces.com">Allied Tribal Forces</a><!--EZCODE LINK END--> - A PlanetSide alliance started by Tribesplayers</span><!--EZCODE FONT END--></p><i></i>
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Any web desing guys here? Need frame jammer

Post by Mavicator »

Hmmm... but I can't change the links in each page because I'm calling up "menu.php" with the include tag. Am I as daft as I feel right now? <!--EZCODE EMOTICON START :\ --><img src=http://www.ezboard.com/images/emoticons/ohwell.gif ALT=":\"><!--EZCODE EMOTICON END--> <br><br>PS... those hideous link colors are temporary. <!--EZCODE EMOTICON START :lol --><img src=http://www.ezboard.com/images/emoticons/laugh.gif ALT=":lol"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i>Edited by: <A HREF=http://pub141.ezboard.com/bxmenclan.sho ... r</A>&nbsp; <IMG HEIGHT=10 WIDTH=10 SRC="http://home.pacbell.net/stevesim/mindmunch.gif" BORDER=0> at: 2/8/04 1:37 am<br></i>
sys64738
THZGryphon
Inmate
Posts: 359
Joined: Thu Nov 08, 2001 10:23 am

Re: Any web desing guys here? Need frame jammer

Post by THZGryphon »

The pages are in their same directorys no matter what page you are on you are just using the wrong format in your relative links. You are in test directory so you need to make your menu according to that. Once you move your site to the main dir you will have to adjust your links. Your old site had all pages in one directory, now you are using multiple directories so you can't use the same link structure you did before.<br><br>No matter where you call menu.php from your links are going to be relative from the page you are currently viewing, not relative to where menu.php is. <p><!--EZCODE LINK START--><a href="http://www.thzclan.com/gryphav.gif/sigs.php"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/gryphav.gif" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--> <!--EZCODE LINK START--><a href="http://www.thzclan.com/index.php?p=4"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/cam/gryphon/thb_ccam.jpg" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--><!--EZCODE FONT START--><span style="font-size:xx-small;"><br><!--EZCODE LINK START--><a href="http://site.gryphonllc.com/tcdb">Tribes Clan DB</a><!--EZCODE LINK END--> - List your Tribes1/2 Clan, Guild, Fansite, League, or Script site<br><!--EZCODE LINK START--><a href="http://www.thzclan.com/snooknet">Gryphon, LLC</a><!--EZCODE LINK END--> - My WebDev Adventures<br><!--EZCODE LINK START--><a href="http://www.planettribes.com">PlanetTribes</a><!--EZCODE LINK END--> - Adminstrator<br><!--EZCODE LINK START--><a href="http://www.planetside-universe.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Code Monkey<br><!--EZCODE LINK START--><a href="http://www.planetplanetside.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Newsie Extraordinaire<br><!--EZCODE LINK START--><a href="http://www.alliedtribalforces.com">Allied Tribal Forces</a><!--EZCODE LINK END--> - A PlanetSide alliance started by Tribesplayers</span><!--EZCODE FONT END--></p><i></i>
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Any web desing guys here? Need frame jammer

Post by Mavicator »

That's the problem then. My old site actually did use a directory structure, but the menu was in a frame, so the links worked relative to the location of the menu, not the page being viewed in the main frame. Now, the menu is being displayed on the viewed page and the links are working from there. The finished site will have 150 pages, so putting them all in one directory and keeping track of things would be difficult. Sounds like this may not be the way to go. The only solution I see is making all links "http"rather than relative but I'd rather not do that. Darn. <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i>Edited by: <A HREF=http://pub141.ezboard.com/bxmenclan.sho ... r</A>&nbsp; <IMG HEIGHT=10 WIDTH=10 SRC="http://home.pacbell.net/stevesim/mindmunch.gif" BORDER=0> at: 2/8/04 12:06 pm<br></i>
sys64738
THZGryphon
Inmate
Posts: 359
Joined: Thu Nov 08, 2001 10:23 am

Re: Any web desing guys here? Need frame jammer

Post by THZGryphon »

You don't need to make them all http, no matter where the menu is, the pages you are trying to get to are always in the same place. The links are just being formated in the wrong way :p Also this has nothing to do with php and all to do with not using frames and needed a different link sturcture for that. This should be your menu.<br><!--EZCODE CODE START--><pre> <tr> <td nowrap><a href="/" target="_top">Home</a></td> </tr> <tr> <td nowrap><a href="/test/news">What's new?</a></td> </tr> <tr> <td nowrap><a href="/test/travles">Steve's Travels</a></td> </tr> <tr> <td nowrap><a href="/test/garden">Linda's Gardens</a></td> </tr> <tr> <td nowrap><a href="/test/gallery">Steve's Photo Gallery</a></td> </tr> <tr> <td nowrap><a href="/test/hobby">Hobbies</a></td> </tr> <tr> <td nowrap><a href="/test/pets">Pets</a></td> </tr> <tr> <td nowrap><a href="/test/holidays">Holidays</a></td> </tr> <tr> <td nowrap> <hr> </td> </tr> <tr> <td nowrap><a href="/test/uberfish" target="_blank">The Uberfish Saga</a></td> </tr> <tr> <td nowrap><a href="/test/links">Our Favorite Links</a></td> </tr> <tr> <td nowrap><a href="mailto:stevesim@pacbell.net">E-mail us<br> </a>(We love feedback!)</td> </tr> <tr> <td nowrap><a href="/test/info">Site Information</a></td> </tr></pre><!--EZCODE CODE END--><br><br>Then when you move the site down to the main dir you take out the /test's leaving a slash at the begining like "/news" <p><!--EZCODE LINK START--><a href="http://www.thzclan.com/gryphav.gif/sigs.php"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/gryphav.gif" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--> <!--EZCODE LINK START--><a href="http://www.thzclan.com/index.php?p=4"><!--EZCODE IMAGE START--><img src="http://www.thzclan.com/cam/gryphon/thb_ccam.jpg" style="border:0;"/><!--EZCODE IMAGE END--></a><!--EZCODE LINK END--><!--EZCODE FONT START--><span style="font-size:xx-small;"><br><!--EZCODE LINK START--><a href="http://site.gryphonllc.com/tcdb">Tribes Clan DB</a><!--EZCODE LINK END--> - List your Tribes1/2 Clan, Guild, Fansite, League, or Script site<br><!--EZCODE LINK START--><a href="http://www.thzclan.com/snooknet">Gryphon, LLC</a><!--EZCODE LINK END--> - My WebDev Adventures<br><!--EZCODE LINK START--><a href="http://www.planettribes.com">PlanetTribes</a><!--EZCODE LINK END--> - Adminstrator<br><!--EZCODE LINK START--><a href="http://www.planetside-universe.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Code Monkey<br><!--EZCODE LINK START--><a href="http://www.planetplanetside.com">PlanetSide Shuttle</a><!--EZCODE LINK END--> - Newsie Extraordinaire<br><!--EZCODE LINK START--><a href="http://www.alliedtribalforces.com">Allied Tribal Forces</a><!--EZCODE LINK END--> - A PlanetSide alliance started by Tribesplayers</span><!--EZCODE FONT END--></p><i></i>
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Any web desing guys here? Need frame jammer

Post by Mavicator »

Huh. I swear I tried that. Seems to work now though. Me = dummy <!--EZCODE EMOTICON START :( --><img src=http://www.ezboard.com/images/emoticons/frown.gif ALT=":("><!--EZCODE EMOTICON END--> Tahks a bunch. As soon as I figure out that linkstyle problem I think I'm in good shape. You rock! <!--EZCODE EMOTICON START :D --><img src=http://www.ezboard.com/images/emoticons/happy.gif ALT=":D"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
Post Reply