NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Help, how is this done? A navigation Question

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests 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)



Closed Thread
 
LinkBack Thread Tools
Old 10-16-2004, 05:42 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: May 2004
Posts: 7
vector_anomaly is an unknown quantity at this point
 



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
vector_anomaly is offline  
Old 10-16-2004, 06:02 PM   #2 (permalink)
jdk
Senior Member
 
jdk's Avatar
Join Date: Jul 2004
Location: Florida
Posts: 1,496
jdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond repute
 



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.
jdk is offline  
Old 10-17-2004, 08:56 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: May 2004
Posts: 7
vector_anomaly is an unknown quantity at this point
 



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
vector_anomaly is offline  
Old 10-17-2004, 11:47 PM   #4 (permalink)
Senior Member
 
Brian's Avatar
Join Date: Sep 2003
Location: Charlottesville Virginia
Posts: 2,317
Brian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to beholdBrian is a splendid one to behold
 




Originally Posted by vector_anomaly
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
can you show us the code you are using? because if you are just using an include simply use this if this is all you are doing

Code:
<? include('filename.ext') ; >
Brian is offline  
Old 10-19-2004, 10:21 AM   #5 (permalink)
Senior Member
Join Date: Jun 2003
Location: Markham, Ontario, Canada
Posts: 3,370
jj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the rough
 



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]
jj2ii3344 is offline  
Old 10-19-2004, 02:50 PM   #6 (permalink)
NamePros Regular
Join Date: Oct 2004
Location: Toronto, Canada
Posts: 755
Jokez Guy is just really niceJokez Guy is just really niceJokez Guy is just really niceJokez Guy is just really nice
 




Originally Posted by jj2ii3344
Yup, that is the way to go.
Yep iagree with him
Jokez Guy is offline  
Old 10-19-2004, 08:47 PM   #7 (permalink)
Senior Member
Join Date: Dec 2003
Location: Chicago
Posts: 1,578
The Equivocate has a spectacular aura aboutThe Equivocate has a spectacular aura about
 



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...
__________________
The Equivocate is offline  
Old 10-19-2004, 10:18 PM   #8 (permalink)
NamePros Regular
Join Date: Apr 2004
Posts: 322
9495 is a jewel in the rough9495 is a jewel in the rough9495 is a jewel in the rough
 



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>');
Save it as nav.js
????: 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>
I hope it helps~
9495 is offline  
Old 10-20-2004, 05:02 AM   #9 (permalink)
Senior Member
Join Date: Jun 2003
Location: Markham, Ontario, Canada
Posts: 3,370
jj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the rough
 



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]
jj2ii3344 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:52 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger