Library Item update in XSL page.

This has more than likely been asked before, but is it a known bug that Dreamweaver (my version is CS4) doesnt update a Library Item if its included in an XSL file?

Do you have CSS rules defined in the Library item? A well
formed Library
item must never contain CSS rules, or <html>,
<head>, or <body> tags. Does
yours?
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
==================
"cliff man" <[email protected]> wrote in
message
news:flljfh$ek0$[email protected]..
>I am using Dreamweaver 8.
> I have created a page:
www.americas-outback.com/contact.html that has
> contact
> email links plus a navigational bar at the left that is
a library item.
> No
> matter what link colors I tell the program to use
through the page
> properties
> of the page itself, it uses the link properties of the
library item
> (navigational bar). I am not much of a code person, but
I see them in the
> actual code of the page. I am wondering if there is a
way to have
> separate
> link colors for the email links on the page. I want this
because the
> background color of the page is actually supposed to be
darker (matching
> the
> color of the other pages on the site, but the visited
link color in the
> library
> item is the same color as the background page and
therefore doesn't show
> up.
> Any help would be appreciated.
> Thanks,
> Cliff
>

Similar Messages

  • Library Item updating a section I don't want.

    Here's another question I have about library items.  I do like them a lot, saves hours of keyboarding.
    I built a library item that controls and places "Sponsors" in my 3rd column sidebar.  Sponsors contains relevant links and graphics to sponsors of this cycling team.  It works fine except...
    If I modify the library item, when I go Modify > Library > Update Pages, this thing for some reason, goes and also modifies the <div>menu </div>.   This is part of the reason why a couple of days ago I was getting all turned around with my "\"s and my "/"s.  I've looked at the code details of the sponsors.lbi file in DW 5.5.  I can see nowhere that the .lbi refers to any part of the "menu" div.  Yet when I update pages, the updating goes into the div and messes up (replaces) all my correctly formed menu lnks so that those no longer work.
    I need to find out why this happens because now I am having to spend a lot of time at the keyboard fixing menu links!  Of course this propagates to every page too.  It's obviously not right - I can't keep operating this way.
    What do I need to do?
    H

    Once again, Murray to my rescue!  How are you doing?
    Here's my G2_sponsors.lbi:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="style.css" rel="stylesheet" type="text/css">
    <div class="box-title2 box-indent2">
    <div class="left">
    <div class="right">
    <div align="center"><span class="style1">Sponsors</span><br />
    <br />
    </div>
    </div>
    </div>
    </div>
    <div align="center"><br />
    <a target="_blank" href="http://www.yacht-transport.com/"><img alt="" width="182" height="42" src="images\sponsors\team_dyt.jpg" /></a><br /><br />
    <a target="_blank" href="http://www.helenmckenzie.com/"><img alt="" width="85" height="85" src="images\sponsors\hm_graphic.jpg" /></a><br /><br />
    <a target="_blank" href="http://www.spatopiamassage.com/"><img alt="" width="182" height="42" src="images\sponsors\header2.jpg" /></a><br /><br />
    <a target="_blank" href="http://www.jaxsonsicecream.com/"><img alt="" width="182" height="120" src="images\sponsors\jaxson_web.jpg" /></a><br /><br /><!-- HS 3-1-11 -->
    <!-- added 4 more plus to without websites 7-20-11
    On 8/5/11 Willy corrected the bike shops are not sponsors but give discounts with VIP cards-->
    <br /><p class="font-1"> These businesses will honor our <strong> G2 VIP Discount cards</strong>.  Please patronize them! </p> <br />
    <a target="_blank" href="http://bandjbicycle.com/ "><img alt="" width="190" height="70" src="images\sponsors\B&JBicycleBox_Resized_203x70.jpg" /></a><br /><br />
    <a target="_blank" href="http://www.bicyclegeneration.com/"><img alt="" width="193" height="80" src="images\sponsors\BicycleGenBox.jpg" /></a><br /><br />
    <a target="_blank" href="http://downtownbicycles.com/"><img alt="" width="200" height="90" src="images\sponsors\DowntownBicycleBox.jpg" /></a><br /><br />
    <a target="_blank" href="http://lauderdalecyclery.com/"><img alt="" width="152" height="134" src="images\sponsors\LauderdaleCycleryBox.png" /></a><br /><br />
    <a target="_blank" href="http://www.elmariachimexican.com/"><img alt="" width="200" height="102" src="images\sponsors\MariachiBox.jpg" /></a><br /><br />
    <a target="_blank" href="http://www.angieslist.com/companylist/us/fl/oakland-park/docs-plumbing-reviews-250951.aspx "><img alt="Our G2 Cycling Sponsors" width="200" height="103" src="images\sponsors\Doc's logo phone date Modified.jpg" /></a><br /><br />
    </div>
    <div class="box-title2 box-indent2">
    <div class="left">
    <div class="right">
    <div align="center"><a target="_blank" href="http://local.yahoo.com/info-14328340-big-wheel-cycles-fort-lauderdale?tab=photos/" ><span class="style1">Big Wheel Cycles</span>
    </a>
    </div></div></div></div>
    <br />
    <div class="box-title2 box-indent2">
    <div class="left">
    <div class="right">
    <div align="center"><a target="_blank" href="http://local.yahoo.com/info-14359733-bicycle-spot-oakland-park?tab=photos"><span class="style1">The Bicycle Spot</span></a>
    </div></div></div></div>
    I can't see anywhere in here where it's "touching" my menu div.  But DW sure does.  This has me baffled but you know there's an answer...
    Let me show you index.html too so you get a better picture of how this is structured.  Please don't laugh at my markup/coding!  I know it's gawd-awful and needs more improvement!!!  When I first inherited this it was filled with table based layouts, inconsistent imbedded styles from one page to another, a mess.  I'm trying to learn and fix it at the same time...
    OK>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title>Welcome to G2cycling.com - South Florida Cycling Club</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <link rel="stylesheet" type="text/css" href="style.css" />
    <link rel="stylesheet" type="text/css" href="layout.css" />
    <script src="rollover.js" type="text/javascript"></script>
    <style type="text/css">
    .style1 {
    font-size: 1.6875em;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    .style2 {
    font-size: 2em
    .style3 {
    color: #00FFFF;
    text-decoration: underline;
    .style4 {
    color: #0099CC;
    text-decoration: underline;
    .style5 {color: #ECE9D8}
    .style6 {
    font-size: small
    .style7 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    </style>
    <meta name="GENERATOR" content="MSHTML 8.00.6001.19019" />
    </head>
    <body id="page1" onload="MM_preloadImages('images/m1_act.jpg','images/m2_act.jpg','images/m3_act.jpg','ima ges/m4_act.jpg','images/m5_act.jpg','images/m7_act.jpg','images/m8_act.jpg',,'images\m1_ac t.jpg','images\m2_act.jpg','images\m3_act.jpg','images\m4_act.jpg','images\m5_act.jpg','im ages\m7_act.jpg','images\m8_act.jpg')">
    <div class="top-bg">
    <div id="main">
      <div id="header"><!-- header -->
       <div class="menu">
    <a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images//m1_act.jpg',1)"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images//m1_act.jpg',1)"></a><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images//m1_act.jpg',1)"></a><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images//m1_act.jpg',1)"><img id="Image3" alt="" width="78" height="60" src="images/m1_act.jpg" /></a><a href="index-1.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images//m2_act.jpg',1)"><img id="Image4" alt="" width="143" height="60" src="images/m2.jpg" /></a><a href="index-2.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images//m3_act.jpg',1)"><img id="Image5" alt="" width="145" height="60" src="images/m3.jpg" /></a><a href="index-3.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images//m4_act.jpg',1)"><img id="Image6" alt="" width="138" height="60" src="images/m4.jpg" /></a><a href="index-4.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images//m5_act.jpg',1)"><img id="Image7" alt="" width="132" height="60" src="images/m5.jpg" /><!--</a><a href="index-5.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images\\m6_act.jpg',1)"><img id="Image8" alt="" width="87" height="60" src="images\m6.jpg" /></a>--><a href="index-6.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','images//m7_act.jpg',1)"><img id="Image9" alt="" width="75" height="60" src="images/m7.jpg" /></a><a href="index-7.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','images//m8_act.jpg',1)"><img id="Image10" alt="" width="102" height="60" src="images/m8.jpg" /></a>
       </div>
      </div>
    <div id="content"><!-- content -->
    <div class="container">
         <div class="style7"> A quick note to our Members:  August 2011 - Our website has undergone some recent changes and yes, there may be more to follow.  You will find links to the G2 Blog and the G2 Google Group pages under the "About G2" tab.  The ever popular Mileage Log will stay anchored right below.  Thanks! <br />
         </div>
    <div class="col-1">
            <div class="box-title2">
       <div class="left">
        <div class="right"><span class="style1">Upcoming Events</span><br /><br />
                    </div>
       </div>
      </div>
    <div class="indent-1">
      <dl class="list-2">
    <dt>Login To Log Your Miles</dt></dl>
    <p class="style3"><span class="style4">Join the new G2 mileage log. win prizes and have fun keeping track of your mileage and show your G2 spirit. click <strong>&gt;&gt;</strong><a target="_blank" href="https://spreadsheets.google.com/ccc?key=0Ar3vf7oGk_VbdGtHdElFam1wMUtRTENwMFNIZ1NjZWc&hl=en &authkey=CK-70u4P">HERE</a><strong></strong></span>.</p>
    <div class="line line-indent"></div>
    <dl class="list-2">
    <dt>Group Rides on Saturday</dt></dl>
    <p class="style5"><span class="style4">Meeting at the parking lot on Commercial Blvd.. and the Beach at 7:00am for fast and fun G2 Team Group ride</span>.</p>
    <div class="line line-indent"></div>
    <dl class="list-2">
    <dt>Group Ride On Sunday</dt></dl>
    <p class="style5"><span class="style4">Meet that the parking lot on Atlantic Blvd. and the beach at 7:30AM for a G2 Group ride at a pace of 19 to 21 miles per hour.</span></a></p>
    <div class="line line-indent"></div>
    <p><dl class="list-2">
    <dt>Interested in Racing for G2</dt></dl>
    <dd class="style4">Contact Willy at [email protected] for more information and training schedule.</dd></p>
    <div class="line line-indent"></div>
    <p><dl class="list-2">
    <dt>Want to be Time Trialer?</dt></dl>
    <dd class="style4">G2 is looking for men and women to form a Time Trial Team for individual and team racing so contact Willy at [email protected] for more information</p>
      <div class="line line-indent"></div>
    <p><dl class="list-2">
    <dt>Got pain? Something not feeling right? </dt></dl>
    <dd><a target="_blank" href="documents/fit.pdf">Click here for information on professional video fit analysis</a></p>
    <div class="line line-indent"></div>
    </div>
    </div>
    <div class="col-2">
    <div align="center"><img alt="" width="400" height="301" src="images\2011_jrsy.jpg" /><br />
    <br /></div>
    <h4 class="bg">Welcome to the G2Cycling Website!</h4>
    <p class="bg">Thank you for visiting G2 Cycling. We are continually improving our web site so please check back again for the most current updates on G2 rides, races and seasonal events.</p>
    <dl class="list-2"> </dl>
    <!--  Moved to About 7/28/11 hs <h4 class="bg">Check out the new G2 blog!</h4>
    <dd><a target="_blank" href="http://g2cycling.blogspot.com/">Click here to stay updated on the rides and happenings within G2</a></dd></dl>-->
    <h4 class="bg">New G2 Uniforms!</h4>
    <p class="bg">The new 2011 uniforms are designed and a preview should be available shortly!</p>
    <p class="bg"><img alt="g2 2011 uniforms" width="224" src="images\2011lizard.jpg" /></p>
    <p>Picture below is of 2009 uniforms. Limited sizes are still available - contact Willy if you're interested. Face it, you can never have too many!</p>
    <p><img alt="" width="224" height="168" src="images\g2Outfit.jpg" /></p>
    </div>
    <div class="col-3">
      <!-- #BeginLibraryItem "/G2_Sponsors.lbi" -->
      <link href="style.css" rel="stylesheet" type="text/css">
      <div class="box-title2 box-indent2">
        <div class="left">
          <div class="right">
            <div align="center"><span class="style1">Sponsors</span><br />
              <br />
            </div>
          </div>
        </div>
      </div>
      <div align="center"><br />
        <a target="_blank" href="http://www.yacht-transport.com/"><img alt="" width="182" height="42" src="images/sponsors/team_dyt.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://www.helenmckenzie.com/"><img alt="" width="85" height="85" src="images/sponsors/hm_graphic.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://www.spatopiamassage.com/"><img alt="" width="182" height="42" src="images/sponsors/header2.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://www.jaxsonsicecream.com/"><img alt="" width="182" height="120" src="images/sponsors/jaxson_web.jpg" /></a><br />
        <br />
        <!-- HS 3-1-11 -->
        <!-- added 4 more plus to without websites 7-20-11
    On 8/5/11 Willy corrected the bike shops are not sponsors but give discounts with VIP cards-->
        <br />
        <p class="font-1"> These businesses will honor our <strong> G2 VIP Discount cards</strong>.  Please patronize them! </p>
        <br />
        <a target="_blank" href="http://bandjbicycle.com/ "><img alt="" width="190" height="70" src="images/sponsors/B&JBicycleBox_Resized_203x70.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://www.bicyclegeneration.com/"><img alt="" width="193" height="80" src="images/sponsors/BicycleGenBox.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://downtownbicycles.com/"><img alt="" width="200" height="90" src="images/sponsors/DowntownBicycleBox.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://lauderdalecyclery.com/"><img alt="" width="152" height="134" src="images/sponsors/LauderdaleCycleryBox.png" /></a><br />
        <br />
        <a target="_blank" href="http://www.elmariachimexican.com/"><img alt="" width="200" height="102" src="images/sponsors/MariachiBox.jpg" /></a><br />
        <br />
        <a target="_blank" href="http://www.angieslist.com/companylist/us/fl/oakland-park/docs-plumbing-reviews-250951.aspx "><img alt="Our G2 Cycling Sponsors" width="200" height="103" src="images/sponsors/Doc's logo phone date Modified.jpg" /></a><br />
        <br />
      </div>
      <div class="box-title2 box-indent2">
        <div class="left">
          <div class="right">
            <div align="center"><a target="_blank" href="http://local.yahoo.com/info-14328340-big-wheel-cycles-fort-lauderdale?tab=photos/" ><span class="style1">Big Wheel Cycles</span> </a> </div>
          </div>
        </div>
      </div>
      <div class="box-title2 box-indent2">
        <div class="left">
          <div class="right">
            <div align="center"><a target="_blank" href="http://local.yahoo.com/info-14359733-bicycle-spot-oakland-park?tab=photos"><span class="style1">The Bicycle Spot</span></a> </div>
          </div>
        </div>
      </div>
      <!-- #EndLibraryItem --></div>
    </div>
    </div>
    </div>
    </div>
    <!-- #BeginLibraryItem "/Footer.lbi" -->
    <div id="footer">
    <div id="footer-main">
    <div class="indent"><strong>G2 Cycling </strong> © 2011 | Ride Clean Stay Lean, Inc DBA G2 Cycling | <a href="index-8.html">Privacy Policy</a></div></div></div><!-- #EndLibraryItem -->
    </body>
    </html>
    Again, if I make a change in G2_sponsors.lbi, I know to go to Modify > Library > Update Pages.  You taught me that, thank you.
    Now I just do not understand DW's behavior.  I thought I understood it but...
    H

  • 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...)
    >

  • How to use a Spry Menu as a Library item?

    Okay, this is my second post; but, with a different title.
    I made a Spry menu for my Home Page. I saved it and a logo
    together as a library item and placed the library item on a second
    page. The links in the menu work when there is no style sheet
    attached for the Spry meny and the menu appears just as text; but,
    as soon as the .css style sheet for the menu is attached to the
    second page, the menu appears correct except the drop down menus do
    not work. I tried adding a link to the Spry Java Script file as it
    is on the home page; still no luck.
    I tried the same with a test file, which I have since
    removed, stored at the same folder as the home page; same problem.
    How are we suposed to make a workable library item with a
    Spry Menu? Surely this is possible, no?
    Here are the two pages I am referring to:
    Good Page:
    http://iculver.com/
    Bad Page:
    http://iculver.com/pages/AboutUs/Personal_info.html

    Apologies - my mistake. You are correct, and my instructions
    were
    incomplete. That other bit is required too.
    > Now, I thought (probably in error) that items after !--
    were comments, but
    > it
    > seems to be required, too. I tried eliminating taht part
    and the menus did
    > not
    > work. I need all of this last part.
    The comments 'hide' the scripting from validators and older
    browsers, but
    it's still recognized as javascript, since the comments occur
    INSIDE a
    <script> tag.
    > these Spry Menus in Libraries easier to use...)
    It's not so hard once you get all the pieces together.
    1. Create the library item as described.
    2. Make sure that each page that is to carry this library
    item has the
    required links in the head (to the CSS and the js files), AND
    in the body.
    Why not use a template instead? That way, all of these links
    are managed
    for you.
    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
    ==================
    "JustBob" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hummm...
    >
    > Now, don't yell at me, okay? I'm a goLive switcher and
    really a graphic
    > designer, not a coder...
    >
    > So, It seems from the above message that I am to
    establish the links to
    > the
    > script and the css file before inserting the library
    item. But, either
    > way,
    > that didn;t do the trick for me. I did find a bit of
    code in one of the
    > pages
    > that seems to be required.
    >
    > It seems I also need to insert this just before the
    close of the body tag:
    >
    > <script type="text/javascript">
    > <!--
    > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar",
    > {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    > imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    > //-->
    > </script>
    >
    > Now, I thought (probably in error) that items after !--
    were comments, but
    > it
    > seems to be required, too. I tried eliminating taht part
    and the menus did
    > not
    > work. I need all of this last part.
    >
    > I'm sorry I'm such a dope. I probably did something
    funny when I was
    > styling
    > the menu. (I do hope Adobe can accommodate dopes lime
    me, though, and make
    > these Spry Menus in Libraries easier to use...)
    >
    > Thanks for all of your help! Really!
    >

  • Library item inserts erroneous body tags?!

    When inserting a library item that contains xsl: tags, it
    adds body tags that aren't in the original library item.
    For instance, here's a sample of library item text that
    contains xsl: markup:
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    <xsl:if test="$language='en'">
    <xsl:text>    |    </xsl:text>
    <xsl:element name="a">
    <xsl:attribute
    name="href">SomeFile.html</xsl:attribute>
    <xsl:call-template name="getLocaleString">
    <xsl:with-param name="key" select="'key'"/>
    <xsl:with-param name="lang" select="$locale"/>
    </xsl:call-template>
    </xsl:element>
    </xsl:if>
    And here is the result of applying it to an html file:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <!-- #BeginLibraryItem "/Library/test-xsl-li.lbi" -->
    <body ><body ><xsl:if
    test="$language='en'">
    <xsl:text>    |    </xsl:text>
    <xsl:element name="a">
    <xsl:attribute
    name="href">SomeFile.html</xsl:attribute>
    <xsl:call-template name="getLocaleString">
    <xsl:with-param name="key" select="'key'"/>
    <xsl:with-param name="lang" select="$locale"/>
    </xsl:call-template>
    </xsl:element>
    </xsl:if><!-- #EndLibraryItem -->
    </body>
    </html>
    Anybody have a clue on what is going on here and how to stop
    it?
    Nathan

    I assume you are using DWCS3? Post the steps to reproduce
    this and let's
    see what happens....
    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
    ==================
    "Nathan Whelchel" <[email protected]> wrote
    in message
    news:[email protected]...
    > When inserting a library item that contains xsl: tags,
    it adds body tags
    > that
    > aren't in the original library item.
    >
    > For instance, here's a sample of library item text that
    contains xsl:
    > markup:
    >
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    > <xsl:if test="$language='en'">
    >
    <xsl:text>    |    </xsl:text>
    > <xsl:element name="a">
    > <xsl:attribute
    name="href">SomeFile.html</xsl:attribute>
    > <xsl:call-template name="getLocaleString">
    > <xsl:with-param name="key" select="'key'"/>
    > <xsl:with-param name="lang" select="$locale"/>
    > </xsl:call-template>
    > </xsl:element>
    > </xsl:if>
    >
    > And here is the result of applying it to an html file:
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    > </head>
    > <body>
    > <!-- #BeginLibraryItem "/Library/test-xsl-li.lbi"
    -->
    > <body ><body ><xsl:if
    test="$language='en'">
    >
    <xsl:text>    |    </xsl:text>
    > <xsl:element name="a">
    > <xsl:attribute
    name="href">SomeFile.html</xsl:attribute>
    > <xsl:call-template name="getLocaleString">
    > <xsl:with-param name="key" select="'key'"/>
    > <xsl:with-param name="lang" select="$locale"/>
    > </xsl:call-template>
    > </xsl:element>
    > </xsl:if><!-- #EndLibraryItem -->
    > </body>
    > </html>
    >
    >
    > Anybody have a clue on what is going on here and how to
    stop it?
    >
    > Nathan
    >

  • 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.

  • Again Library Item

    Hi All,
    I have coding to place Library Item into the Page Layout, my Script placing the library Item into that parent Page,
    But my Problem is I can not place XMLElement Into that Library Element Box.
    Here is my Script:
    myDoc.select(myElement);          
                var mySideBarXML = app.selection[0];
                try  {
                                    myAsset = myCurrentLib.assets.item("Box");   // Name of the library item is "bx1"
                    myLibraryItem = myAsset.placeAsset(myElement.insertionPoints[-1]);
      catch (err)   {
                    alert ("There is no library element with the name Box");
                    exit();
                // TO PLACE TEXT IN LIBRARY ITEM
              try {
                    myLibraryItem[0].textFrames[0].placeXML(mySideBarXML);   // if the library element is group of frames.
                catch (ee)  {
                    try {
                        myLibraryItem[0].placeXML(mySideBarXML);   // if the library element is a single frame.
                    catch (ee) { }
    can any one help on this.
    Regards
    Hurix

    Hi hurix,
    Are you try the above requirement in manually, You can't do even manually, because you already placed the library item into the XML text in between, again you drag the you respective box element xml text into the box, definitely its shown the error in InDesign like this...("Elements cannot be placed into an inline").
    Now, what you have to do it for your requirement to meet. First you placed the library item into the respective page, then placed the box xml element content into the library item text frame.
    try{
        var mySideBarXML = myElement;
        var myLibraryItem = app.libraries[0].assets.item("Box").placeAsset(myDoc)[0];// here you give the page, i.e., you selection element text parent page;
        myLibraryItem.move(mySideBarXML.xmlContent.parentTextFrames[0].parentPage);
         try {
             myLibraryItem.textFrames[0].placeXML(myElement);   // if the library element is group of text frame.
         catch (ee) {
             myLibraryItem.placeXML(myElement);// single text frame no group.
    thx,
    csm_phil,

  • When saving library item, only OPEN pages updating (closed pages not updating)

    When I save my library item it only updates the pages that are OPEN and not the ones that are closed. It starts the update process then stops after updating the open pages and never completes the process. I have to click "stop" after a minute or so. Then it prompts me to update the pages again.
    How can I get it to update ALL pages associated with the library item?
    Here's the library code:
    <!-- #BeginLibraryItem "/Library/menu_left.lbi" -->
    <link href="css/stevens.css" rel="stylesheet" type="text/css">
    <table width="197" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><a href="buy-wallace-stevens-biography.com"><img src="images/buy-wallace-stevens-biography.gif" alt="Buy Wallace Stevens: A Dual Life as Poet and Insurance Executive" width="197" height="42" border="0" /></a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="default.htm">Home</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="praise-for-wallace-stevens-biography.htm">Praise for the Biography</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="buy-wallace-stevens-biography.com">Ordering Info</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="excerpts-from-wallace-stevens-biography.htm">Excerpts</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="wallace-stevens-photos.htm">Photos</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="wallace-stevens-poems.htm">Selected Poems</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="wallace-stevens-reading-his-poetry.htm">Wallace Stevens<br />
                  Reading his Poetry</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="wallace-stevens-and-elizabeth-park.htm">Wallace Stevens <br />
                  and              Elizabeth Park</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="wallace-stevens-lecture-by-noted-critic-helen-vendler.htm">Lecture on Stevens by  Noted Critic
    Helen Vendler</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="about-alison-johnson.htm">About the Author</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="other-works-by-alison-johnson.htm">Other Works by<br />
                  Alison Johnson</a></td>
              </tr>
              <tr>
                <td class="menu1"><a class="menulink" href="contact-wallace-stevens-biographer.htm">Contact</a></td>
              </tr>
              <tr>
                <td height="45" valign="top"> </td>
              </tr>
            </table><!-- #EndLibraryItem -->

    The following lines in the Library item are invalid code
    <!-- #BeginLibraryItem "/Library/menu_left.lbi" -->
    <link href="css/stevens.css" rel="stylesheet" type="text/css">
    <table width="197" border="0" cellspacing="0" cellpadding="0">
    <link href="css/stevens.css" rel="stylesheet" type="text/css"> belongs in the <head> section of the HTML page
    <table width="197" border="0" cellspacing="0" cellpadding="0"> belongs in the <body> section.
    Valid code would be
    <!-- #BeginLibraryItem "/Library/menu_left.lbi" -->
    <link href="css/stevens.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <table width="197" border="0" cellspacing="0" cellpadding="0">
    But I would expect the Library item to only include the table

  • Moved page - can't update library item associated with it.  Please help

    I moved a page on my website from one folder to another.  I am not able to update the library item associated with it now.  It still has the old navigation on the page.  Please help.  Thank you

    Did you move it with your operating system's file manager or did you move it from within DW's Files panel?
    Nancy O.

  • 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

  • Library Items won't Update!!

    Argh, I've broken my menu for my website, which is a library item. I was getting an error when I validated one of the pages, and found it was an issue with my list not being properly nested within the library item's html. I thought I'd be smart and add a doctype to the library item, so that I could validate it on it's own and pinpoint the problem.
    Apparently, the doctype addition was added into all of my pages that contain the library item. Now I can't seem to easily get rid of it! I changed my menu's html to get rid of the doctype, but this change is not reflected when I update all pages. I go to Modify>Library>Update Pages... and choose to update the entire site. Nothing happens! The doctype is still in all of my pages that contain the menu, and it breaks the page (nothing shows in the Design view window.)
    Please help! I really don't want to have to delete and reinsert the menu on every page of my website. : (
    Here's an example, with the doctype error in the library item "menu-multilevel.lbi":
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Best prices on black &amp; white copies! Located in Beavercreek, Ohio, we offer printing services including color copies, business cards, flyers, graphic design, large format printing, coil binding, and more."/>
    <title>World Digital Imaging - Contact Us</title>
    <link href="../css/wdi-basic.css" rel="stylesheet" type="text/css" />
    <!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColHybLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <body class="twoColHybLtHdr">
    <div id="container"> <a name="top" id="top"></a>
      <div id="header">
        <div><img src="../images/page-elements/black-bar-title.gif" width="649" height="135" alt="World Digital Imaging" /></div>
        <!-- end #header -->
      </div>
      <div id="sidebar1"><!-- #BeginLibraryItem "/Library/menu-multilevel.lbi" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <body>
    <div id="nav">
      <div id="navbody">
        <ul id="navlist">
          <li><a href="/index.html">Home</a></li>
          <li><a href="/pages/about/about-us.html">About Us</a>
            <ul>
              <li><a href="about/facilities.html">Our Facilities</a></li>
              <li><a href="about/people.html">Our People</a></li>
              <li><a href="pricing.html">Our Pricing Structure</a></li>
            </ul>
          </li>
          <li><a href="/pages/productsandservices.html">Products &amp; Services</a>
            <ul>
              <li><a href="productsandservices.html#standard">Standard Copies</a>
                <ul>
                  <li><a href="products/standard-copies.html">Black &amp; White Copies</a></li>
                  <li><a href="products/standard-copies.html#color">Color Copies</a></li>
                </ul>
              </li>
              <li><a href="products/lgformat.html">Large Format Printing</a></li>
              <li><a href="productsandservices.html#bizproducts">Business Products</a>
                <ul>
                  <li><a href="products/business/bizcards.html">Business Cards</a></li>
                  <li><a href="products/business/forms.html">Carbonless Forms</a></li>
                  <li><a href="products/business/emp-manuals.html">Employee Manuals</a></li>
                  <li><a href="products/business/envelopes.html">Envelopes</a></li>
                  <li><a href="products/business/flyers.html">Flyers/Brochures</a></li>
                  <li><a href="products/business/labels.html">Labels &amp; Stickers</a></li>
                  <li><a href="products/business/letterhead.html">Letterhead</a></li>
                  <li><a href="products/business/marketing.html">Marketing Info</a></li>
                  <li><a href="products/business/postcards.html">Postcards</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#promotional">Promotional Products</a>
                <ul>
                  <li><a href="products/promotional/calendars.html">Calendars</a></li>
                  <li><a href="products/promotional/magnets.html">Magnets</a></li>
                  <li><a href="products/promotional/notepads.html">Notepads</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#event">Special Event Products</a>
                <ul>
                  <li><a href="products/events/graduation/graduation.html">Graduation
                    Party </a>
                    <ul>
                      <li><a href="products/events/graduation/gradpackages.html">Graduation Packages</a></li>
                      <li><a href="products/events/graduation/gradguestbook.html">Guest Books</a></li>
                      <li><a href="products/events/graduation/invites/gradinvites.html">Invitations</a></li>
                      <li><a href="products/events/graduation/gradcollage.html">Photo Collages</a></li>
                      <li>Photo Products</li>
                      <li><a href="products/events/graduation/gradlabels.html">Return Address Labels</a></li>
                      <li><a href="products/events/graduation/gradthankyous.html">Thank You Cards</a></li>
                      <li><a href="products/events/graduation/gradyardsign.html">Yard Signs </a></li>
                    </ul>
                  </li>
                  <li><a href="products/events/greetingcards.html">Greeting Cards</a></li>
                  <li><a href="products/events/invitations.html">Invitations</a></li>
                  <li><a href="products/events/programs.html">Programs</a></li>
                  <li><a href="products/events/tickets.html">Tickets</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#wedding">Wedding Products</a>
                <ul>
                  <li><a href="productsandservices.html#wedding">Wedding Invitations</a>
                    <ul>
                      <li><a href="products/wedding/wedinvitations-custom.html">Custom Designed</a></li>
                      <li><a href="products/wedding/wedinvitations.html">Traditional</a></li>
                    </ul>
                  </li>
                  <li><a href="productsandservices.html#otherwedding">Other Wedding Products</a>
                    <ul>
                      <li><a href="products/wedding/wedcollages.html">Collages</a></li>
                      <li><a href="products/wedding/wedprograms.html">Programs</a></li>
                      <li><a href="products/wedding/wedsavethedate.html">Save the Date Cards</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a href="products/customphoto/keychains.html">Custom Photo Products</a>
                <ul>
                  <li><a href="products/customphoto/coasters.html">Coasters</a></li>
                  <li><a href="products/customphoto/keychains.html">Keychains</a></li>
                  <li><a href="products/customphoto/mousepads.html">Mouse Pads</a></li>
                  <li><a href="products/customphoto/mugs.html"> Mugs</a></li>
                  <li><a href="products/customphoto/cushions.html">Stadium Cushions</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#design">Design Services</a>
                <ul>
                  <li><a href="services/graphicdesign.html">Custom Graphic Design</a></li>
                  <li><a href="services/email.html">Email Newsletters</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#finishing">Bindery &amp; Finishing</a>
                <ul>
                  <li><a href="services/binderbuild.html">Binder Building</a></li>
                  <li><a href="services/coiling.html">Coil &amp; GBC Binding</a></li>
                  <li><a href="services/laminating-mounting.html#mount">Foamboard Mounting</a></li>
                  <li><a href="services/folding.html">Folding</a></li>
                  <li><a href="services/drilling.html">Hole Punching/Drilling</a></li>
                  <li><a href="services/laminating-mounting.html#laminating">Laminating</a></li>
                  <li><a href="services/perfectbind.html">Perfect Binding</a></li>
                  <li><a href="services/saddling.html">Saddle-Stitching</a></li>
                  <li><a href="services/tabs.html">Tabs</a></li>
                </ul>
              </li>
              <li><a href="productsandservices.html#otherservices">Other Services</a>
                <ul>
                  <li><a href="services/cd-dvdcopying.html">CD/DVD Duplication</a></li>
                  <li><a href="services/faxing.html">Faxing</a></li>
                  <li><a href="services/scanning.html">Scan to File</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="/pages/portfolio.html">Portfolio</a></li>
          <li><a href="/pages/order.html">Place Online Order</a></li>
          <li><a href="/pages/newsletter.html">Newsletter Sign Up</a></li>
          <li><a href="copier-sales-service.html">Copier Sales/Service</a></li>
          <li><a href="franchising.html">Franchising</a></li>
          <li><a href="/pages/help.html">Help &amp; FAQ's</a>
            <ul>
              <li><a href="privacy.html">Privacy Policy</a></li>
            </ul>
          </li>
          <li><a href="/pages/contact.html">Contact Us</a></li>
          <li><a href="/pages/sitemap.html">Sitemap</a></li>
        </ul>
      </div>
      <div id="navbottom"> </div>
    </div>
    </body><!-- #EndLibraryItem --><!-- end #sidebar1 -->
      </div>
      <div id="mainContent">
        <h1>Contact Us</h1>
        <p>You may contact World Digital Imaging via email, phone, fax or mail. Our office hours are as follows:</p>
        <div style="text-indent:40px; line-height:1.25em; font-weight:bold;">
          <p>Monday - Thursday: 7:30am - 5:00pm</p>
          <p>Friday: 7:30am - 4:00pm</p>
          <p>Saturday: 8:00am - 12:00pm</p>
          <p>Sunday: CLOSED</p>
          <br/>
        </div>
        <h2>Email:</h2>
        <ul class="gen">
          <li>General Inquiry - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Place an Order - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Copier Sales/Service - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Craig (President) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Angie (Adminstration) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Ashley (Administration) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Natalie (Graphic Designer) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Danielle (Graphic Designer) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Kathy (Production) - <a href="mailto:[email protected]">[email protected]</a></li>
          <li>Tim (Copier Repairs &amp; Maintenance) - <a href="mailto:[email protected]">[email protected]</a></li>
        </ul>
        <p> </p>
        <h2>Phone:</h2>
        <p>937-431-1982</p>
        <br/>
        <h2>Fax:</h2>
        <p>937-431-1985</p>
        <br/>
        <h2>Mail:</h2>
        <div style="line-height:1.5em;">
          <p>World Digital Imaging<br/>
            1138 Richfield Center<br/>
            Beavercreek, OH 45430</p>
        </div>
        <div id="map" class="ctr">
          <iframe style="width: 550px; height: 425px" src="http://www.mapquest.com/embed#b/maps/m:map:12:39.72919:-84.078493::::::1:1:::::::::/l:Worl d+Digital+Imaging:1138+Richfield+Ctr:Beavercreek:OH:45430:US:39.724894:-84.083313:address: :1:::26792578/e" frameborder="0" scrolling="No" marginheight="0" marginwidth="0"></iframe>
        </div>
    <!-- end #mainContent -->
      </div>
      <!-- end #container -->
    </div>
    <div id="footer"><!-- #BeginLibraryItem "/Library/footer-menu.lbi" --><div id="footer-menu">
    <ul style="list-style-type: none;">
      <li><a href="http://www.wdi-whq.com">HOME</a></li>
      <li><a href="#top">BACK TO TOP</a></li>
      <li><a href="privacy.html">PRIVACY POLICY</a></li>
      <li><a href="http://www.wdi-whq.com/pages/help.html">HELP/SUPPORT</a></li>
      <li><a href="http://www.wdi-whq.com/pages/contact.html">CONTACT US</a></li>
      <li><a href="http://www.wdi-whq.com/pages/sitemap.html">SITEMAP</a></li>
    </ul>
    <p class="clrflt"> </p>
    <br/>
    <p class="web-disclaimer">Website content and design copyright World Digital Imaging, 2009-2010.<br/>
    No part of this website may be reproduced in any form without the express written consent of World Digital Imaging.<br/>
    For questions or comments about the website, please contact the <a href="emailto:[email protected]">Webmistress</a>. </p>
    <br/>
    <br/>
    </div>
    <!-- #EndLibraryItem --><!-- end #footer -->
    </div>
    <br/>
    </body>
    </html>

    I've never used Library Items.  IMO Server-Side Includes are better for this.
    Can you do a Find & Replace in the Source Code (Ctrl+F) for this line?
    <!-- #BeginLibraryItem "/Library/menu-multilevel.lbi" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    And replace it with this:
    <!-- #BeginLibraryItem "/Library/menu-multilevel.lbi"
    -->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Can't update library item in object library

    I used to be able to update library items, and did so often. Now the "Update library item" option is not just grayed out-- it's gone from the panel menu.
    In order to update an item, I have to drag it to the page, update, then delete the corresponding library item, then drag the updated item back from the page into the library (and name it again). Do-able, but a lot more time consuming.
    I have checked Edit > Menus, Context & Panel Menus and the Update Library Item feature visibility is on.
    Is there something I'm overlooking? Thanks for any help!
    Mary Sargeant

    Might be time to delete InDesigns prefs.
    To delete the preferences, hold down Shift+Ctrl+Alt+Cmd just as you launch InDesign.
    Doing this will remove any workspaces you have set up along with Print/PDF Presets.
    Back these up first.

  • Page persistence indicator and Library item

    What is the best way to create page persistence indicators on
    a
    navigational array using div elements, in which the nav array
    is stored
    as a Library item and stretches across multiple Templates?
    I am trying to follow the instructions as in this article:
    http://www.communitymx.com/content/article.cfm?cid=F1394
    However, this method uses template parameters wherein the
    navigational
    array is stored in the .DWT template file, and not in a
    Library item
    which stretches across Templates as in my situation. I am
    looking for a
    solution which will allow the Library to dynamically create
    the
    persistence indicators.
    Oh, and also the nav array is made up of graphical elements
    (not
    text-based CSS) so the persistence needs to swap out
    individual
    graphical elements for each div.
    Thanks, -CC

    E Michael Brandt wrote:
    >
    >> Here's how you handle that - call the host and ask
    them to server
    >> parse ALL extensions on the site. Most will do this
    (many are set
    >> this way by default).
    >
    > Yep, I've done that in the past. But it may contribute
    in part to what
    > CC is referring to as lost time. Just trying to be
    Solomonic.
    >
    Yes, this is exactly what I'm trying to say.
    When I do a five page static site for a client who I know is
    probably
    going to make changes to universal elements once every year
    (if that) it
    really doesn't matter if I choose Library or SSI. Often I
    will choose
    Library items in this case, simply because they're easy to do
    and I'm
    used to doing things this way. And when I do have updates to
    make?
    Dreamweaver makes it a snap to update those Library items,
    then compare
    the changed files on the server. It can all be done in under
    a minute.
    SSI? Could have used that, too, but to preview the site I
    either have to
    set up a testing server environment or make the include live
    before
    showing the client. And I can't drag and drop the file from
    the desktop
    onto my browser, have to go through Dreamweaver. These may
    not seem like
    big deals (and may seem inefficient to some) but I manage
    between 15-20
    sites all through Dreamweaver, some requiring extensive
    updates, many
    requiring only a few tweaks quarterly, and I can tell you
    that on the
    sites I've built Libraries around, they take me maybe a few
    additional
    minutes longer to update than with the sites I've built with
    SSI. It's
    all about which sites make the most sense to build SSI or
    Libraries around.
    Of course the argument has been made: why not plan better in
    advance to
    use SSI in the first place when it may save you time in the
    future? Good
    point. However, again, the sites I choose to use Library
    items versus
    SSI were usually smaller sites, with no dynamic pages, etc.
    And for
    whatever reason I chose not to rename all my extensions to
    SHTML ...
    didn't want to jump through hoops setting up a testing server
    environment ... or upload everything to FTP everytime I
    changed the
    include file just to preview the one pixel move I made on a
    photo ...
    and the client may see the include file live on his server
    before I am
    ready to demo the whole site, which is on version 4 at this
    point ...
    and now I have to change the path of the include on the
    Template to a
    new one so he doesn't see parts of version 3 ... and I don't
    want to go
    back to my client and ask for additional hours to call the
    client's
    dumb-*** hosting company to set up SSI that should already be
    setup ...
    don't have time to wait three hours for the webhosting
    company to get
    back to me with a "we're working on it" response ... and
    we're already
    overbudget due to that fancy CSS menu I already spent way too
    much time
    on and isn't looking quite right in IE6 still ... and I've
    got to get
    going on four other website updates before 6 PM ... it's now
    5 PM ...
    and I'm probably going to be up all night again.
    Given all of that, I can't see why there appear to be so many
    Library
    hating comments on this thread. Reading through, it would
    appear that
    Library items are utterly useless -- which is just not the
    case. I'm
    surprised at the comments, actually, because the power in
    Dreamweaver
    lies in its ability to make the business of building websites
    easier for
    users with a wide range of skill levels, for almost any kind
    of job.
    Some of its tools (like Libraries) have overlap with SSI
    perhaps to give
    the user as many options as possible depending on
    circumstance. Whether
    one chooses to use Library items or SSI, the results are
    often the same
    in my experience, and I feel Libraries have even saved me
    time in
    situations where includes were simply not the wisest choice.
    Who knows,
    maybe it's because I've grown so used to them over the years
    is why I
    defend them so. But any rate, Libraries at least serve some
    of us well.
    -CC

  • Library items won't update - DW 8

    Help!
    I can't get my library items to update - all the files are in the folder 'Library'. I have updated all the pages (when prompted).  I then applied changes (Modify>Library>Update Pages - for the entire site).  Nothing actually updated. I am using Dreamweaver 8 on Windows XP.

    Thanks.  It's the main nav.menu on the left that I am trying to update. (www.lecss.com)
    Here's the code for the menu.lbi that has the changes (but that are not showing/updating)
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><img src="../shared-images/spacer.gif" width="18" height="8"></td>
              <td><img src="../shared-images/spacer.gif" width="160" height="1"></td>
            </tr>
            <tr>
              <td> </td>
              <td><p class="menu"><a href="../index.html"><font color="#000000">Home</font></a></font></p>
                <p class="menu"><a href="../about/index.html"><font color="#000000">About
                  LEC</font></a><br>
                  <a href="../programs/index.html"><font color="#000000">Programs</font></a><br>
                  <a href="../services/index.html"><font color="#000000">Services</font></a><br>
                  <br>
                  <a href="../schedules/index.html"><font color="#000000">Schedules</font></a><br>
                  <a href="../coursedesc/index.html"><font color="#000000">Course Descriptions</font></a><br>
                  <a href="../calendar/index.html"><font color="#000000">Calendar</font></a><br>
                  <br>
                  <a href="../faq/index.html"><font color="#000000">FAQ</font></a><br>
                  <a href="../success/index.html"><font color="#000000">Success Stories</font></a><br>
                  <br>
                  <a href="../register/index.html"><font color="#000000">How to Register</font></a><br>
                  <a href="../faq/faq2.html"><font color="#000000">Emergency Closure
                  Info</font></a><br>
                  <a href="../contact/index.html"><font color="#000000">Contact LEC</font></a><br>
                  <br>
                </p>
                <p><font color="#666666"><strong>Langley Education Centre</strong>
                  <br>
                  21405A - 56th Ave    <br>
                  Langley, BC<br>
                V2Y 2N1 </font></p>
                <p><br>
                  <br>
                </p>
                <p>Follow us on <img src="greytwitter.png" width="61" height="23"> <br>
                  and <img src="Facebook.jpg" width="86" height="25"><br>
                  <strong><br>
                  LEC News</strong><br>
                <a href="http://www.twitter.com/lecnews"><img src="greySmT.png" width="22" height="22" border="0" longdesc="http://www.twitter.com/lecnews"></a><a href="http://www.twitter.com/lecnews"></a> <a href="http://www.facebook.com/pages/LEC-News/123047644444132"><img src="FacebookSM.jpg" width="25" height="22" border="0"></a><br>
                </p>
                <p><strong>LEC Grad</strong> <strong>Info</strong> <br>
                <a href="http://www.twitter.com/lecgradinfo"><img src="greySmT.png" width="22" height="22" border="0" longdesc="http://www.twitter.com/lecgradinfo"></a><a href="http://www.twitter.com/lecgradinfo"> </a><a href="http://www.facebook.com/pages/LEC-Grad-Info/228832897133140"><img src="FacebookSM.jpg" width="25" height="22" border="0"></a></p>
                <p> </p>
                <p> </p></td>
            </tr>
          </table>
    Please let me know if I can provide any other info. Thanks so much.

  • I have a web page that uses a library item( !-- #BeginLibraryItem "/lib/topnav_main.lbi" -- ) . I

    I have a web page that uses a library item( <!-- #BeginLibraryItem "/lib/topnav_main.lbi" --> ) . I have made a change to topnav_main.lbi but don't know how to get it updated to the web page .  It is a heading and is used in many places. Can you help me?

    For websphere specific questions you might try:
    http://www.websphere-world.com/
    and the
    ibm.software.websphere.application-server.*
    newsgroups.
    Regards,
    S. Bro

Maybe you are looking for