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.

Similar Messages

  • 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

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

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

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

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

  • 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 warning with web player

    We have a client who is using our web packaged program from a
    CD and they are getting Active Content warnings and they do not
    like it. Is there a way to set the active content to run when start
    the CD without using the registry? They said something about doing
    it through discretionary access control list (DACL) files.

    I've never heard of DACLs but I think the 'Mark of the Web'
    will satisfy
    your need? Search it and see...
    Erik
    dparrott wrote:
    > We have a client who is using our web packaged program
    from a CD and they are
    > getting Active Content warnings and they do not like it.
    Is there a way to set
    > the active content to run when start the CD without
    using the registry? They
    > said something about doing it through discretionary
    access control list (DACL)
    > files.
    >
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

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

  • Active/Passive Solution With 9iAS R2

    Hi All,
    Question about active/passive 9i AS R2 solutions. My developers is looking for a solution where they can deploy OC4J packages on one node(the passive node) and then when verified make it the active node and deploy to the other node. The system contains 2 webcache servers, two single node 9i AS servers(only one node is used) and a db server 9i R2 with the Infrastructure db on it and prod database. OID is on a single node and we do not use SSO, on the same node we have reports and discoverer.
    So, I want to go from a single node iAS solution to using both nodes where one is passive and is used to deploy new code on and to verify it, and then switch it to be the active node. Is there a way to do this without clustering the AS nodes and how would that be configured. If making this on two single nodes is not possible, how would a two node cluster config with manual switch look like. Or, is there an other way to do this?
    Regards,
    Krister

    Uhm... you can do something like you say with WebCache.
    Try this:
    - set up a Webcache wich serves the 2 application server
    - in Webcache set up the two application server as origin servers for your site
    - map only one of the origin server to your site (site-to-server mapping) in WebCache
    Then, you can use one application server as a pre-production environment, and the other as a production environment.
    When you want to switch the two environments, all you have to do is to reconfigure the site-to-server mapping in Webcache and restart webcache.
    Take in mind that by doing this, all the open sessions to your web application will die.
    I think that a more usual test environment and production environment is safer.
    Bye,
    Andrea

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

  • 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

  • Can a search engine read the contents of a Library file embedded in a page?

    Can a search engine read the contents of a Library file
    embedded in a page? Or would SSI be the way to go. I'm creating a
    large library of text-based information and links, and I want to
    have much of it modular so I can add a link and all the many pages
    on my site updates to reflect the change. A big concern is that
    when a search engine visits my site, can it read the content
    embedded in the library item, or is SSI a better method to help the
    search engine read my content?
    Thanks

    Yes, search engines can read Dreamweaver library items. The
    library only exists on your own hard drive. Once you add the
    library item to your pages it's in there as regular HTML.
    If you have more than 20 pages on your site, they say SSI is
    better, because when you update you only update the SSI. If you
    stick with library items each page has to be uploaded every time
    the library is updated.

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

  • Library item inserting - messes up whitespace after update

    hey,
    i've got a site where i'm using a library item. it inserts
    okay, and updates okay on all the pages i've used it on so far.
    What's really annoying though is that it doesn't preserve any
    whitespace around the library item. So if I put a nice couple of
    newlines between the content prior (and after) the library item,
    it'll be stripped after each update. It's intensley irritating.
    Is there anyway to stop this ?
    - Simon

    Yeah - it's a known issue with Library items. Have you
    considered using
    server-side includes instead?
    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
    ==================
    "Simon_J_K" <[email protected]> wrote in
    message
    news:e76q05$i2j$[email protected]..
    > hey,
    >
    > i've got a site where i'm using a library item. it
    inserts okay, and
    > updates
    > okay on all the pages i've used it on so far.
    >
    > What's really annoying though is that it doesn't
    preserve any whitespace
    > around the library item. So if I put a nice couple of
    newlines between
    > the
    > content prior (and after) the library item, it'll be
    stripped after each
    > update. It's intensley irritating.
    >
    > Is there anyway to stop this ?
    >
    > - Simon
    >
    >

Maybe you are looking for