HighDots Forums  

Create links from text file or in CSS?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Create links from text file or in CSS? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Heather O'Connor
 
Posts: n/a

Default Create links from text file or in CSS? - 07-28-2009 , 05:08 PM






I have a 2 column with right-sidebar.

The sidebar has 20 or so links that I need to change, delete, or add to
periodically.

They are in the format: <li><a href="link.html">link text</a></li>
and inside a <div id="colTwo"> container

About 30 pages have the identical links, and I want to be able to change them
all at once.

I discovered DW Templates a little too late to go back and change every page.

Is there a way to generate the links by pulling from a text file or placing the
text in the default.css ?

Thanks!

Reply With Quote
  #2  
Old   
Duncan Kennedy
 
Posts: n/a

Default Re: Create links from text file or in CSS? - 07-28-2009 , 05:32 PM






In message <vlpu651nbfio39aq3ouevldg1481ro1isa (AT) 4ax (DOT) com>, Heather
O'Connor <HOC34 (AT) hotmail (DOT) com> writes
Quote:
I have a 2 column with right-sidebar.

The sidebar has 20 or so links that I need to change, delete, or add to
periodically.

They are in the format: <li><a href="link.html">link text</a></li
and inside a <div id="colTwo"> container

About 30 pages have the identical links, and I want to be able to change them
all at once.

I discovered DW Templates a little too late to go back and change every
page.

Is there a way to generate the links by pulling from a text file or placing the
text in the default.css ?

Not sure if this is your answer but have a look at "Library" in the Help
file for your version. This lets you save selected code and use it on
as many pages as you like. You could save your whole "Div" code - then
you would only have to amend once. I haven't used it for a while but it
should do what you want one way or another - but you may have to read a
bit unless somebody else can come up with the step by step answer.
Basically the Assets Panel has a Library section and once you have read
a little about how to do it, it should update your pages for you without
too much effort - especially the second time.

If that doesn't do what you want, at worst, you could cut and paste the
relevant code either into Notepad or a fresh dummy page, amend there as
and when you need to and cut and paste to each page. I do that quite a
lot on sites that don't have too many pages. One "highlight" and
Contr+c", a alt+tab to Dreamweaver and you are off on a surprisingly
quick "highlight - contr+v" exercise.

There may be a way to do it in the CSS file - I'm not familiar with that
but there may be somebody still around here who could answer (As I seem
to keep saying, sadly, Adobe dropped these Usenet groups and now all the
"Adobe experts" live on the Adobe web site Forums now - that is where
you would get the definitive answer.)

--
Duncan K
Downtown Dalgety Bay

Reply With Quote
  #3  
Old   
Heather O'Connor
 
Posts: n/a

Default Re: Create links from text file or in CSS? - 07-29-2009 , 09:47 AM



On Tue, 28 Jul 2009 22:32:15 +0100, Duncan Kennedy
<nospam (AT) nospam (DOT) otterson-bg.couk> wrote:

Quote:
In message <vlpu651nbfio39aq3ouevldg1481ro1isa (AT) 4ax (DOT) com>, Heather
O'Connor <HOC34 (AT) hotmail (DOT) com> writes
I have a 2 column with right-sidebar.

The sidebar has 20 or so links that I need to change, delete, or add to
periodically.

They are in the format: <li><a href="link.html">link text</a></li
and inside a <div id="colTwo"> container

About 30 pages have the identical links, and I want to be able to change them
all at once.

I discovered DW Templates a little too late to go back and change every
page.

Is there a way to generate the links by pulling from a text file or placing the
text in the default.css ?

Not sure if this is your answer but have a look at "Library" in the Help
file for your version. This lets you save selected code and use it on
as many pages as you like. You could save your whole "Div" code - then
you would only have to amend once. I haven't used it for a while but it
should do what you want one way or another - but you may have to read a
bit unless somebody else can come up with the step by step answer.
Basically the Assets Panel has a Library section and once you have read
a little about how to do it, it should update your pages for you without
too much effort - especially the second time.

If that doesn't do what you want, at worst, you could cut and paste the
relevant code either into Notepad or a fresh dummy page, amend there as
and when you need to and cut and paste to each page. I do that quite a
lot on sites that don't have too many pages. One "highlight" and
Contr+c", a alt+tab to Dreamweaver and you are off on a surprisingly
quick "highlight - contr+v" exercise.

There may be a way to do it in the CSS file - I'm not familiar with that
but there may be somebody still around here who could answer (As I seem
to keep saying, sadly, Adobe dropped these Usenet groups and now all the
"Adobe experts" live on the Adobe web site Forums now - that is where
you would get the definitive answer.)
Thanks!

Been doing the cut/paste routine, but these links will require constant updating
so I need a more automated way to update. The Template would have been great but
I have about 20 (soon to be more) pages with a lot of unique copy.

I clicked on the "book" in the Assets panel and nothing happened.
When I hovered on the book it displayed "Library", but when I clicked on it
nothing happened. Double

I think DW Help files or more complex than the product.
More reading I guess.

Reply With Quote
  #4  
Old   
Heather O'Connor
 
Posts: n/a

Default Re: Create links from text file or in CSS? SOLVED - 07-29-2009 , 10:39 AM



On Wed, 29 Jul 2009 08:47:55 -0500, Heather O'Connor <HOC34 (AT) hotmail (DOT) com> wrote:

Quote:
On Tue, 28 Jul 2009 22:32:15 +0100, Duncan Kennedy
nospam (AT) nospam (DOT) otterson-bg.couk> wrote:

In message <vlpu651nbfio39aq3ouevldg1481ro1isa (AT) 4ax (DOT) com>, Heather
O'Connor <HOC34 (AT) hotmail (DOT) com> writes
I have a 2 column with right-sidebar.

The sidebar has 20 or so links that I need to change, delete, or add to
periodically.

They are in the format: <li><a href="link.html">link text</a></li
and inside a <div id="colTwo"> container

About 30 pages have the identical links, and I want to be able to change them
all at once.

I discovered DW Templates a little too late to go back and change every
page.

Is there a way to generate the links by pulling from a text file or placing the
text in the default.css ?

Not sure if this is your answer but have a look at "Library" in the Help
file for your version. This lets you save selected code and use it on
as many pages as you like. You could save your whole "Div" code - then
you would only have to amend once. I haven't used it for a while but it
should do what you want one way or another - but you may have to read a
bit unless somebody else can come up with the step by step answer.
Basically the Assets Panel has a Library section and once you have read
a little about how to do it, it should update your pages for you without
too much effort - especially the second time.

If that doesn't do what you want, at worst, you could cut and paste the
relevant code either into Notepad or a fresh dummy page, amend there as
and when you need to and cut and paste to each page. I do that quite a
lot on sites that don't have too many pages. One "highlight" and
Contr+c", a alt+tab to Dreamweaver and you are off on a surprisingly
quick "highlight - contr+v" exercise.

There may be a way to do it in the CSS file - I'm not familiar with that
but there may be somebody still around here who could answer (As I seem
to keep saying, sadly, Adobe dropped these Usenet groups and now all the
"Adobe experts" live on the Adobe web site Forums now - that is where
you would get the definitive answer.)

Thanks!

Been doing the cut/paste routine, but these links will require constant updating
so I need a more automated way to update. The Template would have been great but
I have about 20 (soon to be more) pages with a lot of unique copy.

I clicked on the "book" in the Assets panel and nothing happened.
When I hovered on the book it displayed "Library", but when I clicked on it
nothing happened. Double

I think DW Help files or more complex than the product.
More reading I guess.

Found a good source: http://www.thetemplatestore.com/tutorials/libraries.asp

The DW Help file never mentioned clicking the New Library Item at the botom
right corner and I was too dumb to look for it. Following the Help file I tried
to drag and drop without creating new lbi

Works like a charm. I just copied the entire div tag

Thanks!

Reply With Quote
  #5  
Old   
Duncan Kennedy
 
Posts: n/a

Default Re: Create links from text file or in CSS? SOLVED - 07-29-2009 , 01:28 PM



In message <ekn075h7ovek27sg40m7kotnqnebb249c5 (AT) 4ax (DOT) com>, Heather
O'Connor <HOC34 (AT) hotmail (DOT) com> writes

Quote:
I think DW Help files or more complex than the product.
More reading I guess.
Very true - I admit to have a well thumbed copy of The Dreamweaver
Bible.
Quote:

Found a good source: http://www.thetemplatestore.com/tutorials/libraries.asp
That's a very useful URL, thanks
Quote:
The DW Help file never mentioned clicking the New Library Item at the botom
right corner and I was too dumb to look for it. Following the Help file I tried
to drag and drop without creating new lbi

Works like a charm. I just copied the entire div tag
Delighted it all worked out

--
Duncan K
Downtown Dalgety Bay

Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.