Re: import text using CSS?

by Jon Scott <jscott(at)cpec.org>

 Date:  Fri, 11 Jun 2004 00:26:59 -0500
 To:  david(at)homepagesplus.com
 Cc:  hwg-techniques(at)hwg.org
 References:  localhost
  todo: View Thread, Original
iframe?

Would it not be better to actually do dynamic includes... or using 
Dreamweaver's Library items?

I use, rather TRY to use Dreamweaver templates for sites, but if I cannot do 
that, then I use LIbrary items.  This allows for me to write the code once (as 
in a copyright footer, or nav bar or similar page feature common on many of the 
site's pages, and have it update all at once

I maintain a billiard catalog site that has close to 400 pages.   Without using 
templates and library items I'd have lost my mind.  They act very similar to 
SSI and actually, in my humble opinion, are easier to manage when using 
dreamweaver.

I suppose I could be more HTML edititor independent by using SSI, but hey... I 
like DW and all the features it offers me to improve my productivity.

HTH



Quoting David Kendall <david(at)homepagesplus.com>:

> > Someone has asked me if I can use CSS to import the contents of the
> > menu into the box without having to type out each item on the menu.
> > 
> > For example, the current website I'm working on-
> > www.northernmediators.co.uk has a menu on the right hand side of the
> > screen, and on each page the menu is replicated and in the source, the
> > same text for that menu appears.
> > 
> > If that menu ever has to change, then every page for the website will
> > also have to be changed.  So is there a way of having the menu
> > contents in the CSS so its only changed the once?
> 
> I recently asked a similar question on list.  What I came up with (I 
> don't know if it was suggested by a listmember or I thought of it) 
> was the <iframe> command.  I have my table of contents in an html 
> document, and on every page I just have a space on the page that I 
> want it  to appear on, and the code in that space is the <iframe> 
> command.  That way, changes in the table of contents only have to 
> be done ont he master file, the <iframe> comand will link to the 
> updated file.
>  
> --
> David Kendall - president / chief web designer
> Home Pages Plus! 
> (204) 254-3649
> david(at)homepagesplus.com
> www.homepagesplus.com
> 
> 
> 


***********************************************
CivicRADAR - Connecting Citizens to Government
www.civicRADAR.com
***********************************************

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA