Linked library items via MovieClipLoader?

So, some of you may have run into this before. I know there
is a known issue with importing an SWF to a MovieClip using
LoadMovie - in that, any library items in the SWF that have linkage
IDs can only be attachMovie'd within the MovieClip itself, and not
in the main timeline (or any other timeline).
However, I'm ok with this limitation.
I have a project where I'm creating an empty movieclip on the
main timeline, called "clip_1".
I then use a MovieClipLoader object to load an external SWF
("buttons_1.swf") into clip_1.
This works.
However, buttons_1.swf has several button clips with linkage
IDs set. What I want to do is, after buttons_1.swf has successfully
loaded into clip_1, then do something like
clip_1.attachMovie("btn_play", "play", 1);
where "btn_play" is the linkage ID of a button in
buttons_1.swf.
This does not work... and it probably should given that
apparently some people get a similar thing to work with
loadMovie(). I want to use MovieClipLoader, however, because of the
built-in error catching and completion features of that class.
I cannot use the "runtime sharing" workaround for this,
because I will have a potentially unlimited, unknown "button" SWFs
that will be used. The main movie will load the appropriate button
library at runtime, but I can't know in advance what all the
libraries will be, and after the main movie is published, ideally I
cannot go in and edit it again (want to have it dynamic as possible
from the beginning).
Any help would be appreciated. I know this is a confusing
issue.

Oops! Missed some quotes:
var mc = this.createEmptyMovieClip("test_mc",
this.getNextHighestDepth());
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
// child movie contains MCs with linkage IDs
// attach an instance of "testclip"
var _d = target_mc.getNextHighestDepth();
target_mc.attachMovie("testclip", "clip"+_d,
_d,{_x:30,_y:30});
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(mclListener);
mcl.loadClip("child.swf", mc);

Similar Messages

  • Table for objects linked to item via external link

    Hi Gurus,
    We link objects to an item, like PS projects and networks using link to external object. Doing so which table in backend will get updated with this transaction data.
    We want to draw data from backend to find a list of items to which objects like PS projects and networks are linked.
    Reagrds,
    Ansar

    RPM_OBJ_LINK

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

  • Library item disables link

    I have a linked image that works fine until I make it a library item. Once in the library the link is disabled (even though the two other links in same library item work fine). Can't figure why this one is different. Here's the page:
    http://www.demilodesign.com/letterpress/paper_marble_test.html
    Thanks for help.
    HTML/library item:
    <!-- #BeginLibraryItem "/Library/CSSheader.lbi" --> <div class="heading">
          <div class="logo">
            <a href="http://www.demilodesign.com"><img src="http://www.demilodesign.com/assets/images/logo.gif" class="hilite"></a>
          <div class="contactCart">
            <a href="http://www.demilodesign.com/letterpress/information/information_contact.html"><img src="http://www.demilodesign.com/assets/images/contact.gif" class="hilite"></a>
            <a href="http://www.demilodesign.com/letterpress/information/information_contact.html">contact </a>
            <a href="http://www.coolcart.net/shop/coolcart.aspx/demilodesign"><img src="http://www.demilodesign.com/assets/images/newcart.gif" class="hilite" ></a>
            <a href="http://www.coolcart.net/shop/coolcart.aspx/demilodesign">cart</a>       
            </div>
          </div>
        </div><!-- #EndLibraryItem -->
    CSS:
        .logo{
           background-color: #F6FDDB;
           width: 100%;
           height: 46px;
           border-bottom-style: solid;
           border-bottom-color: #cccc66;
           border-bottom-width: 1px;
           text-align: center;
           position: relative;
           top: 0px;
           padding-top:11px;
           padding-bottom:12px;
      .contactCart {
                position: relative;
                   max-width: 934px;
                margin: 0 auto;
                padding:0px;
                padding-right: 10px;
                text-align: right;
                padding-top: 40px;
        .heading .logo img {
           display: block;
           margin: auto;
          .heading .contactCart {
                position: relative;
                margin-top: -50px;
                padding-left: 5px;
                .heading .contactCart a {
                display: inline-block;

    It doesn't have anything to do with it being a library item. The problem lies with your CSS.
    The .contactCart div is so wide and is relatively positioned, so it's blocking the link of the main logo.
    I did some basic experimentation, changing the style rules like this:
    .heading .contactCart {
        position: relative;
        top: -10px;
        left: 800px;
    .contactCart {
        max-width: 200px;
        padding: 0px;
        padding-right: 10px;
        text-align: right;
        border: none;
    That made the logo clickable and moved the other links into roughly the correct position. It might not be exactly what you're looking for, but it solves the problem of the logo.

  • 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

  • Template Expressions in Library Items?

    Hi All,
    The quick question is this: can template expressions be made
    to work inside library items?
    Here’s the situation…
    The page:
    http://www.fretbank.com/basics/intervals/index.html
    I have a 3-tier template structure in place – 1-Root,
    2-General Page Structure, 3-Topic Categories.
    If you look at the page, I have buttons below the header that
    point to different topics. Each topic has several pages. All of the
    pages from each topic are child-pages from a specific Tier-3
    template.
    The buttons use template parameters/expressions on the Tier 3
    temp. to determine the state of the button.
    I currently have to copy the code for the button nav into
    each topics template and any changes have to be made in each
    template. I am going to be adding many more topics and want to find
    a shortcut. I guess I could make a 4th template tier and have each
    of the category templates be children of that, but I’m hoping
    to avoid this. It would be easiest to be able to make a library
    item and paste it where I need.
    I thought about using SSI’s but that wouldn’t
    work with the expressions. Any other suggestions?
    Thanks,
    Troy
    here's the code if it helps:

    > Is having the link outside the div a problem in older
    browsers?
    It's invalid HTML. That's enough for me. And I suspect it
    would be a
    problem somewhere, as you are trying to make the entire
    <div> tag a link.
    > This allows me to only have to change each of these nav.
    elements on one
    > page.
    I would opt for a single template structured so that changes
    to CSS could
    'specify' the particular section layout. Then I would choose
    server-side
    includes for the navigation elements, and place them into
    strategically
    placed editable regions of the single template, depending on
    which section
    you are needing to navigate.
    Having only a single template is not only possible, it's MUCH
    simpler than
    nesting them.
    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
    ==================
    "Fret Man" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks for the reply Murray.
    >
    > A couple clarifications and questions. Sorry for the
    length, but I felt it
    > was
    > better to be clear than concise.
    >
    > I am using nested templates.
    >
    > Since I posted the topic, I have changed my structure a
    bit, trying to
    > find a
    > balance between flexibility and work load.
    >
    > I have a root template with has headers and common
    includes.
    >
    > From the root template I nest multiple MAIN CATEGORY
    templates for primary
    > areas of the site. These templates contain the nav
    buttons just below the
    > header.
    >
    > From the MAIN CATEGORY temps I nest several SUB CATEGORY
    templates for
    > each
    > topic in the category, which contain the code for the
    "Quick Nav" box at
    > the
    > bottom of the page.
    >
    > The individual pages of the site are then built from the
    sub category
    > pages.
    > The reason for all of the nesting is this: The MAIN
    CATEGORY temps contain
    > the
    > code for the nav buttons and are built using temp.
    expressions that look
    > to a
    > main category param on each of the sub category pages.
    Depending on the
    > param., the button that corresonds to which Main
    Category you are in will
    > be
    > black (via CSS class)
    >
    > One the sub cat. temps the Quick nav link relative to
    which page you are
    > on
    > will be black (also via CSS class)
    >
    > This allows me to only have to change each of these nav.
    elements on one
    > page.
    > All of the different MAIN CAT. temps allow me to focus
    advertising based
    > on
    > the subject. Maybe there is a better way to populate the
    ads to different
    > categories that I am not aware of? Is there a way to
    have the button/links
    > reflect the category/page you are on using only CSS? I
    don't want to have
    > to
    > copy and paste changes to multiple pages when the
    nav/topics change.
    >
    > ****
    > I put the <a> tags inside the <div> tags,
    based on multiple people telling
    > me
    > that I shouldn't do it the other way around. I hadn't
    encountered any
    > problems
    > and liked that the whole button became a link. Is having
    the link outside
    > the
    > div a problem in older browsers? I tested it this way in
    IE7, Firefox2.0,
    > Safari, and Opera, and it worked.
    >
    >

  • 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

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

  • DW won't let me change a library item "change will be discarded"

    I built a site and I have library items for my logo and
    navigation and some thumbnails. I want to use a different file/lbi
    file for my header. When I delete the current library item and try
    to put a new one in, I get this message: "making this change would
    require changing code that is locked by a template or translator.
    The change will be discarded." I honestly don't know what to do; I
    really need to specify a different file for my header but it won't
    let me, and I have over 100 pages and I made all thumbnails,
    rollovers, and all links manually and the file that it's using
    isn't working right. I just want to put the correct one in there; I
    don't know how I can possibly build my site completely from scratch
    - what can I do?
    This is a related issue, but I'm not sure how: I have two
    library items named the same thing in two different folders; some
    files refer to one, some to the other, but I want them all to refer
    to the correct one; I can't make change since I get that error
    message. I'm confused about which file is which, I'd deleted one
    before, then restored it...thank you so much for any help. I'm
    trying to build my portfolio site for an art exhibition...

    Happily. One of the pages of the site I'm having problems
    with is
    http://www.hopeedwards.com/TEST_new_website/Hope_website/assorted_art.htm
    I also attached code for it. [note: the home/index page only
    works in Firefox but the other tabs work in IE and Safari. Also,
    everything is shoved down wrong in IE and it only looks right in
    Firefox] I am running Adobe CS3 on an Intel based Mac Pro with
    Tiger OSX 10.4. I'm having trouble with a couple library items. The
    very top library item is logo_and_navigation.lbi - all was okay
    with it except I somehow had a couple different copies of it in my
    Library folder, so I moved one of them to a folder within the site
    called "Trashes". Then I deleted that one because I didn't want two
    copies and the logo and nav disappeared on some pages that used
    that one. I reinstated it in the trashes folder. The pages that use
    that located in the Trashes folder are the index, Assorted Art, and
    Commercial Work. The ones that use the one in the Library folder
    are Clue Series and About & Contact.
    I would like them all to use just one file so I only have to
    edit one file if I make changes. I've tried several things: I've
    tried selecting and deleting the item in the documents and
    inserting the proper copy. It won't let me. I get the message
    "making this change would require changing code that is locked by a
    template or translator. The change will be discarded." I've tried
    doing a Find and Replace and replacing the word Trashes with
    Library to specify the correct folder info but that doesn't work,
    probably because it can't change code in the library item.
    I had a similar problem with the thumbnails library items
    when I tried to build my other pages doing a File Save As from the
    first one I built in Assorted Art. When I tried to create a
    Commercial Work page from it, I deleted the thumbnails library item
    because it was the Assorted Art thumbnails. When I tried to insert
    the Commercial Work thumbnails library item I got that error
    message. It was so frustrating; I had to go in and build the
    Commercial Work page from scratch. I had to do that with each
    different tab. It just doesn't seem right that you can't swap out
    library items.
    Anyway, I'd completely appreciate any help or feedback! I
    really would!
    Hope

  • How I add a LIBRARY ITEM to a page layout, top/bottom ?

    how I add a LIBRARY ITEM to a page layout, top/bottom ? in
    dwmr mx 2004 and cs4 ?

    Have you looked at the DW help file - it will explain all
    about library items :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    CSS Tutorials for Dreamweaver |
    http://www.adobe.com/devnet/dreamweaver/css.html
    Book: Ultimate CSS Reference (aff link) |
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap
    "lse987" <[email protected]> wrote in
    message news:gpsvtt$t5q$[email protected]..
    > how I add a LIBRARY ITEM to a page layout, top/bottom ?
    in dwmr mx 2004 and cs4 ?

  • Changed a Library Item and now my CSS no longer works!

    I am so frustrated I am almost in tears.  I created a menu in a roughly 7 page website and used DW Library menu to put it on additional pages.  Everything was working fine and then I changed a path to one of my links and hit the button to update the rest of the pages and that's when it happend.  My CSS was gone, no longer applying to any of my menus.  I created an additional CSS sheet just to style my menu and it worked fine up until I changed a frickin link to one my menu icons.  Now my CSS sheets won't apply at all.  I have no idea what has happened and why me changing the path of a link would void out my styles.  Has anyone else had this happen?  Suggestions are greatly appreciated.  Thanks!

    I don't want to rub salt into your wounds here, but why are you using Library Items for menus?   That's what DW Templates are for. 
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    Or better still, Server-Side Includes. 
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Shortcomings of Library Items: they cannot be inserted into the <head> tags of documents. Nor can they contain code that belongs in the <head> tags.  Library items can only be inserted into the <body> tags. 
    My advice is to run your code through the online validation tools below and fix reported errors. 
    HTML - http://validator.w3.org/
    CSS - http://jigsaw.w3.org/css-validator/
    If you can't solve the problem yourself, upload page(s) and supporting files to a public web space you control and post the URL here.
    Nancy O.

  • Where do I add a label tag in the code of a library item?

    Hello,
    For 508 compliance purposes I need to add a label tag to a list menu that I've created as a library item in Dreamweaver. Can anyone tell me where in the following code should the label code be added and how it should appear. The actual site is http://www.graphicmechanic.com/DEKALBCOUNTY/index.html. My 508 checker is telling me that I need to add a label to this form.
    The code is:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="../cssfiles/lbistyles.css" rel="stylesheet" type="text/css"/>
    <form action="" method="post" name="form1" class="style52" id="form1">
                        <span class="style26"><strong>I WANT TO:</strong><br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        </span><span class="style26">
                        <select name="iwantto" class="style55" onchange="MM_jumpMenu('window.open()',this,0)">
                          <option value="http://web.co.dekalb.ga.us/voter/#">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
      </span> </label>
    </form>
    Any assistance would be appreciated.

    Okay i am having trouble figuring out exactly where I should insert the label code and how it should look in this code. I took a look at the labels link you sent over. It is helpful, but because this drop down list has no tables and the example does, I'm a bit confuse.
    Any chance you could show me an example of how a lable should look in in just one of the form items below? Then I could mimic it with the other items (with respect to each different title).
    Here is the code:
    <form action="" method="post" name="form1" class="style52" id="form1">
                        <span class="style26"><strong>I WANT TO:</strong><br />
                        <img src="../images/5x5.gif" alt="layout graphic" width="5" height="5" /><br />
                        </span><span class="style26">
                        <select name="iwantto" class="style55" onchange="MM_jumpMenu('window.open()',this,0)">
                          <option value="http://web.co.dekalb.ga.us/voter/#">REGISTER TO VOTE</option>
                          <option value="https://govaffiliate.ezgov.com/ezutility/index.jsp?agency=3411">PAY MY WATER BILL</option>
                          <option value="../humanserv/hs-osa-facilities.html">FIND A SENIOR CENTER</option>
                          <option value="../humanserv/hs-lou-walker.html">GET INFO ABOUT LOU WALKER CENTER</option>
                          <option value="http://www.dekalbstatecourt.net/">FILE A RESTRAINING ORDER</option>
                          <option value="http://www.dekalbcountyanimalservices.com/">REPORT A LOOSE DOG</option>
                          <option value="http://web.co.dekalb.ga.us/courts/recorders/payment.asp">GET TRAFFIC CITATION INFO</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/pistol.htm">APPLY FOR A PISTOL LICENSE</option>
                          <option value="http://web.co.dekalb.ga.us/courts/probate/marriage.htm">GET A MARRIAGE LICENSE</option>
                          <option value="http://www.co.dekalb.ga.us/dekalbflic/Centers.htm#service">FILE FOR A DIVORCE</option>
                          <option value="http://www.co.dekalb.ga.us/superior/index.htm">GET INFORMATION ABOUT JURY DUTY</option>
                          <option value="http://web.co.dekalb.ga.us/taxcommissioner/search.asp">PAY MY TAXES</option>
                        </select>
      </span>
    </form>

  • The procedure entry point NSSUTIL_EscapeSize could not be located in the dynamic link library nssutil3.dll

    Windows XP with Firefox 18.0.1 wont open when upgraded to latest version.
    Error messages were
    (1) the procedure entry point PR_SetCurrentThreadName could not be located in the dynamic link library ndpr4.dll (2) the procedure entry point NSSUTIL_EscapeSize could not be located in the dynamic link library nssutil3.dll (3) could not load XPCOM
    Ran malware & virus software then removed Firefox via Control panel, then residual folder from Programme files folder and from C:\Documents&Settings\Administrator\Local Folders\ApplicationData\Mozilla.
    Sourced & installed ndpr4.dl and nssutil3.dll - fresh reinstall firefox several times - this got rid of error message 1 but not 2 or 3 and still can't open Firefox.
    Any solutions?

    I have this problem and I am using Zone Alarm Extreme Security with Force Field enabled. I found that by clearing the Virtual Cache in Zone Alarm that this problem went away and was able to run firefox again.
    Here is a post I found that addresses the issue sort of. [http://kb.mozillazine.org/Browser_will_not_start_up#Firefox_does_not_start_after_updating_with_ZoneAlarm_ForceField_enabled http://kb.mozillazine.org/Browser_will_not_start_up#Firefox_does_not_start_after_updating_with_ZoneAlarm_ForceField_enabled]

  • 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

  • Creating a report for linked work items...

    We are using TFS 2012 and need to create a report (either excel or SSRS) that shows all the user stories under the current sprint and any linked child items across two projects. I can do this easily per project in VS and open it in excel but excel won't
    let me copy/paste two projects work items in one spreadsheet. I tried searching and found a few suggestions but they don't seem to work.
    TIA,
    Vik

    Hi Vik,  
    Thanks for your post.
    We suggest you create a such report using TFS API. Please refer to below code snippet:
                TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("UrI"));
                tfs.EnsureAuthenticated();
                WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
                string wiql ="SELECT * FROM WorkItems WHERE [System.TeamProject] = 'TeamProject' ORDER BY [System.Id] ";
                WorkItemCollection wic = workitemstore.Query(wiql);
                foreach(WorkItem workitem in wic)
                if(workitem.Links.Count!=0)
                    foreach (Link link in workitem.Links)
                        RelatedLink relatedLink = link as RelatedLink;
                        if (relatedLink != null)
                            Console.WriteLine(relatedLink.RelatedWorkItemId);
    You can create your custom work item query to return all the parent work items, then save this query as a .wiq file in local path, then open this .wiq file and you will find the wiql string in it.
    For more information about work item query TFS API, please refer to:
    https://msdn.microsoft.com/en-us/library/bb130306.aspx.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Windows Media Player does not recognize my device in bluetooth mode.

    Windows Media Player recognizes my device when connected with a USB cable but not when connected via bluetooth in Windows 7. The WMDC recognizes my device in bluetooth mode without any problem. I would like to synchronize my device with Windows Media

  • How to retrieve data in Combo box?

    :mad; I need to do a form for delivery order. Just fill some personal data and order of product. Inside I have some combo box of product, but I need save the record into txt file (just once time) then need to retrieve the data from txt file onto comb

  • Multiple signatures in a shared review.

    Greetings, I am a tech writer working at an engineering company. I am driving the company toward a digital sign off process for our documentation, and I am using the shared review system in Acrobat Pro X to facilitate this process. These reviews invo

  • APPCRASH in gwsync when checking pop3 account

    Hi, my GW 2014 Client on Windows prompts an appcrash window "Groupwise Remote Synchronization does not work anymore..." while trying to fetch mails from my pop3 account. Details: Problemereignisname: APPCRASH Anwendungsname: GWSync.exe Anwendungsvers

  • Can somebody explain to me how JSP, servlets, ASP work within Sun's server

    Ok, I'm only beginning to get a grip of how all this works. And I have a lot of questions and confusion. 1.) The server that comes with J2EE, what is that server? Is it an app server that runs only servlets and JSP, with some Web server stuff so it c