No Behaviors with Library Items?

Created a library item and wanted to insert rollover images
for the items
but the behaviors menu is greyed out. Can you not use
behaviors on library
items? Do I have to delete the asset from the library, rework
the .html
file, and then recreate the library item?

> Can you not use behaviors on library items? Do I have to
delete the asset
> from the library, rework the .html file, and then
recreate the library
> item?
That's correct. All behaviors must be applied BEFORE the
library item is
created. A well-formed Library item cannot contain
<html>, <head>, or
<body> tags, and therefore has no place to put behavior
javascript or onLoad
events.
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
==================
"TxWebdesigner" <[email protected]> wrote
in message
news:f2f00h$il4$[email protected]..
> Created a library item and wanted to insert rollover
images for the items
> but the behaviors menu is greyed out. Can you not use
behaviors on
> library items? Do I have to delete the asset from the
library, rework the
> .html file, and then recreate the library item?
>

Similar Messages

  • Help with Library Items

    How do I change the titles of a couple of pages, eg "Biography" to "About"  and how do I delete some pages?

    This question really has nothing to do with Library items.  And for benefit of those not following other threads, the link to the pages is here -
    http://www.bbcooper.com/film_tv.html
    So - what do you want to cover in this thread: titles, deleting other pages, or Library items?  How about we start with my first suggestion to you in the previous thread -
    In DW's Code view for the film_tv.html page, change this -
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!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">
    to this -
    <!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">
    Save the page.  Make a similar change in any other page in your site containing that XML prolog
    ("<?xml version="1.0" encoding="iso-8859-1"?>"), i.e., delete it.
    Now, to get on with the Library items, in your local site, you will find a file called "main_nav.lbi" in the Library items folder.  Open it in DW. Again, in Code view, delete all of this -
    <script language="JavaScript" type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; }  function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} }
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <body onLoad="MM_preloadImages('../images/navigation/home_f2.gif','../images/navigation/recordings_f2.g if','../images/navigation/theatre_f2.gif','../images/navigation/tv_f2.gif','../images/navi gation/reviews_f2.gif','../images/navigation/contact_f2.gif','../images/navigation/links_f 2.gif','../images/navigation/biog_f2.gif')">
    so that the library item's code looks begins like this -
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr align="left" valign="top">
    Save that Library item and allow DW to update all pages.
    Now that you have done that, say more about your other questions please.

  • Changing behaviors on library items

    I currently have a header as a library item. The buttons all
    have pop-up menus and I am trying to edit them. I used the help
    through Dreamweaver and it said to open a page that contains the
    library item and detach it - make the changes then re-save the
    library sections. I tried that and when I click on the "Shoe Pop-up
    Menu" on the behavior tab I get the following error message:
    While executing inspectBehavior in Show Pop-up Menu.htm, the
    followinf JavaScript error(s) occurred:
    At line 492 of file "C:\Program Files\Macromedia\Dreamweaver
    8\Configuration\Behaviors\Actions\Show Pop-up Menu.js"; TypeError :
    T.update is not a function
    Can anyone help with this? What does it mean?

    A well-formed library item cannot have a behavior *in* it. It
    can reference
    a behavior with a call to it, e.g.,
    <a onClick="MM_swapImage....
    but it cannot actually CONTAIN a behavior. Why? Because that
    would mean
    that it would have to have <html>, <head>, and
    <body> tags and Library items
    just cannot contain those. Why? Because since a Library item
    is inserted
    into another page, if it contained those tags, they would
    then be duplicated
    on the other page.
    So - your Library item is not well formed, i.e., it's broken.
    > buttons all have pop-up menus
    > and I am trying to edit them.
    This is the worst possible situation. You have a broken
    Library item, and it
    contains an even more broken menu system. Is it too late to
    reconsider
    here?
    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
    ==================
    "TiffanyAdTrends" <[email protected]> wrote
    in message
    news:ed4inu$am9$[email protected]..
    >I currently have a header as a library item. The buttons
    all have pop-up
    >menus
    > and I am trying to edit them. I used the help through
    Dreamweaver and it
    > said
    > to open a page that contains the library item and detach
    it - make the
    > changes
    > then re-save the library sections. I tried that and when
    I click on the
    > "Shoe
    > Pop-up Menu" on the behavior tab I get the following
    error message:
    >
    > While executing inspectBehavior in Show Pop-up Menu.htm,
    the followinf
    > JavaScript error(s) occurred:
    >
    > At line 492 of file "C:\Program
    Files\Macromedia\Dreamweaver
    > 8\Configuration\Behaviors\Actions\Show Pop-up Menu.js";
    TypeError :
    > T.update is
    > not a function
    >
    > Can anyone help with this? What does it mean?
    >

  • Using CSS instead of or with library item

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

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

  • 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

  • Error message with library item in template

    I'm not sure if this is a PM issue or a DWCS3 issue. The only
    way to find out is to ask.
    I have gone through the process of creating a a library item
    of a
    PopMagic menu according the the video provided by P7. Works
    well.
    Then I added the library item to an existing DWCS3 template
    and saved
    it. When I attempt to create "new from template" page from
    the template
    menu, I get this error message
    http://www.jdcdemo.com/blf/error.html
    If I do the same with a template without the menu, the
    error message goes away.
    If I create a page with from a template where I've left an
    editable
    region for the menu and then insert the menu and save the
    page, I also
    get the error message, but the page seems to work ok.
    Since I can't create a new page with the template, I opened
    it and saved it as a page:
    http://www.jdcdemo.com/baim/BLF8/error-message.html
    What is going on here and is there a fix?
    Thanks,
    Joe

    Look at your code. Count <body> tags. How many do you
    get? Yeah - that's
    wrong. You didn't follow the video....
    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
    ==================
    "camelbreath" <[email protected]> wrote in
    message
    news:g680gh$3c$[email protected]..
    > I'm not sure if this is a PM issue or a DWCS3 issue. The
    only way to find
    > out
    > is to ask.
    > I have gone through the process of creating a a library
    item of a
    > PopMagic menu according the the video provided by P7.
    Works well.
    > Then I added the library item to an existing DWCS3
    template and saved
    > it. When I attempt to create "new from template" page
    from the template
    > menu, I get this error message
    >
    >
    http://www.jdcdemo.com/blf/error.html
    >
    > If I do the same with a template without the menu, the
    > error message goes away.
    >
    > If I create a page with from a template where I've left
    an editable
    > region for the menu and then insert the menu and save
    the page, I also
    > get the error message, but the page seems to work ok.
    >
    > Since I can't create a new page with the template, I
    opened it and saved
    > it as
    > a page:
    >
    >
    http://www.jdcdemo.com/baim/BLF8/error-message.html
    >
    > What is going on here and is there a fix?
    >
    > Thanks,
    > Joe
    >

  • Help: Using templates with Library items

    Hey there dreamweaver users
    Just a quick question it might sound dumb but im new to the dreamweaver world and would be greatful if you could answer this question i have.
    I have made a template for my site and i wish to update all the child pages with a library item i have inserted into the main template,
    ive put it into the main template as a footer navigation links and then left dreamweaver to update all my other child pages with this library item.
    the thing is it never works am i doing something wrong ? really could do with some help.
    Thank you :]

    I only have one Template and this is it
    <!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" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Caribe Travel Services</title>
    <!-- TemplateEndEditable -->
    <link href="../caribe_styles.css" rel="stylesheet" type="text/css" />
    <link href="../print.css" rel="stylesheet" type="text/css" media="print" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <div id="container">
      <div id="header"><a href="../starter.html"><img src="../assets/images/logo.jpg" alt="Caribe Travel Services" name="logo" width="213" height="144" id="logo" /></a></div>
      <div id="sidebar">
        <ul class="nav">
          <li><a href="../packages/air.htm">Air Packages</a></li>
          <li><a href="../packages/cruises.htm">Cruises</a></li>
          <li><a href="../packages/inclusive.htm">All Inclusive</a></li>
          <li><a href="../packages/resorts.htm">Resorts</a></li>
          <li><a href="../packages/index.htm">Contact Us</a></li>
        </ul>
        <div class="sideContent"><!-- TemplateBeginEditable name="sideContent" -->
          <h3>Heading 3 here</h3>
          <p>side content here</p>
        <!-- TemplateEndEditable --></div>
      </div>
      <div id="mainContent"><!-- TemplateBeginEditable name="mainContent" -->
        <h1>Heading 1 Here</h1>
        <p>main content here</p>
        <h2>Heading 2 </h2>
      <!-- TemplateEndEditable --></div>
      <div id="footer"><!-- TemplateBeginEditable name="navLinks" --><!-- #BeginLibraryItem "/Library/altNav.lbi" -->
        <ul>
          <li><a href="../index.htm">Home</a></li>
          <li><a href="../packages/index.htm">Packages</a></li>
          <li><a href="../specials/index.htm"> Specials</a></li>
          <li><a href="../galleries/index.htm">Galleries</a></li>
          <li><a href="../testimonials/index.htm">Maps</a></li>
          <li><a href="../testimonials/index.htm">Testimonials</a></li>
          <li><a href="../newsletter/index.htm">Newsletter</a></li>
          <li><a href="../contact.htm">Contact</a></li>
        </ul>
      <!-- #EndLibraryItem --><!-- TemplateEndEditable --></div>
      <!-- end .footer -->
      <!-- end .container -->
    </div>
    </body>
    </html>

  • Working with library items

    This question was posted in response to the following article: http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7e49a .html

    Personally, I don't like library items as any changes need to be applied to the document the library item is used in, then each document that uses it needs to be uploaded to the live server, and you might just miss a file or two that uses it leaving you with inconsistencies across your site.
    My preference is to use a server side include (SSI) file which are for all intents and purposes, the same thing, but when you update it, you simply upload that one file and it automatically populates the changes across your site whereever it is used on all pages that use it. Much simpler and cleaner.
    The only drawback is that you need to be using php, asp etc rather than html... or atleast that's the case in my experience.

  • Active Content solution with Library items

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

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

  • Strange highlighting behavior with Library books and reinstall?

    I have a Nook Color and Windows 7.  B&N has exchanged my Color Nook twice ....but .............I am beginning to think that the problem is with ADE or something else. 
    When I am reading a Library book, about 10 to 15 minutes into the book, I will get some word/words highlighted in the "lookup" form...and then the menu appears.  I can't actually look up a word...the Nook just freezes.  I put the Color Nook to "sleep", turn it back on, and all is well for about another 10 minutes.
    This is happenning with multiple libraries in different states.  So......either it is a glitch in my installation of ADE or it is a problem that the libraries are having.
    I was wondering if anybody else has had this issue.  I don't get any error messages when I download a book.
    I am thinking that I need to reinstall ADE...but am not sure if I will end up getting myself into more trouble.  I also have ADE on my Netbook (rarely use it). I am concerned that I will use up all my "devices" trying to uninstall and reinstall.........and don't know if that will fix the issue. 
    Also, WHAT HAPPENS IF YOU FORGET YOUR PASSWORD?  Is there a recovery function at ADE?
    Thanks for the help

    Hi!  It sounds like you have set up your Nook and ADE so that they work
    together and with library software.  And if you can read other ebooks that
    aren't from a library on your Nook, then it's probably not a setup issue.
    So, I am thinking that the issues you're having deal with something in the
    ebooks themselves.
    ADE just copies the text from the source location to its library.  ADE does
    not edit or change the text in any way. Library book software can do certain
    things with the 'tag' file that contains publishing rights.  Chief among
    them is to set a time and date for expiration of the loan.  If your computer
    or Nook clock does not display the same time and date, it's possible that
    the information from the library is getting screwed up so that the Nook
    shuts down the ebook.  So, the first thing I'd suggest is to check the time
    and date settings in both places.  It would be interesting also to try and
    read the ebook on your computer via ADE and see if the same problem occurs.
    You could contact the library help desk and get information on what software
    they're using - that might point to an issue in it if it's the same software
    at multiple libraries from which you've downloaded ebooks.
    Hope this helps!
    ============

  • Strange behavior with library R3DESX0000, R3DES3260, R3PRDX0000, R3PRD3260

    Hello
    We have 2 SAP systems in the same AS/400 system, DES and PRD.
    PRD this just installed and unique has one client one just as DES.
    But the size of the library is much greater in PRD, for example R3PRD3260 has 2.451.708Kb and R3DES3260 has 257.228Kb another library R3PRDX0000 has 3.651.172Kb and R3DESX0000 has 1.083.212Kb.
    Somebody knows because it can be and as it is solved?
    Thanks

    HI,
    this library belongs to SQL Packages.
    stop SAP system and delete old SQL package from system.
    for delete sql package
    execute following
    DLTR3PKG SID(<SID>) PKGTYPE(*ALL)
    now start sap system and check the size of library.
    regards,
    kaushal

  • Saving Navigation Bar as Library Item with CSS working?

    I have created a simple navigation bar with a separate color for "over" and saved it as a library item. A warning box indicates that the item may not work the same as the original as the CSS may not be copied. What is the simplest method for correcting this?

    If your html docs are linked to an external stylesheet, they will get their styles from the CSS file.
    http://alt-web.com/DEMOS/DW-Link-Stylesheet.shtml
    I highly recommend using server-side includes instead of Library Items for menus.  A server-side include file is easier to maintain by editing one file and uploading it to your server. With Library Items you must make changes to the Library Item and then re-publish all pages containing that item.
    SSI's
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    More on SSI
    http://forums.adobe.com/message/2112460#2112460
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Templates & Library items - best practice

    I've been having a bit of a heated discussion about how
    templates and library items should be used on medium to large
    websites.
    I'm of the opinion that you should have 1 template (or as few
    as possible) and any differences be managed with Library items.
    My colleague's argument is you should have a different
    template for each section, so for example 1 for the news, 1 for the
    features section (for magazine sites) so that if you have a banner
    section wide you change that template, as opposed to the way I'm
    used to which would be 1 template with multiple library items in
    the editable regions of the template, my reasoning for this is the
    large amount of html used for each template (like rollovers) can
    become inconsistent when there's more than one template. Like if
    you change something site wide you have to remember to change all
    of the templates, if you do this with a simple copy past DW can
    still make corrupt code if you use multiple templates.
    So basically I was wondering if there was a standard or best
    practice way of doing this.
    Thanks

    Your colleague is mistaken IN MY OPINION. I think you are on
    the right
    track *unless* your section pages are *SO* different in
    layout that you
    cannot conveniently include all of the
    alterations/permutations in a single
    template page. Further, my current workflow is to rely
    heavily on
    server-side includes within template pages, as described here
    Templates do make your life much easier. I use the following
    scheme....
    First, I mentally separate the page layout into three
    sections:
    1. Stuff that will not change for the life of the site (i.e.,
    the basic
    structural elements)
    2. Stuff that *could* change from time to time (e.g.,
    navigation elements,
    burst advertisements, section-specific navigation, etc.)
    3. Stuff that *will* change from one page to the next
    Then I create a template containing all class1 elements. Next
    I create
    server-side include files containing all class 2 elements and
    place them on
    the template as needed. Note - some of the class 2 elements
    may be
    "section-specific elements", and their placement on the
    template will be
    subject to the next item. Finally, I insert editable regions
    to cover the
    class 3 items, INCLUDING the section-specific navigation.
    This allows me to just cookie-cut the rest of the site. I
    estimate that
    even for fairly large sites, about 80% of my work goes into
    planning and
    creating this template file.
    For what it's worth, I never use Library items....
    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
    ==================
    "tefnut" <[email protected]> wrote in
    message
    news:[email protected]...
    > I've been having a bit of a heated discussion about how
    templates and
    > library
    > items should be used on medium to large websites.
    > I'm of the opinion that you should have 1 template (or
    as few as possible)
    > and
    > any differences be managed with Library items.
    > My colleague's argument is you should have a different
    template for each
    > section, so for example 1 for the news, 1 for the
    features section (for
    > magazine sites) so that if you have a banner section
    wide you change that
    > template, as opposed to the way I'm used to which would
    be 1 template with
    > multiple library items in the editable regions of the
    template, my
    > reasoning
    > for this is the large amount of html used for each
    template (like
    > rollovers)
    > can become inconsistent when there's more than one
    template. Like if you
    > change
    > something site wide you have to remember to change all
    of the templates,
    > if you
    > do this with a simple copy past DW can still make
    corrupt code if you use
    > multiple templates.
    >
    > So basically I was wondering if there was a standard or
    best practice way
    > of
    > doing this.
    >
    > Thanks
    >

  • Library Item: Where is the Library Item feature in Dreamweaver CC?

    I recently downloaded my trial of DW CC. I've looked in the Assets Panel, but I have yet to find where the Library Item feature is? 
    Thanks for the tips.

    You have to define and Save a library item before you'll see it in your site's Assets panel.
    Adobe Dreamweaver * Working with library items
    Nancy O.

  • Dreamweaver Library Item Etc.

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

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

Maybe you are looking for

  • Problem with Superdrive (?) and a few questions

    Hello, everyone, Yesterday I bought my Mac Mini and soon I wanted to test the dvd player. I popped in Casino Royale and then it started.... I heard a few noises but the DVD did not appear on my desktop. First I thought that perhaps I had the wrong si

  • In need of a favor (simple logo and youtube intro)

    I am starting a YouTube Fitness channel and I am in need of a logo and intro. I am nowhere near good enough with illustrator or after effects to create either of these. Would anyone be willing to help me out? Please please please.

  • OPEN DATASET in ECC6.0

    Hi Guys, We are upgrading from 4.6c to ECC 6.0 and a lot of our programs are giving unicode compliance error on the OPEN DATASET statement. Even though we are moving to a unicode system, the systems we talk to are not unicode compliant yet so we dono

  • Auto complete search in abap webdynpro

    Hello Everyone, I have a requirement to implement the search same as provided in sdn or google. E.g. if i serach a letter with "A' it gives me all the possible option staring with "A". so i just wanted to know if it is possible in webdynpro abap?????

  • Why is the location info so inaccurate

    When adding location information to titles for video clips or photos in iMovie for iOS5 the location is very inaccurate... Usually displaying only the nearest airport or major city closest to where the clip or photo was taken... More accurate informa