Web Design and Development Forums

Cascading changes throughout the website - without frames

This is a discussion on "Cascading changes throughout the website - without frames" within the HTML Forum section. This forum, and the thread "Cascading changes throughout the website - without frames are both part of the Design Your Website category.


Go Back   Webforumz.com > Design Your Website > HTML Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 17th, 2008, 12:42   #1 (permalink)
New Member
 
Join Date: Mar 2008
Location: Leicester
Age: 21
Posts: 7
Cascading changes throughout the website - without frames

Hi,

I am currently building a website and am wondering if there is a way that I can change a section on a website once - which then will automatically change on other the other pages.

The website that I am working on is:

http://www.cse.dmu.ac.uk/~p04283218/mainframe8/

As it can be seen - on the left-hand side of the page - there is the navigation section. If I was to add a new link called 'Gallery' (for example), is there an easier way to add it to all the pages - rather than going through them individually?

Your help is much appreciated.
pritmadlani is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 17th, 2008, 13:08   #2 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: Cascading changes throughout the website - without frames

There is a way to do it but it can be dangerous, and that is use the find and replace tool.

for example find the piece of code you want replaced in your case

HTML: Select all
<td><a href="index.html" target="_parent"><strong>Home</strong></a></td>
  </tr>
  <tr>
    <td><a href="courses.html" target="_parent"><strong>Courses</strong></a></td>
  </tr>
  <tr>
    <td><a href="latestinfo.html" target="_parent"><strong>Latest Information</strong></a></td>
  </tr>
  <tr>
    <td><strong><a href="link.html">Useful Links</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="aboutdmu.html">About DMU</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="aboutcse.html">About CSE</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="contactus.html">Contact Us</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="faqs.html">FAQ's</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="rss.html">RSS Feeds</a></strong></td>
  </tr>
  <tr>
    <td><strong><a href="wherearewe.html">Where are we?</a></strong></td>
  </tr>
</table>
then in the replace section add all the above code plus your new link and submit the request.(ensure it is set to "entire current local site")

I would strongly advise backing up your files before doing this as it is not reversible
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 17th, 2008, 15:05   #3 (permalink)
Moderator
 
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,157
Re: Cascading changes throughout the website - without frames

Quote:
Originally Posted by pritmadlani View Post
As it can be seen - on the left-hand side of the page - there is the navigation section. If I was to add a new link called 'Gallery' (for example), is there an easier way to add it to all the pages - rather than going through them individually?
You're going to love this. It feels daunting at first, but once you start you'll be hooked:

PHP includes.

Don't be scared off because PHP is a scripting language. You don't need to touch the gritty programming side of it unless you want to.

Okay, so you have to set up a local webserver if you want to develop locally (which most people do). But that's not too hard either: WAMP server.
MikeHopley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 17th, 2008, 15:19   #4 (permalink)
New Member
 
Join Date: Mar 2008
Location: Leicester
Age: 21
Posts: 7
Re: Cascading changes throughout the website - without frames

Thanks for that Mike - I will definitely have a look at that later on today.

Appreciate it.

pritmadlani is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 18th, 2008, 09:09   #5 (permalink)
Junior Member
 
Join Date: Apr 2008
Location: manchester
Age: 31
Posts: 39
Blog Entries: 1
Send a message via MSN to nuideas Send a message via Skype™ to nuideas
Re: Cascading changes throughout the website - without frames

i would deffinately go the PHP includes way, as it means your pages can be cleaner - like having headers footers and navigation sections all in their own includes - plus u dont have to be a good php'er to do them - I can do them for cripes's sake
nuideas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 11:11   #6 (permalink)
New Member
 
Join Date: May 2008
Location: india
Age: 21
Posts: 8
Re: Cascading changes throughout the website - without frames

i would deffinately go the PHP includes way,


_______________________________
Web Design Company
bobby12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 11:32   #7 (permalink)
Section Manager -
Website Critique
 
welshstew's Avatar
 
Join Date: May 2007
Location: inside the outside
Posts: 1,095
Blog Entries: 10
Re: Cascading changes throughout the website - without frames

you can also use asp includes as well
http://www.w3schools.com/asp/asp_incfiles.asp
__________________
WelshStew
Section Manager

tierney rides tboard - uk site : xtreme wales - extreme clothing
welshstew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 2nd, 2008, 21:38   #8 (permalink)
Up'n'Coming Member
 
Join Date: Apr 2008
Location: Or-Yehuda, Israel
Age: 60
Posts: 88
Re: Cascading changes throughout the website - without frames

If it is just the navigation menu that you want common to all pages, a simple SSI will do.
shalom_m is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 3rd, 2008, 09:35   #9 (permalink)
New Member
 
Join Date: May 2007
Location: UK
Posts: 8
Re: Cascading changes throughout the website - without frames

Hi,

just for future reference ASP.Net 2 (Visaul Studio 2005) has a "Master Page" option designed for this exact purpose
1databyte is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with a website... trying to avoid *shudders* frames dmccaulley HTML Forum 2 Aug 31st, 2007 12:34
Frames Help lithiumforce Beginner Resources 4 Jun 25th, 2007 10:39
I Frames taco HTML Forum 8 Mar 2nd, 2004 02:54



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:18.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59