Any web desing guys here? Need frame jammer
Moderator: Moderators
-
- Posts: 60
- Joined: Mon Apr 15, 2002 2:51 pm
Re: Any web desing guys here? Need frame jammer
Oooohh...good question. With javascript there really isn't anyway to do that. Not directly anyway. Gryph's php solution is probably the best one for something like this. Or you could abandon frames and move to using includes on every page in their place. Personally thats the way I would go since I'm not a big fan of frames at all (either the look or the coding challenges they provide).<br><br><br>Here's a little more information on Server Side Includes:<br> <!--EZCODE AUTOLINK START--><a href="http://www.htmlhelp.com/faq/html/design ... <!--EZCODE AUTOLINK END--> <br><br>You can also use includes in most server side scripting languages, like php. <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END--> The LoS website uses them liberally for our sidemenu.<br> <p><!--EZCODE HR START--><hr /><!--EZCODE HR END--><br>Real Geeks don't make there own backups. They accept it as karma and move on. </p><i></i>
-
- Inmate
- Posts: 359
- Joined: Thu Nov 08, 2001 10:23 am
Re: Any web desing guys here? Need frame jammer
I agree, I would ditch the frames and just inlcude the menu on each page. In the simplest way, you can easily do that by changing the files to .shtml and where you want the menu to show put this <!--EZCODE CODE START--><pre> <!--#include virtual="/menu.shtml"--</pre><!--EZCODE CODE END--><br>There is an end > there it just didn't want to print for some reason. <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/cam/index.php?zo ... <!--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://www.thzclan.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.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>
- XMEN Gambit
- Site Admin
- Posts: 4122
- Joined: Thu Nov 18, 1999 12:00 am
Re: Any web desing guys here? Need frame jammer
Yeah, if you really don't want funny stuff in the address bar, go with Gryph's PHP. <p></p><i></i>
Re: Any web desing guys here? Need frame jammer
What would be better, php or include with shtml? I'm going to have to learn one or the other apparently. <!--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></i>
sys64738
-
- Inmate
- Posts: 359
- Joined: Thu Nov 08, 2001 10:23 am
Re: Any web desing guys here? Need frame jammer
I would go with php it will become more versitile as you learn more.<br><!--EZCODE CODE START--><pre> <?php include("menu.php") ; ?></pre><!--EZCODE CODE END--><br><br>Just make a page as you normally would, then take out the menu code and place it in another file called menu.php and then use the line above to include it back into your page(s) <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/cam/index.php?zo ... <!--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://www.thzclan.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.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>Edited by: <A HREF=http://pub141.ezboard.com/bxmenclan.sho ... n</A> <IMG HEIGHT=10 WIDTH=10 SRC="http://www.thzclan.com/images/thz.gif" BORDER=0> at: 2/6/04 7:57 pm<br></i>
Re: Any web desing guys here? Need frame jammer
I'll give it a try. Thanks!<br><br>Hmmm... Why don't I see more php pages on the net? <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
-
- Inmate
- Posts: 359
- Joined: Thu Nov 08, 2001 10:23 am
Re: Any web desing guys here? Need frame jammer
Hmm, dunno there is a lot hehe. TribalWar is fully php, as well as T-U, T3o, THZ, BEML, Tribes Depot, all php.<br><br>php and mysql database are free so you should see a lot of sites with it. <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/cam/index.php?zo ... <!--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://www.thzclan.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.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>
Re: Any web desing guys here? Need frame jammer
Ok, I can't get it to work right. Am I supposed to be able to simply paste<br><br><?php include("menu.php");?><br><br>anywhere I want the menu to show up? It doesn't show up. <!--EZCODE EMOTICON START :\ --><img src=http://www.ezboard.com/images/emoticons/ohwell.gif ALT=":\"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
-
- Inmate
- Posts: 359
- Joined: Thu Nov 08, 2001 10:23 am
Re: Any web desing guys here? Need frame jammer
Here is an example.<br><!--EZCODE AUTOLINK START--><a href="http://www.gryphonllc.com/temp/phptut.z ... <!--EZCODE AUTOLINK END--><br><br>old.htm is the original page design before you cut out the menu<br><br>new.php is the page you load in the browser<br>menu.php will be included into new.php <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/cam/index.php?zo ... <!--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://www.thzclan.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.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>
Re: Any web desing guys here? Need frame jammer
I just spent two hours trying to figure out why it wouldn't work. I tried your pages and guess what? STILL didn't work. Then I knew something had to be fishy. Uploaded it to the server instead of previewing in IE and voila... I'm a moron! <!--EZCODE EMOTICON START :D --><img src=http://www.ezboard.com/images/emoticons/happy.gif ALT=":D"><!--EZCODE EMOTICON END--> It was working all along. Guess you can't preview it locally? Strange. <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
Re: Any web desing guys here? Need frame jammer
Ok, if anyone isn't sick of me yet, why won't these link tags work in my style sheet? If I use "a:link" instead of "a.stylename:" then it works, but I can only use one set of link styles for the whole site that way.<br><br>.main {background-color: #000000; background-image: url(img/bg.gif); font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #ffffff}<br>H1 {font-size: 28pt; font-family: Times New Roman, Times, serif; color: #ffffff; font-style: italic}<br>H2 {font-size: 22pt; font-family: Times New Roman, Times, serif; color: #ffffff; font-style: italic}<br>H3 {font-size: 18pt; font-family: Times New Roman, Times, serif; color: #ffffff; font-style: italic}<br>a.main:link { text-decoration: none; color: #ffffff}<br>a.main:visited { text-decoration: none; color: #ffffff}<br>a.main:active { text-decoration: none; color: #ffffff}<br>a.main:hover { text-decoration: none; color: #ffffff}<br><br>.small {font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #ffffff}<br>.menu {font-family: Verdana; font-size: 12px; color: #ffffff; font-style: bold}<br>a.menu:link { text-decoration: none; color: #ffffff}<br>a.menu:visited { text-decoration: none; color: #ffffff; font-style: bold}<br>a.menu:active { text-decoration: none; color: #ffffff; font-style: bold}<br>a.menu:hover { text-decoration: none; color: #ffffff; font-style: bold} <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
-
- Posts: 60
- Joined: Mon Apr 15, 2002 2:51 pm
Re: Any web desing guys here? Need frame jammer
The LoS Site is all php also <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END--> Great technology to learn, very useful.<br><br>PHP needs a server to make it all work, thats why you can't just look at it in IE like you can an html page..you'd need to install a webserver and php and browse to it as if it were in a internet enviornment.<br><br> <p><!--EZCODE HR START--><hr /><!--EZCODE HR END--><br>Real Geeks don't make there own backups. They accept it as karma and move on. </p><i></i>
Re: Any web desing guys here? Need frame jammer
Ok, it seems I can't use relative links with the php menu. Any time I click a link from the menu while viewing a page within a folder, the link is incorrect. <!--EZCODE EMOTICON START :\ --><img src=http://www.ezboard.com/images/emoticons/ohwell.gif ALT=":\"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738
-
- Inmate
- Posts: 359
- Joined: Thu Nov 08, 2001 10:23 am
Re: Any web desing guys here? Need frame jammer
All the html works the same as it does normally, php won't change the way the links work. php just generates serverside a final page to output to the window. Do you have an example of the links online? If you start the link <!--EZCODE BOLD START--><strong>a href="/page.php"</strong><!--EZCODE BOLD END--> it will link to <!--EZCODE BOLD START--><strong>www.domain.com/page.php</strong><!--EZCODE BOLD END--> no matter how deep you are in sub folders. if you are in folder, <!--EZCODE BOLD START--><strong>www.domain.com/gallery/florida</strong><!--EZCODE BOLD END--> and you want to link to page.php in the same folder use <!--EZCODE BOLD START--><strong>a href="page.php"</strong><!--EZCODE BOLD END--> or <!--EZCODE BOLD START--><strong>a href="/gallery/florida/page.php"</strong><!--EZCODE BOLD END--><br><br>You could run php on your home computer if you wanted. It is a little leap from not knowing php at all though. I have never ran it on my computer, I usally upload and test, upload and test.<br><br>if you want just the links for your menu to be different than the rest of the site, use <!--EZCODE BOLD START--><strong>a href="page.php" class="menu"</strong><!--EZCODE BOLD END--> <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/cam/index.php?zo ... <!--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://www.thzclan.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.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>Edited by: <A HREF=http://pub141.ezboard.com/bxmenclan.sho ... n</A> <IMG HEIGHT=10 WIDTH=10 SRC="http://www.thzclan.com/images/thz.gif" BORDER=0> at: 2/7/04 11:24 pm<br></i>
Re: Any web desing guys here? Need frame jammer
Here is the site I'm putting together so far...<br><br><!--EZCODE AUTOLINK START--><a href="http://www.twosims.com/test">www.twosim ... <!--EZCODE AUTOLINK END--><br><br>Go to one of the other pages and then try to use the links. The relative path changes. Example:<br><br>"News" button links to /news. Go to the news page, then click "News" and it links to /news/news. Hmmm... <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>
sys64738