Using SSI versus Dreamweaver Library items.

Murray pointed me at SSI -Server Side Includes in another
thread. But when I go to one of the books I have on Dreamweaver,
the author says that my hosting company won't like SSI much because
it uses more system resources. In response to that, Dreamweaver
created Library items.
Is there a reason to pick one method over the other?
Murray - Was there a reason you didn't recommend Dreamweaver
Library items for common elements across a lot of pages?
Thanks,
Tom

> Murray - Was there a reason you didn't recommend
Dreamweaver Library items
> for
> common elements across a lot of pages?
Micha touched on the highpoints. For me, the argument about
system
resources on servers is sooo 1980s, and the convenience of
making a change
to a single file which is uploaded as opposed to every local
file needing to
be uploaded swings the balance. Hosts nowadays accept that
SSI is the way
to go, and will never complain. If you have sources that
continue to press
that argument, you can be sure that the source is so out of
date as to be
useless....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"tomwood2" <[email protected]> wrote in
message
news:g5nrav$t$[email protected]..
> Murray pointed me at SSI -Server Side Includes in
another thread. But when
> I go
> to one of the books I have on Dreamweaver, the author
says that my hosting
> company won't like SSI much because it uses more system
resources. In
> response
> to that, Dreamweaver created Library items.
>
> Is there a reason to pick one method over the other?
>
> Murray - Was there a reason you didn't recommend
Dreamweaver Library items
> for
> common elements across a lot of pages?
>
> Thanks,
>
> Tom
>

Similar Messages

  • Dreamweaver library item!

    Hi all, just wondering, I've built a site which uses a couple
    of library items, for consistent elements, namely right-hand Nav
    and a page header. Once I've uploaded the pages how can I edit
    something in a library item so that it changes on all of the pages
    (now live online) ?
    Thanks in advance,
    Marc

    Trouble is - the paths in the Includes won't necessarily work
    from any page
    in the site - I think? Also, using lots of includes will slow
    the pages a
    bit. OR am I behind the times? :)
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:erf3oo$hcr$[email protected]..
    > Change the Library items as desired. Upload all changed
    pages.
    >
    > The fact that Library items ONLY work from within
    Dreamweaver, and require
    > that you then upload all changed pages, puts them at a
    severe disadvantage
    > when compared to server-side includes....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "marc9987" <[email protected]> wrote in
    message
    > news:erf2i0$g1d$[email protected]..
    >> Hi all, just wondering, I've built a site which uses
    a couple of library
    >> items,
    >> for consistent elements, namely right-hand Nav and a
    page header. Once
    >> I've
    >> uploaded the pages how can I edit something in a
    library item so that it
    >> changes on all of the pages (now live online) ?
    >>
    >> Thanks in advance,
    >>
    >> Marc
    >>
    >
    >

  • Dreamweaver Library Item Etc.

    I am starting work on a new website which will have an
    extension navigation menu - up to 40 items and with many pages.
    Each page on the site will contain this navigation menu. I
    want to know if anyone has a work around for the following:
    I want to have the ability to edit the navigation menu in the
    future and have it populate on every page.
    As you may know, the content of the navigation menu differs
    slightly on every page (class='current' etc).
    Does anyone have a work around to use a Dreamwaver library
    item (or other tool) with variance per page?
    Thanks,
    Adi

    > Does anyone have a work around to use a Dreamwaver
    library item (or other
    > tool) with variance per page?
    Don't use Library items. Use Server-side includes. That way,
    you can just
    change the menu file, upload it, and the change appears on
    every page
    without any further uploads. With Library items, you have to
    upload every
    page again after each change.
    > As you may know, the content of the navigation menu
    differs slightly on
    > every
    > page (class='current' etc).
    It's simple. Give each menu element a unique ID, and on each
    page, just add
    a tiny embedded stylesheet that selects the appropriate menu
    'button', e.g.,
    #button3 { ... }
    <a id="button3">whatever</a>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "AR_XASWQ" <[email protected]> wrote in
    message
    news:fs93kk$fgk$[email protected]..
    >I am starting work on a new website which will have an
    extension navigation
    > menu - up to 40 items and with many pages.
    >
    > Each page on the site will contain this navigation menu.
    I want to know
    > if
    > anyone has a work around for the following:
    >
    > I want to have the ability to edit the navigation menu
    in the future and
    > have
    > it populate on every page.
    >
    > As you may know, the content of the navigation menu
    differs slightly on
    > every
    > page (class='current' etc).
    >
    > Does anyone have a work around to use a Dreamwaver
    library item (or other
    > tool) with variance per page?
    >
    > Thanks,
    >
    > Adi
    >

  • Using SSI in Dreamweaver

    Hi
    I became webmaster for a site and received files created in
    Front Page. Many of the links are set up as 'includes.' As I try to
    view the FP 'includes', they don't open for editing. I'm thinking I
    might have to recreate all the FP pages as Dreamweaver for file
    conversion. In the meantime, I've tried to start from scratch on a
    page or two. In Dreamweaver, it appears I have successfully created
    a page which includes a Server Side Include. When I go to preview
    the page in IE (yes, I selected 'view temporary page'), the SSI
    portion is not there. When I save it to my server, it's still not
    there.
    I saved the 'include' page as html and the page with the
    'include' as shtml. These didn't work properly, so I reversed the
    file extensions. No luck.
    What am I doing wrong or failing to do? Does anyone have
    easy-to-follow steps for how to create SSI pages? Thanks in
    advance.
    Thomas

    Thomas,
    It sounds like your file paths may not be correct, so be sure
    to check that.
    HTH,
    Randy
    > I became webmaster for a site and received files created
    in Front Page. Many
    > of the links are set up as 'includes.' As I try to view
    the FP 'includes', they
    > don't open for editing. I'm thinking I might have to
    recreate all the FP pages
    > as Dreamweaver for file conversion. In the meantime,
    I've tried to start from
    > scratch on a page or two. In Dreamweaver, it appears I
    have successfully
    > created a page which includes a Server Side Include.
    When I go to preview the
    > page in IE (yes, I selected 'view temporary page'), the
    SSI portion is not
    > there. When I save it to my server, it's still not
    there.
    >
    > I saved the 'include' page as html and the page with the
    'include' as shtml.
    > These didn't work properly, so I reversed the file
    extensions. No luck.
    >
    > What am I doing wrong or failing to do? Does anyone have
    easy-to-follow steps
    > for how to create SSI pages? Thanks in advance.

  • Dreamweaver Teamplate with Library Item for Navigation/Sidebar not updating editable classes

    I have a Dreamweaver Template that contains two Library items. One Library item is my navigation bar, the other is a sidebar that shows different content depending on what page you are on. I'm assigning an editable class "active" to the navigation bar to show you are on a particular page, and also assigning the editable class "active" to the sidebar to reveal a portion of the sidebar with links pertaining to that specific page. The default value for the class is "hidden". So what is happening is when I open a page I have created and "edit" the Library Items in it to edit these classes, it resets resets all the other pages on the site to the default class values. How am I able to use editable classes and Library Items to achieve this kind of functionality? The idea is to only have ONE navigaton bar to update on the site and to only have ONE sidebar item to update. Here is an example of the sidebar and navigation in action so you can see what I'm going for. Notice the green button in the navigation bar (that is a list item with the class "active" which is an editable class in the Library Item, also notice the tan links in the sidebar, that is an unordered list that has an editable class of "active" in the Library Items --- these editable classes reset to their defaults when updating the Library Item on the website).
    http://www.brumleve.org/joe/temp/CAP/mission.html

    In my understanding, whenever you edit the contents of a library item, it will update all other occurances of this library item on the rest of the site. That's "working as designed" as far as I know, unless you break the link by telling it to not update - which kinda defeats the purpose I think.
    But theres another way to do this using template properties, i#ve been using this approach myself a couple of times:
    Write your navigation bar in the template (.dwt) file itself, then select the class= of your first menu item and choose .. (names might be off, I am using a non-English copy of DW): "modify > template > make attribute editable" from the main menu. Do so for all your menu items and name these new template properties something like "item_x_class"
    You'll end up with something like this in your template source:
    <div class="@@(item_1_class)@@">
    and a matching
    <!-- TemplateParam name="item_1_class" type="text" value="active" --> in the header
    Now, on each page, you can set the class within the template properties dialog ("modify > template properties"). If your main menu changes, it won't overwrite your template properties, but still update all pages when you do make a change to the menu.
    If you're using multiple templates for your site, consider nesting templates, so the master template already includes your navbar and all subsequent templates will "inherit" changes to the navbar code (sans the editable class property).
    Hope this helps.. or at least gives you an idea for further experiments..
    Stephan

  • Using Dreamweaver Library and ICE

    I'm curious about site pages created with a Dreamweaver (DW)
    library, like a news box that is displayed on every page. A DW
    library allows you to update a region of duplicate content on every
    page / instance once and all the pages are updated.
    Is there a way to update the library in ICE so all the pages
    are updated? Or do you have to update each and every page.

    Hello xodMediaDotCom,
    The Dreamweaver Library items only update in the pages they
    are included in
    within Dreamweaver. So even if you could edit the library
    file (.lbi) file with InContext Editing, the pages that link to the
    library element would not update automatically. You would have to
    update each page individually.
    You might look into using Spry for any dynamic elements you
    wish to include amongst multiple pages. Take a look at the
    following thread which has some more information about Spry:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=82&catid=859&threadid =1416324&enterthread=y
    Best regards,
    Corey

  • InDesign CS4 Library- can't get library items on to pages

    I'm fairly new to InDesign CS4.
    A book I'm reading has a tutorial telling me to drag library items from the library to a page.
    This is a library that the book author created that came with the book.
    However, I can't get material from the library to any of the pages.
    Anytime I try dragging any of the images or other items from the library to my page in InDesign CS4, I get a small "No" symbol (a circle with a slash through it).
    So I clicked on the image in the library that I wanted to add to the page, and using both the content menu (and later, the library panel's menu) to select "Place Item," nothing happened.
    How do I get content in a library on to a page?
    Dragging and using "Place Item" are not working for me.

    Hello, Lee Sarah, and thanks for answering.
    If I understand you correctly, this is what I did:
    I "right" clicked on the Library file icon on my hard drive, called "Healthy Pets CS4."
    This brought up a context menu.
    From there, I went to "Properties."
    Under "Properties" > "Attributes," "Read only" is not checked off, nor is "hidden" checked off.
    In the "Healthy Pets CS4 Properties" dialog box, I then clicked on the the "Security" tab, which brought up all sorts of stuff about permissions, read /write,  etc.
    I guess I should mention at this point that I'm on a computer running Windows Vista, since this might be pertinent to my issue (?)
    Although it's my computer, it has me on here as two different people (I'm on as Administrator and under my first name, which let's just say is "Graphics Cuddly Bear.")
    On the "Security" tab page of the dialog box is a heading called "Group or user names," and from there, depending on which name you pick from the user names, different options get high lighted in the ""Permissions for Authenticated Users" box below it.
    So, under "Permissions for Authenticated Users" (when the users "Autheticated Users" and "Admins" are selected) the following are checked off with a check mark,
    (as if to say, "These are the things you have permissions to do with this file"):
    Modify
    Read and Execute
    Read
    Write
    The only things I do not have permissions for when I check off  "Administrator" on that list is "Special Permissions."
    When AU (Autheticated Users) is checked it says I do not have "Full Control" or "Special Permissions."
    However, when I clicked on my name (GCB - "Graphics Cuddly Bear") under the heading of "Group of user names," these two things are the only ones checked off:
    Read and Execute
    Read
    So I went in to another area of this box and gave my account ("GCB") the "Write" ability.
    When I went back to the box, a check mark next to "Write" then appeared. So it appears to be telling me that under GCB, I can now write to that file.
    So when I opened and closed out of InDesign and re-opened it, it still will not allow me to drag the files/text/images from the library.
    I still get the little "No" symbol.
    It also still will not let me use the "place" command, either.
    I've gone ahead and worked thorugh this chapter without being able to use the author's library items, but it makes working on her tutorials very difficult.
    And it's rather pointless, since the entire chapter is about how to use the software's library.  
    I got a response from the book's publisher (Delmar / Cengage) to ask them for help, if they would provide me with working copies of the files, or some other work around, and they were NOT the least bit helpful.
    A representative from Delmar/ Cengage e-mailed me to say that because I purchased the book at Amazon's site (rather than from them directly) that they would not help me, which I thought was cruddy and not classy.
    I don't see that it entirely matters where I bought the book from; they're the ones who made it.

  • Active Content solution with Library items

    Does anyone know how I can get Adobe's Active Content
    solution (the Multiple Occurrences one) to work with Dreamweaver
    Library items?
    It works fine for inline <object> tags, but when pages
    include Library items (which have the same solution applied to
    them) it doesn't apply the fix to these items.
    Thanks.

    yeah, its annoying. i just made a suggestion for a ¨purge¨ command in the ideas section.
    i´ve managed to clean my library, had to delete one by one though and it took forever.

  • Flex versus Dreamweaver

    This coming from an old Microsoft developer. How do I choose
    when I use Flex versus Dreamweaver. This feels like Flex = Visual
    Studio and Dreamweaver = MS Expressions Web. Is this line of
    thinking correct?
    Thanks,
    Ed Ferron

    Think of Flex as a client server application that runs in a
    browser. All the rich functionality of a client server app with the
    power of the web behind it. Of course you can do this with HTML and
    AJAX but it can get very messy.
    I used Dreamweaver when I was coding JSP to build the UI. I
    do not know MS Expressions and have limited experience with Visual
    Studio except for VB and C but I believe that your comparisons are
    correct.
    From my point of view, Flex is one of the best products I
    have used in years. Its databinding ability is incredible. Using
    Flex allows you to collapse your technology stack from
    HTML/JSP/XSLT/ ... and so on - to Flex with some server technology
    like PHP or Java. It takes a bit to get familiar with but if you
    have done any Object development it is really not too bad.
    How to choose what to use would depend on your project.
    If you are building static pages that do not require a lot of
    dynamic content then building it in HTML using Dreamweaver could be
    the way to go.
    If you are building a complex application and want very rich
    content that allow your users to interact with your application at
    a very high level or you just want to provide a lot of animated
    actions like image rotators or advanced pulldown menus then I would
    use Flex. Of course all that stuff is available using other
    technologies but the advantage with Flex is the ability to collapse
    the technology stack.
    I find my self choosing flex more often than not now. This is
    generally because I now have a fairly large set of generic objects
    that allow for enhanced user interaction that I can start off a
    project with. I also like the idea of having to support and
    maintain fewer technologies. Makes my life much easier.
    All of the applications I have developed have been for
    intranet use so I don't know how search engines such as Google
    index your pages. I am not sure if SEO takes into consideration
    MXML which is what Flex is written in.

  • Using CSS instead of or with library item

    I built my site using Dreamweaver 8. I used the design view
    exclusively. I made a navigation bar as a library item. Utilizing
    rollovers, etc. Now I have learned I should build my site utilizing
    CSS and as was pointed out on this forum to me, to learn CSS and
    HTML.
    I am having a brain freeze. The logic escapes me as to how I
    would build a navigation bar and put it on each page as I did
    utilizing the library function before.
    I am sure for all you pro's this is a really dumb and obvious
    thing but I just don't seem to figure out the logic how to do it. I
    am not talking about the CSS for the behaviors such as hover,
    visited, active. This I know how to do. It is just the ability to
    have a properly designed navbar and be able to put it on every page
    I make.
    Murry "ACE" told me not to use AP and the dreaded mm_menus so
    I am trying to figure this out and build a better more code
    efficient site. Mine works but is quite trashy in the code.

    It can be a bit daunting.
    Try going through this tutorial completely. It's a bit out of
    date (using
    an older version of DW), and still covers the use of tables,
    but it's worth
    reinforcing your basic understandings -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Then I would suggest you do this tutorial -
    Taking a Fireworks comp to a CSS-based layout in Dreamweaver
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
    Finally, to get a grip on how to manage menus across an
    entire site, use
    DW's F1 help about how to use Templates, and server-side
    includes.
    Templates do make your life much easier. I use the following
    scheme....
    First, I mentally separate the page layout into three
    sections:
    1. Stuff that will not change for the life of the site (i.e.,
    the basic
    structural elements)
    2. Stuff that *could* change from time to time (e.g.,
    navigation elements,
    burst advertisements, section-specific navigation, etc.)
    3. Stuff that *will* change from one page to the next
    Then I create a template containing all class1 elements. Next
    I create
    server-side include files containing all class 2 elements and
    place them on
    the template as needed. Note - some of the class 2 elements
    may be
    "section-specific elements", and their placement on the
    template will be
    subject to the next item. Finally, I insert editable regions
    to cover the
    class 3 items, INCLUDING the section-specific navigation.
    This allows me to just cookie-cut the rest of the site. I
    estimate that
    even for fairly large sites, about 80% of my work goes into
    planning and
    creating this template file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "craigmini" <[email protected]> wrote in
    message
    news:[email protected]...
    >I built my site using Dreamweaver 8. I used the design
    view exclusively. I
    > made a navigation bar as a library item. Utilizing
    rollovers, etc. Now I
    > have
    > learned I should build my site utilizing CSS and as was
    pointed out on
    > this
    > forum to me, to learn CSS and HTML.
    >
    > I am having a brain freeze. The logic escapes me as to
    how I would build a
    > navigation bar and put it on each page as I did
    utilizing the library
    > function
    > before.
    >
    > I am sure for all you pro's this is a really dumb and
    obvious thing but I
    > just
    > don't seem to figure out the logic how to do it. I am
    not talking about
    > the CSS
    > for the behaviors such as hover, visited, active. This I
    know how to do.
    > It is
    > just the ability to have a properly designed navbar and
    be able to put it
    > on
    > every page I make.
    >
    > Murry "ACE" told me not to use AP and the dreaded
    mm_menus so I am trying
    > to
    > figure this out and build a better more code efficient
    site. Mine works
    > but is
    > quite trashy in the code.
    >

  • Question about using library items in forms

    After a long time I am again returning to this perpetual fountain of Dreamweaver knowledge.
    I am converting a site from AGL to DW. In AGL I used a separate template for the forms (there are over 10) and used "components" to create the different forms. Each form shared features with other forms but were not identical, all together 5 components. When I converted over to DW the 5 compnents were made into 5 "library items" but neither the form template or the library items work, by that I mean they do not update if I make a change.
    Hence I want to make 5 new library items to use in the forms my question is this: when I choose an item to put in the form like a text field or radio button I always get this window.
    Though I read the documentation I am still not really clear about the "style" option so I just choose "no label tag." What is this used for? Any examples of how it is used?
    Regarding "position" before or after the item, what is this all about? I have been choosing "after form item" but I don't really know what the difference is and what advantages or disadvantages acrue from these choices.
    Regarding "Access key" and "Tab index" I sort of have the idea of what it is about but an example of how they work in action would clear up any nebulosity.
    But my real puzzle is with the following which pops up at the end when I am inserting a form items.
    Since the library items are not separate forms in themselves I have NOT added the form tag because my reasoning is that when I make the new form templates it will have the requisite form tags. Am I correct in this line of thinking? Or do I have to add form tags every time I add form elements to a form? I really don't want to have to do the whole thing over again if I get it wrong. So if one of you kind souls could guide me in doing it right the first time I would really appreciate it.
    I am using a MBP, OS X 10.6.8, DW CS6
    BvL

    To declare constants create a Package-Specification in a pll and deifne all your constants there, something like:
    PACKAGE PK_CONSTANTS IS
      RC_SUCCESS CONSTANT PLS_INTEGER := 1;
      RC_FAILURE CONSTANT PLS_INTEGER := 0;
      RC_YEAR_DATA_NOT_FOUND := 50;
    END;Then attach that pll to all your forms-modules, and use it like
    IF rc = PK_CONSTANTS.RC_YEAR_DATA_NOT_FOUND THEN
    END IF;A word about exceptions or errors: In my eyes its clearer (and in case of exceptions even better) to raise an exception than to hide it behind return-codes.

  • Using library items in templates

    I'm trying to use library items in a template but Dreamweaver
    8 keeps on adding extra
    extra closing tags. Is there some trick to using them?

    Why are you using Library items in a template?
    Can you show me the Library item, and an example of the extra
    closing tags?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "lynnkuh" <[email protected]> wrote in
    message
    news:eb0cnh$lno$[email protected]..
    > I'm trying to use library items in a template but
    Dreamweaver 8 keeps on
    > adding extra
    > extra closing tags. Is there some trick to using them?

  • Dreamweaver quits when updating library item

    Sometimes it works fine for a week or so but suddenly it
    starts crashing Dreamweaver (CS3) every time I'm updating a library
    item throughout a local site. Any ideas why and how to avoid this?
    Thanks,
    Hanna

    > I really need to understand why library items crash my
    Dreamweaver...
    This may not be possible for you right now. At least SSI
    would get you
    going. But so be it.
    Library item updates do not crash my DW. Sorry.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "HannaB" <[email protected]> wrote in
    message
    news:g4tkc4$nc1$[email protected]..
    > Because I'm a slow learner and Library items work well
    for what I do.
    > Besides,
    > server-side includes are confusing as I can't see them
    on the local site,
    > only
    > when uploaded to the remote server (but please, don't
    get into that at
    > this
    > point. I really need to understand why library items
    crash my
    > Dreamweaver...)
    >

  • Dreamweaver Stopped asking if I want to update Library Items and Templates

    Hi All,
    Using dreamweaver on a new project.  Set up my Templates and library items and everything was fine - when I changed one a saved it a dialogue popped up and asked me if I wanted to update files.  Suddenly the dialog box has stopped appearing and now I have to instigate it manually by going to modify->templates->update pages which is annoying and more time consuming.
    Why has the automatic dialogue disappeared and how do i get it back?
    Thanks

    Sorry for the late reply.  I'm still having the problem and appreciate the help.  Attached is the requested screen shot.  Everything is in order I think.  Its a big site though and the whole thing won't fit in one screen shot.  What are you looking for specifically?

  • Dreamweaver CC Library Item with rollover link produces two body tags. Why?

    I have a library item which is used in two pages and works correctly if it does not contain a rollover arrow with a link taking you to the top of the library item. This produces the following near the top of each of the containing pages:
    </head>
    <body class="indexpage">
    <!-- #BeginLibraryItem "/Library/homemenu.lbi" -->
    <p><a id="top"></a></p>
    Note that the Library Item does not itself have a <body> tag in this original, working version.
    The problem arises when I insert an image rollover with a link up to #top (which is defined as above).
    First, the Library Item has the following near its top:
    <script ...>
    ... various functions to handle the rollover
    </script>
    <body onLoad="MM_preloadImages('../images/uparrowred2.gif')">
    <p><a id="top"></a></p>
    Secondly, the containing pages now have the following near the top:
    </head>
    <body class="indexpage" onLoad="MM_preloadImages('images/uparrowred2.gif)">
    <!--#BeginLibraryItem "Library/homemenu.lbi" -->
    <script ...>
    ... various functions to handle the rollover
    </script>
    <body onLoad="MM_preloadImages('../images/uparrowred2.gif')">
    <p><a id="top"></a></p>
    It can be seen (shown in red) that the Library Item has correctly transferred the onLoad instruction to the containing page's <body> tag and at the same time altered the address of the GIF image from '../images/xxx.gif' to 'images/xxx.gif'. [The root folder with the various html pages has a number of subfolders including 'images' and 'Library']. But now, unfortunately, the containing pages have two <body> tags with the second one pointing to the wrong location for the GIF image.
    Would someone please explain what is going on. I can think of three possibilities: (1) I may be doing something really stupid, (2) there may be a bug in Dreamweaver CC or (3) Library Items may not be allowed to contain anything "complicated" like a rollover. I did see a very old (2007) discussion in this forum suggesting that Library Items were rather limited in what they could contain, but over the intervening six years I would have expected things to have improved.

    Thank you, but in that case I'm not sure I understand the purpose of Library Items. Before I added the Library Item, there was nothing to preload. When I add a rollover to the Library Item, Dreamweaver creates the preloader instruction within the Library Item. Then when I include the Library Item in an html page, Dreamweaver controls where the preloader is put.
    Do I then need to manually edit what Dreamweaver has done? In this instance it would have been almost as quick to have ignored the use of a Library Item and copied and pasted the relevant code into the two pages and manually created the revised <body> tag with a preloader. In my relative inexperience with Dreamweaver, I just thought that using a Library Item in multiple pages would save me some effort when I wanted to change the content of the Library Item. As I said, the Library Item worked OK until I added a rollover within it.

Maybe you are looking for