![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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.) |




#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |