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 Question regarding basic web design

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

Advanced Search
10 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 11-14-2003, 05:20 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Oct 2003
Posts: 8
sopiaz57 is an unknown quantity at this point
 



Question regarding basic web design


Ok, here it goes: I know there has to be a better way to go about this: I have a website with a simple table on top that spans 100 percent. in that small 1 row by 1 column table I have 5 links. Underneath this table is where I will store all my content.

I want to have one file which contains the header (navigation bar) so that when i add a link to my site i dont have to edit 5 html pages , each with thier own nav bar.

What does everyone do about this problem?
sopiaz57 is offline  
Old 11-14-2003, 05:33 AM   #2 (permalink)
NamePros Member
Join Date: Nov 2003
Posts: 44
Pablo is an unknown quantity at this point
 



make an empty row at the top of the table and add this to it.

PHP Code:
<?php include("../header_page.php"); ?>
then all you need to do is edit the header_page.php when you want to change somehting
__________________
Click Link for Java IRC

PHP-Live IRC: pgardner.net:6667, Channel: #php.
Pablo is offline  
Old 11-14-2003, 05:37 AM THREAD STARTER               #3 (permalink)
New Member
Join Date: Oct 2003
Posts: 8
sopiaz57 is an unknown quantity at this point
 



Ok great, i knew php was one solution but didnt know if there was any other way, besides frames.

thanks!
sopiaz57 is offline  
Old 01-07-2004, 08:13 AM   #4 (permalink)
New Member
Join Date: Jan 2004
Location: Alabama
Posts: 12
Peachy is an unknown quantity at this point
 



Whatever method you use to set up your navigation, please do not have an active link to "Home" on the "Home" page. Each of the 5 bars whould exclude the link to the page you are currently
seeing.
Peachy is offline  
Old 01-07-2004, 04:55 PM   #5 (permalink)
Senior Member
 
Kodeking's Avatar
Join Date: Jun 2003
Location: Naperville Illinois
Posts: 1,786
Kodeking is just really niceKodeking is just really niceKodeking is just really niceKodeking is just really nice
 



Quote:
Originally posted by Peachy
????: NamePros.com http://www.namepros.com/web-design-discussion/15580-question-regarding-basic-web-design.html
Whatever method you use to set up your navigation, please do not have an active link to "Home" on the "Home" page. Each of the 5 bars whould exclude the link to the page you are currently
seeing.
i would have to disagree with that. I think the menu should stay the same on every page for consistancy.

Also, make sure you set php to execute html and htm extensions. It is not usually on by default
__________________
Quote:
Clan-Forums.com >> $30 BoardingForum.com >> $100
TalkWebHosting.com >> $200 AvoidChapter13.com >> $100
Send PM to make lesser offers on the above names.
Kodeking is offline  
Old 01-08-2004, 07:21 AM   #6 (permalink)
New Member
Join Date: Jan 2004
Location: Alabama
Posts: 12
Peachy is an unknown quantity at this point
 



If you want to keep the links the same on each page for the sake of consistency, then I think the link on the page being viewed should be a different color or style so the visitor knows which page he is on. No one likes to click a link and find he is already on that page.

There are still a lot of unsophisticated users and older people and some with disabilities who have real usability problems. I like to make things as easy for all as possible.
Peachy is offline  
Old 01-08-2004, 08:03 AM   #7 (permalink)
NamePros Regular
 
nicholas's Avatar
Join Date: Dec 2003
Location: The Beach
Posts: 584
nicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of lightnicholas is a glorious beacon of light
 



Quote:
Originally posted by sopiaz57
i knew php was one solution but didnt know if there was any other way, besides frames.
PHP would by far be the best method to use. But to your particular question, there are also other ways like SSI (server side includes) and such.
__________________
Newsback.com -- Commentary and backstories of the news
-----------------------------------------------
nicholas is offline  
Old 01-08-2004, 01:42 PM   #8 (permalink)
RyanPrice.ca - Developer
Join Date: Dec 2003
Posts: 1,328
Jeanco is a jewel in the roughJeanco is a jewel in the roughJeanco is a jewel in the rough
 



you can also shtml to do this, but I'd go with php. Only thing is you have to rename your files to .php to create an .htaccess file to tell the server to parse html and htm files like a php file.
__________________
Ryan Price - Webmaster
www.HostDurham.com - For Hosting | www.jeanco.ca - For Webdesign
Jeanco is offline  
Old 01-19-2004, 12:19 PM   #9 (permalink)
New Member
Join Date: Jan 2004
Location: Edinburgh
Posts: 3
caledoniaman is an unknown quantity at this point
 



If you are using Dreamweaver, create a Dreamweaver template. If not, any of the options above will do the trick although I would agree that php is the best of these.
caledoniaman is offline  
Old 02-16-2004, 07:21 AM   #10 (permalink)
Senior Member
 
dotcommakers's Avatar
Join Date: Oct 2003
Location: world wide web
Posts: 2,062
dotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud ofdotcommakers has much to be proud of
 




humm there are two solution for it

[1] php include tag
[2] frames

i personally dont favor use of frames in site

dotcommakers is offline  
Old 02-20-2004, 01:44 AM   #11 (permalink)
NamePros Expert
 
Anthony's Avatar
Join Date: Dec 2003
Location: NYC
Posts: 9,132
Anthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant futureAnthony has a brilliant future
 

Member of the Month
October 2004

Don't use frames -- using them is just like asking for problems!
Anthony is offline  
Old 02-20-2004, 12:18 PM   #12 (permalink)
NamePros Member
Join Date: Feb 2004
Location: Bellevue, Washington
Posts: 33
Karen Harwood is an unknown quantity at this point
 



Your best bet for all your web design needs is to use Macromedia Dreamweaver MX. This handy program takes all the redundent web editing work out of all you daily web designing needs. I would never consider creating a website without it!
__________________
Free Professional Website Evaluations and Make-Overs.
Plus Affordable Redesigns and Custom Templates

www.redesigningtheweb.com
Karen Harwood is offline  
Old 02-25-2004, 08:41 AM   #13 (permalink)
New Member
Join Date: Feb 2004
Location: Bradford, Pa U.S.A.
Posts: 3
taco is an unknown quantity at this point
 



It depends what you are doing. I never use dreamweaver unless i am doing php or something of that sort. If you are just using html break out the handy dandy notepad that is really all you need. Photoshop and notepad should be more than enough to do a complete html webpage
__________________
Damn im smooth
taco 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:36 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