Library item and CSS

This is a multi-part message in MIME format.
------=_NextPart_000_006D_01C6ACBA.1BE3DB50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I need to build a CSS enabled navigation bar and make it a
library item =
in dreamweaver.
My question is I want to put the CSS code right above the
menu bar in a =
block of code that will all be included in the library code.
Can I do =
this with CSS without the <style> tags being placed in
the head of the =
page?
Thanks
Scott Powell
------=_NextPart_000_006D_01C6ACBA.1BE3DB50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I need to build
a CSS enabled =
navigation bar and=20
make it a library item in
dreamweaver.</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>My question is I
want to put the CSS =
code right=20
above the menu bar in a block of code that will all be
included in the =
library=20
code. Can I do this with CSS without the
&lt;style&gt; tags being placed =
in the=20
head of the page?</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial
size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Scott
Powell</FONT></DIV></BODY></HTML>
------=_NextPart_000_006D_01C6ACBA.1BE3DB50--

This is a multi-part message in MIME format.
------=_NextPart_000_0387_01C6AD63.F7A6A920
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
>>>I need to build a CSS enabled navigation bar and
make it a library =
item in dreamweaver.
Why not make it a Server Side Include instead and avoid all
the =
maintenance hassles of Library items?
>>>My question is I want to put the CSS code right
above the menu bar in =
a block of code that will all be included in the library
code. Can I do =
this with CSS without the <style> tags being placed in
the head of the =
page?
Yes, by defining the styles inline but you're better off
setting up your =
CSS as a separate file then linking to it from the head of
the page.
--=20
Regards
John Waller
------=_NextPart_000_0387_01C6AD63.F7A6A920
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial
size=3D2>&gt;&gt;&gt;I need to build a CSS =
enabled=20
navigation bar and make it a library item in
dreamweaver.</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV>Why not make it a Server Side Include instead and
avoid all the =
maintenance=20
hassles of Library items?</DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial
size=3D2>&gt;&gt;&gt;My question is I want to =
put the CSS=20
code right above the menu bar in a block of code that will
all be =
included in=20
the library code. Can I do this with CSS without the
&lt;style&gt; tags =
being=20
placed in the head of the
page?</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial
size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Yes,
by defining the styles =
inline but=20
you're better off setting up your CSS as a separate
file then =
linking=20
to it from the head of the page.</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial
size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial
size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT><BR>--
<BR>Regards</DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV>John Waller</DIV></BODY></HTML>
------=_NextPart_000_0387_01C6AD63.F7A6A920--

Similar Messages

  • 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

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

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

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

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

  • Library items and templates

    i have created a template and on the side i have a list of
    links that i change regularly (not in editable region). I dont want
    to upload all my files everytime i change a link in the list, so i
    thought a library item would be the go. However, when i update the
    file it changes the template and it updates every file, that means
    i have to upload all files. My question is, should i put the
    library item in an editable region on its own, or what.
    thanks

    > My question is, should i put
    > the library item in an editable region on its own, or
    what.
    Whether you use a Library item or just a Template for this
    will not affect
    the workflow of -
    1. Make a change
    2. Upload all changed pages
    What you would want to use if you don't want to have to do
    that would be a
    server-side include (SSI) (use DW's F1 help to read about
    them). In this
    case, your navigation would be in the SSI fragment file,
    which would be
    either in an editable or a non-editable region of the
    template (use the
    editable region approach in the event that you might want to
    have different
    navigation elements on different pages, and the non-editable
    region approach
    if you will not have different navigation elements). Then,
    when you might
    want to change navigation, just make the change to the
    fragment file, upload
    it, and magically all pages reflect the change.
    When you use server-side includes, there are at least two
    files involved:
    1. The parent file
    2. The include file
    The parent file (the one RECEIVING the included file's code)
    must be named
    with a file extension that triggers a server parse to find
    the include
    directives (e.g., *.shtm(l), *.asp, *.php, etc.). Of course,
    the extension
    would have to match the server models supported by a) your
    site definition,
    and b) the hosting server. The include file (the code
    fragment file) may be
    named with any extension you desire (we joke here about
    naming them with the
    'monkeybutt' extension, since that extension name is
    irrelevant to the
    function of the file itself). HOWEVER, if the include file is
    named with an
    extension that DW doesn't recognize, then you will not get a
    Design view
    option when the file is opened.
    For this reason, it's best to just name your include files
    with the *.htm(l)
    extension. Alternatively, if you *really* like
    '*.monkeybutt', you can add
    this extension to the list of file extensions that DW
    recognizes -
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410&sliceId=1
    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
    ==================
    "deutschy" <[email protected]> wrote in
    message
    news:[email protected]...
    >i have created a template and on the side i have a list
    of links that i
    >change
    > regularly (not in editable region). I dont want to
    upload all my files
    > everytime i change a link in the list, so i thought a
    library item would
    > be the
    > go. However, when i update the file it changes the
    template and it updates
    > every file, that means i have to upload all files. My
    question is, should
    > i put
    > the library item in an editable region on its own, or
    what.
    > thanks
    >

  • Flash Pro CC to CS6 fla issue - Bad library items and new library items with unicode names

    I've noticed a strange issue when opening fla files in Flash Pro CS6 that have been edited in Flash Pro CC. If there are library items in the fla with names that include symbols such as ">" or ".", unicode named symbols are created and the original symobls are unuseable. There are many symbols that cause the issue and the symbols just have to be a part of the name.
    Steps to reproduce:
    1) Create an fla file in Flash Pro CC.
    2) Add a single movieclip to the library with a symbol name of ">".
    3) Save the file.
    4) Open the file in Flash Pro CS6.
    Results:
    Library contains 2 symbols, one named ">" and one named "&#062".
    Expected:
    There's one library symbol named ">".
    After that double clicking the symbol named ">" will do nothing and instances of the symbol will have all their content removed.
    This issue is breaking a JSFL script I wrote that loops the library items. When the script attempts to access item.layerCount the script errors out. My team is blocked from using Flash Pro CC in combination with Flash Pro CS6 because of this issue. The only good solution I can think of is to all switch to CC at the same time to avoid converting our fla files to CS6 from CC.
    Any info on a fix for this issue would be appreciated.

    The dialog you get when you open the FLA in CS6 is that new features may not be available in CS6 so you should save it to a new file to avoid corruption. There's no "save down" from CC to CS6 (yet). So opening the file in CS6 isn't advisable in the first place.
    That said, library items are supported between them both so to your point, yes, I get the same exact behavior. A single symbol named ">" in CC produces 2 library items in CS6 named ">" and "&#062", and the original item is lost. Although I'm not sure where I'd classify this issue being you shouldn't be opening a newer version file from an older version of the application. I did also try XFL, same issue. If they decide to create a save-down to CS6 and this still exists, I'd consider it a bug.
    As for a fix, I think about the only thing that comes to mind is identify the characters causing issues and run a JSFL in CC to rename the library item temporarily to something you know will work fine. Then once back in CS6, run the JSFL opposite to convert them back to what you want. e.g. "this > that" to "this XYZ that" in CC, then "this XYZ that" to "this > that" in CS6. Shouldn't be too hard to map as long as the replacement is unique.

  • How to restore the link between on screen library item and audio file?

    Do you have a BORKEN LINKS problem?
    I'd like to share a useful discovery.
    I have read a number of posts both here and other forums concerning 'broken links' problem after moving iTunes music folder to an external drive.
    ie. In the iTunes window you see a long list of playlists on the left (blue tinted) column and song names and details in the other columns but when you try to play a song a message tells you the link is broken and ! appears to the left of song name.
    Broken links can easily be restored if you use SMART PLAYLISTS.
    Note: I'm not sure about manually created playlists, so take care.
    How to repair the broken links:
    Step one:
    Make a back up copy of 2 important files,
    the current iTunes library and iTunes Music Library.xml files
    place copies somewhere away from the iTunes folder.
    Preparation:
    first go to iTunes Preferences and in the advanced settings page, uncheck the two boxes, Keep iTunes Music folder organsied : and Copy files to files to iTunes Music Folder when adding to library.
    Method A. only some links broken.
    Within iTunes highlight each of your playlists in turn**, highlight all the songs listed and hit the delete key on the keypad. Don't worry all the category info will not be lost, keep the playlist window open so you can monitor the link repair progress.
    In the FILE menu, click on 'add to library', and select the artist folder containing the songs you just deleted. Click on the choose button, and soon all the songs will appear once more in the song list window complete with all associated info that you have previously added like genre, comments, grouping.
    Method B. all links broken.
    If your entire song list has broken links like mine did (ie when you try to play the song a ! appears to the left of song name, restoring the entire list is easy, having made the settings mentioned above, click on 'add to library' then select the iTunes Music folder itself, in a short time all the songs will appear on screen as before you deleted them with links restored.
    NOTE
    **For this reason it is a good idea to create a smart playlist corresponding to every Artist folder that appears in Finder, this greatly facilitates any future repairs of broken links in batches. In fact there is an advantage in making all the playlists of the 'Smart' type and taking the time to fill in fields like Genre, Comments, and Grouping as this information allows the application to place every song into at least one category which can be named when setting up the smart playlist.
    CE
    Message was edited by: Colin Edwards

    Replying to my own post here
    Apologies, this question should have been placed in Apple Mac users section.
    If you are a windows user please ignore unless you use iTunes also on a Mac :o)

  • Page persistence indicator and Library item

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

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

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

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

  • .lbi files and css

    I'm making a nav bar library item and trying to apply styles
    to the links. I can't figure out how to write an inline style for
    hover. I know how to write it in the external css file. So I'm
    wondering if you can link to an external css file from within a
    .lbi file. I'm thinking no since there's no head tag. Then is there
    anyway to add a background color when you're hovering over a link
    in an .lbi file?
    Or is there a new/better way to create a nav bar so that you
    can add it to and update it on multiple web pages automatically -
    some other method besides library items, that would allow me to use
    more style options?
    Thanks, Lisa

    > I'm making a nav bar library item and trying to apply
    styles to the links.
    Don't.
    > I can't figure out how to write an inline style for
    hover.
    You can't.
    > So I'm wondering if you can link to an external css file
    from within a
    > .lbi file.
    You can, and DW will do it. But, it's incorrect. A well
    formed Library
    item cannot contain <html>, <head>, or
    <body> tags, and cannot contain links
    to external stylesheets, or embedded stylesheets. If you want
    to see your
    existing styles expressed in a Library item, use a
    design-time stylesheet
    (check F1 Help).
    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
    ==================
    "yayawatson" <[email protected]> wrote in
    message
    news:f9l8vv$4ev$[email protected]..
    > I'm making a nav bar library item and trying to apply
    styles to the links.
    > I
    > can't figure out how to write an inline style for hover.
    I know how to
    > write it
    > in the external css file. So I'm wondering if you can
    link to an external
    > css
    > file from within a .lbi file. I'm thinking no since
    there's no head tag.
    > Then
    > is there anyway to add a background color when you're
    hovering over a link
    > in
    > an .lbi file?
    >
    > Or is there a new/better way to create a nav bar so that
    you can add it to
    > and
    > update it on multiple web pages automatically - some
    other method besides
    > library items, that would allow me to use more style
    options?
    >
    > Thanks, Lisa
    >

  • Library item changed apperance.

    I committed my nav bar ul to a library item and now the appearance of my nav bar has an off white background and I cannot change it back.  Why did this happen?  Thank you.

    Possibly you inserted library item in the wrong division.  Would need to see your CSS & HTML code to give more meaningful answers.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • 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 can I "search" for Library Items?

    I am developing a site in flash and have over 800 Library Items. My problem is, I need to edit a portion of a Library Item and cannot find the Library Item, and NO, I did not delete the Library Item because when I go to preview or test the flash document, the Library Item is there in the movie. Is there any way to search for the Library Item? I am using Flash Professional 8..
    Thank you.

    I'm not sure how you would search for it if you don't know how to identify it.  You should be able to doubleclick on the object on the stage to open it up for editing.  When you do that, the stage area will display the library name of the object at the top of the stage border in a tab.  Things are ordered alphabetically in the library, so if you know the library name of the object you should be able to narrow down where it is.

  • Can't update library item in object library

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

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

Maybe you are looking for