Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-23-2013, 12:59 AM   PM User | #1
aleo1203
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
aleo1203 is an unknown quantity at this point
Looking for a way to import a block of code?

I have a group of navigational links at the bottom of all my web pages and whenever I create a new page I have to go through all pages and add the new page to the list of links. Is there a way to have one file or block of code to edit to which all the pages will refer to?
aleo1203 is offline   Reply With Quote
Old 01-23-2013, 01:40 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello aleo1203,
You're looking for a server side include of some sort. I like this example - http://www.tizag.com/phpT/include.php
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 01-23-2013, 01:58 AM   PM User | #3
edda0199
New to the CF scene

 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
edda0199 is an unknown quantity at this point
Quote:
Originally Posted by Excavator View Post
Hello aleo1203,
You're looking for a server side include of some sort. I like this example - http://www.tizag.com/phpT/include.php
Maybe I need it, too. Thank you very much!!

edda0199 is offline   Reply With Quote
Old 01-23-2013, 12:44 PM   PM User | #4
aleo1203
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
aleo1203 is an unknown quantity at this point
Thank you very much!
aleo1203 is offline   Reply With Quote
Old 01-23-2013, 02:13 PM   PM User | #5
jerry62704
Senior Coder

 
jerry62704's Avatar
 
Join Date: Oct 2007
Location: Springfield, IL
Posts: 1,046
Thanks: 9
Thanked 81 Times in 81 Posts
jerry62704 is on a distinguished road
Edda and Aleo, when someone answers your question and you feel it is an appropriate answer you might want to click the green "Thank User for this post" button. I can't speak for everyone, but a lot of us do appreciate the "atta boy" <g>
__________________
.
.
...and gladly would he learn and gladly teach

Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls
jerry62704 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:15 PM.


Advertisement
Log in to turn off these ads.