| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: May 2004
Posts: 7
![]() | Help, how is this done? A navigation Question Ok, Here is the link. CLICK ME Now, this is what I need looked at. The whole page is written in a table, yeah ok, now when you use the navigation on the left the content page changes, but the navigation stays there. Did they place that navigation "HTML" on every page? I dont want to use I frames to create this effect they suck, yet I dont want to have to copy and paste the entier "Navigation Table HTML" on every page. This confused me because the navigation scrolls with the rest of the page so its not spereate. I hope there is enough info here to allow some help. Thanks in advance VA |
| |
| | #2 (permalink) |
| Senior Member Join Date: Jul 2004 Location: Florida
Posts: 1,496
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Yes, they have included that code on ever page. The reason it seems to stay there is because when you click on the next page that code/images are already in your cache and appear to stay there because they do not need to be re-downloaded. If you are not wanting to copy the same code on each page just use PHP and do something using the include file where you can have one file i.e.) nav.inc.php and include that file on each page where the navigation goes. |
| |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: May 2004
Posts: 7
![]() | Ok, I have a php inclued on a test page, but i am getting an error message when i view it. http://liquiddeceptions.com/test.php |
| |
| | #4 (permalink) | ||||
| Senior Member Join Date: Sep 2003 Location: Charlottesville Virginia
Posts: 2,317
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Code: <? include('filename.ext') ; > | ||||
| |
| | #5 (permalink) |
| Senior Member Join Date: Jun 2003 Location: Markham, Ontario, Canada
Posts: 3,370
![]() ![]() ![]() ![]() | Yup, that is the way to go.
__________________ www.canonlens.ws Updated daily - Get Canon lens reviews and good deals on new/used Canon lens from CanonLens.ws![/SIZE] |
| |
| | #7 (permalink) |
| Senior Member Join Date: Dec 2003 Location: Chicago
Posts: 1,578
![]() ![]() | Lol, I remember something like 2-3 years ago when I first got into designing web pages, I said to myself "there has got to be a way to include one file into another file so you dont have to go and change it on every page," and then someone showed me something amazing - server side includes! So I know exactly where this guy is coming from...
__________________ |
| |
| | #8 (permalink) |
| NamePros Regular Join Date: Apr 2004
Posts: 322
![]() ![]() ![]() | With html page, you can use javascript. Code: document.writeln('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="125" bgcolor="#FF0000">');
document.writeln(' <tr>');
document.writeln(' <td height="0" bgcolor="#008000">');
document.writeln(' <p align="center"><img border="0" src="_borders/genericfest-150h.jpg" width="107" height="150"></td>');
document.writeln(' </tr>');
document.writeln('</table>'); ????: NamePros.com http://www.namepros.com/web-design-discussion/51764-help-how-is-done-navigation-question.html then include it on every pages like Code: <script language="javascript" src="nav.js"></script> |
| |
| | #9 (permalink) |
| Senior Member Join Date: Jun 2003 Location: Markham, Ontario, Canada
Posts: 3,370
![]() ![]() ![]() ![]() | And I would stick with either FULTREE's idea, or php. Try to stay away from ASP (In my own opinion) because you do not see such a big support (in terms of web hosting) for them.
__________________ www.canonlens.ws Updated daily - Get Canon lens reviews and good deals on new/used Canon lens from CanonLens.ws![/SIZE] |
| |