Tree Menu in Dreamweaver CS3

Hello I am having difficulty installing the following example:
1. http://code.stephenmorley.org/javascript/collapsible-lists/
In the section 'Using Collapsible Lists' how and where do I add the following lines:
CollapsibleLists.apply();
CollapsibleLists.applyTo(document.getElementById('newList'));
Thanks, I presume this to be all I need to make this work.

As with most widgets, there are three parts to make them work, namely
markup (HTML)
styling (CSS)
script (JS)
Markup
<ul class="collapsibleList">
  <li>
  Parent item
  <ul>
  <li>Child item</li>
  <li>Child item</li>
  </ul>
  </li>
  <li>
  Parent item
  <ul>
  <li>Child item</li>
  <li>Child item</li>
  </ul>
  </li>
</ul>
Styling
.collapsibleList li{
  list-style-image:url('button.png');
  cursor:auto;
li.collapsibleListOpen{
  list-style-image:url('button-open.png');
  cursor:pointer;
li.collapsibleListClosed{
  list-style-image:url('button-closed.png');
  cursor:pointer;
Script
<script type="text/javascript" src="CollapsibleLists.js"></script>
However, the link to the script is a passive one that needs to be aroused with a trigger. We call this trigger a Constructor. The Constructor creates an instance of the widget using
<script>CollapsibleLists.apply();</script>
or more specifically targeting an element with an ID of 'newList'
<script>CollapsibleLists.applyTo(document.getElementById('newList'));</script>
CSS is placed in the HEAD element
HTML is placed in the BODY element
JS can be placed anywhere within your document. However, because it takes time to load the scripts and you want the user to experience fast loading times, I tend to place the scripts at the bottom of the document, just above the closing BODY tag. Many others tend to place the scripts following the CSS in the HEAD element.

Similar Messages

  • Dependent Drop-Down Menu in Dreamweaver CS3 and ADDT

    Hi All,
    I have been trying to create a dependent drop--down menu so that when I select an item the corresponding information would populate the other field or fields. So far I have tried to use the tutorial posted on the link below by Waleed Barakat but I have had no sucess.
    http://www.tutorials-expert.com/tutorial/20354/-How-To-Create-Dependent-Dropdown -ListMenu-Forms.html
    I wanted to know if anyone has something else that I can review to help me in this process.
    Thanks

    Please refer to this article (http://forums.adobe.com/message/1069624#1069624) for information on how your tables should be set up.
    Date: Wed, 10 Jun 2009 00:49:28 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: Dependent Drop-Down Menu in Dreamweaver CS3 and ADDT
    Hi Georgev63,
    I followed the instructions to the link you sent me and it did not produce the results I had hope for.
    The directions are pretty straight forward and I attempted the steps several times with the same results.
    Basically the field that supposed to be the detail field is blank rather than having the ID of the master field.
    Any further suggestions would be much appreciated.
    Thanks
    E.
    >

  • Drop Down Menu in Dreamweaver CS3

    Is it possible to add a Drop Down Menu in Dreamweaver CS3 in an already existing navigation bar?

    Ok, I made one a link. See below...
    <div id="nav">
        <ul>
          <li class="style1"><a href="index.html">Home</a></li>
          <li class="style1"><a href="Vinyard/vinyard.html">Vineyard</a></li>
          <li class="style1"><a href="http://millnerheritage.com/Wines/winesTest.html">Winery</a><a href="Winery/winery.html"></a></li>
          <li class="style1"><a href="Wines/winesTest.html">Wines</a></li>
          <li class="style1"><a href="Wines/winesTest.html">Events</a></li>
          <li class="style1"><a href="Heritage/heritage.html">Heritage</a></li>
          <li class="style1"><a href="Classes/classes.html">Classes</a></li>
          <li class="style1"><a href="photos.html">Gallery</a></li>
          <li class="style1"><a href="Links/links.html">Links</a></li>
          <li class="style1"><a href="Order Online/order.html">Order Online</a></li>
          <li class="style1"><a href="Contact/contact.php">Contact<br />
          </a>        </li>
        </ul>

  • Adding a dropdown menu in Dreamweaver CS3

    I already have a navigation bar and some links on it and I
    want to add a pop-up menu to one of those links.
    Unfortunately Adobe has removed the MX pop-up menu
    functionality from Dreamweaver CS3 and the only way that I can see
    to make pop-up menus is to create a brand new complete menu bar
    using sprytes.
    But I don't want a complete menu bar, I want to add some
    popup menu items to an existing navigation link.
    Does anyone know how to do this with Dreamweaver CS3?
    Thanks

    Any sample code in SDK to add a drop down menu to a toolbar button in the plugin? Basically, I am trying to do something like below. A button with a dropdown sub menu and hook up some events to each submenu.
    I could get some help in SDK to build menu items and attach it to a main menu, but I am not sure whether I can use the same code to attache it to a toolbar button something like "Secure" button above in the screen shot.
            AVMenuItem MenuItem1 = AVMenuItemNew ("SubMenu Item 1", "ADBE:submenu1", MainMenu, true, NO_SHORTCUT, 0, NULL, gExtensionID);
            AVMenuItem MenuItem2 = AVMenuItemNew ("SubMenu Item 2", "ADBE:submenu2", MainMenu, true, NO_SHORTCUT, 0, NULL, gExtensionID);
            AVMenuAddMenuItem (MainMenu, MenuItem1, APPEND_MENUITEM);
            AVMenuAddMenuItem (MainMenu, MenuItem2, APPEND_MENUITEM);
    A sample code snippet will also help me. Thanks in advance.

  • Dreamweaver CS3 Menu's not working

    Using shortcuts or even manually clicking on the menu items
    to say "Put" a file, it just doesn't work. I don't get it. It
    worked fine... then (if memory serves me) when I downloaded a CS3
    update to all my cs3 applications, it stopped working.
    Any ideas what this is and how to fix it, besides
    uninstalling the update?
    JP

    Are you working from a site definition? Can you connect to
    the remote site?
    Can you GET files from it? Does this happen with all your
    sites? Does this
    site have a testing server defined?
    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
    ==================
    "joshperkins40207" <[email protected]> wrote
    in message
    news:f4ndd2$8vq$[email protected]..
    >I don't know what I'm saying. Bottomline, some menus are
    not working. I'm
    >on
    > a mac.
    >
    > CMD+SHIFT+U should upload (put) a file. It doesn't work.
    Well before you
    > think I changed my shortcuts, going to the menu and
    choosing SITE > PUT
    > doesn't
    > work either.
    >
    > A couple other things like right clicking on the Files
    area to "add a
    > folder"
    > or "create a file" doesn't work. I click it... nothing
    happens.
    >
    > Dreamweaver CS3 is the only software I am having this
    problem with.
    >

  • Dreamweaver CS3 (Mac) and Menu Master

    Since my work with Dreamweaver involves the very frequent
    repetition of certain sequences of steps, I have greatly speeded up
    my workflow by recording and storing a number of special commands
    accessible via tthe Commands menu. Unfortunately Dreamweaver does
    not allow the assignment of keyboard equivalents for user-created
    commands, so until now I have relied on the haxie Menu Master to
    make good this deficiency. But Menu Msster fails to work properly
    with Dreamweaver CS3 for the Mac. I have alerted Unsanity about
    this problem, but I don't think they have taken my complaint very
    seriously. I suspect that other Dreamweaver users have used Menu
    Master for the same purpose. If so, I would appreciate it if you
    would contact Unsanity too. A bunch of similar complaints might get
    thier attention.

    Hi. I am experiencing the very same problem. No issues for
    years up until recently - but my problems started not long after I
    installed the latest upgrade for Mac OS 10.5.4 to 10.5.5 - I am
    going to use Time Machine to revert back to 10.5.4 it may not be
    the answer, nor a long-term solution but it driving me nuts.
    I am currently deleting sites out of my site manager and then
    reloading them from the STE file everytime I need to work on them.
    I have read that this problem existed in Dreamweaver 8 on Windows,
    but an update sorted it out - lets hope an update appears soon to
    fix this problem.

  • Dreamweaver CS3 no longer opens files

    Greetings,
    I am not sure where to post this, so I will post here - already have a question open on the Dreamweaver forums.
    I have run into an unusual problem. I can no longer open files either on my local machine or remote server without Dreamweaver CS3 freezing. I am using OS X Leopard - 10.5.2 on an Intel MacBook Pro. A week or so ago I was able to open my .asp files just fine. Now, Dreamweaver simply freezes when I try and open them - either locally or remotely. I tried deleted the preferences file and removing site information from Manage Sites with no luck. I can create and open new files, but cannot open the existing files.
    I copied the files in question to a PC and opened them just fine using Dreamweaver 8.02. I just don't know enough about the technical aspects to properly troubleshoot this problem. I already tried reinstalling also.
    By the way, I am able to access, open and edit my files from the remote server using my PC and version 8.02.
    Any ideas?

    It seems this is a known issue with Dreamweaver. I was able to access the files just fine by deselecting "display external links" in the view menu. Strange that I did not have to do this before.
    For anyone interested, here are some links about this: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=18 9&threadid=1262486&highlight_key=y&keyword1=design%20mode and http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401608&sliceId=1

  • Design view in DreamWeaver CS3 disabled for CSS & Java

    I currently use Adobe Dreamweaver CS3, and only some files have the option to view them in code AND in design view. This works for most files (HTML, PHP, etc). However, anytime I create a new CSS or Java file, the design view is disabled:
    I have already tried the two other solutions I've found in this forum.
    First I tried Preferences > File Types / Editors, and I deleted all of the file types in the "Open in Code View" menu (pictured below).
    I restarted DW, and it didn't work.
    Then I tried several steps to re-create the Configuration folder (which it did, but the problem remained) listed here: http://kb2.adobe.com/cps/401/kb401118.html.
    Still nothing. HTML, PHP, ASP and all other files have the Design View and Split View available, but CSS and Java do not. I would really like to use DW to start editing CSS, but do not know it well enough to write in code and therefore could really use that handy Design View so I can learn as I tweak it.
    Any help much appreciated - thanks!

    HTML, PHP, ASP and all other files have the Design View and Split View available, but CSS and Java do not.
    That's correct. That's as it should be.
    A CSS file contains a bunch of text only CSS rules. Javascript is text-only script. There's no layout to see for CSS and JS files in Design and Split View so they're disabled.
    Files with layout e.g. .htm, .php have Design View because they're web pages with a layout which can be viewed.
    I would really like to use DW to start editing CSS, but do not know it well enough to write in code and therefore could really use that handy Design View so I can learn as I tweak it.
    Open any .htm or .php (or other) web page and its associated CSS file.
    Then tweak the CSS either via Code View in the CSS file, or using the DW CSS Editor when viewing the .htm/.php file, and see the formatting changes applied in Design View in the .htm (or .php) file.
    Do not rely on DW's Design View as an absolute reference for pixel perfect accuracy. It will always be an approximation only to assist visually oriented web designers while editing.
    Always test all CSS rules and edits in a range of browsers. Browser support for CSS rules and effects varies. Not all browsers support everything on offer in CSS1, CSS2 and CSS3.

  • CF8 Help in Dreamweaver CS3

    Does anyone know how to configure Dreamweaver CS3 to show CF8
    help when I hit F1 while I have a CF tag highlighted?
    Thanks so much for any help.
    A.J.cfm

    A.J.cfm wrote:
    > Hey thanks didn't see the CTRL+F1 menu item (I know
    'da') but that just opens
    > up the livedocs.adobe.com web page and the help content
    is not for the tag
    > highlted in DWCS3. Is there way to make it work like it
    did in Studio and
    > HomeSite?
    Never used CF Studio or HomeSite so I don't know how they
    worked. Perhaps you can explain more about what you're actually
    like to have happen.
    There is the CF8 updater extension for Dreamweaver (for CS3
    and CS4):
    http://www.adobe.com/support/coldfusion/downloads.html
    Which adds a new menu item on the Help menu which goes to:
    http://www.adobe.com/support/documentation/en/coldfusion/
    Adobe is moving toward online help, but they tend to have
    PDFs available of their docs which the above link offers.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Frame Overlapping in Dreamweaver CS3

    i am using dreamweaver CS3 and imported a menu of fireworks. then i used frames left frame, and right frame. in left frame i inserted menu and i linked the drag drop menu to my right frame. so in the whole i want a drag drop manu in left(which is freeze) n changes occur in the right. but now i am facing problem in overlapping of frames. my menu is cut off which i want to be visible at the right.so i want you to provide me a solution how to prevent overlapping of frames or an alternate to it.
    Thanks
    Rajeev.

    Don't use frames.  Frames were a popular choice among new web designers in the mid-1990's but not anymore.  HTML5 no longer supports framesets. They are tricky to work with and they make site pages very hard for site visitors to use.
    http://apptools.com/rants/framesevil.php
    To give your site pages a consistent appearance, use Dreamweaver Templates, Server-side Includes and/or Library Items.
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Dreamweaver CS3 Paste HTML Problem

    Hi, I'm a fairly basic user of Dreamweaver CS3. I used to be
    able to paste HTML into webpages with no problem. I have recently
    upgraded to CS3 and that menu command (Paste HTML) seems to have
    gone. Can anybody help?
    Thanks, your help would be appreciated!

    dsbrett wrote:
    > Hi, I'm a fairly basic user of Dreamweaver CS3. I used
    to be able to paste HTML
    > into webpages with no problem. I have recently upgraded
    to CS3 and that menu
    > command (Paste HTML) seems to have gone.
    If you want to paste the actual HTML code into a page, just
    switch to
    Code view, and paste.
    Copy, cut, and paste in Dreamweaver are context-specific. If
    you copy a
    section of a page in Design view, and paste it in Design
    view,
    Dreamweaver automatically copies and pastes the underlying
    HTML. If you
    copy in Code view, and paste into Design view, Dreamweaver
    assumes that
    you want to display the code (as you might want to do in an
    online
    tutorial), so it converts all the angle tags into HTML
    entities and
    displays the tags and attributes in the page.
    The simple rule is copy and paste from Code view to Code
    view, or from
    Design view to Design view.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Golive 6.0 to Dreamweaver CS3 or CS4

    About a year ago I called customer service and asked if I upgraded Golive 6.0 to CS3 the migration kit would work, I actually still have the chat record with customer service where I specifically asked them if I could migrate. I was told yes so my company purchased Dreamweaver CS3. Of course when I tried the gl2dw migration, it didn't work and I opened a support ticket and went back and forth with support for weeks trying resolve the issue. I asked for a trial of golive 9 or cs2 so I could upgrade and they sent me invalid links. Finally after a few weeks I was just basically told too bad we can't help you, offered me a refund if I hadn't installed the software which of course I had. So I have had cs3 for over a year and haven't ever used it. Now I see CS4 is out and it says that you can migrate from golive 6.0. Is that really true? Have they ever fixed it so you can upgrade 6.0 to CS3? I can't even get the upgrade version for CS4 because I used my upgrade on CS3. I have a company website with over 500 web pages I need to convert. I really need to upgrade to DW and soon. My company buys thousands of dollars of software and licenses from adobe every year, we are a non profit agency and I can't keep spending money on things that don't work! This is extremely frustrating. HELP!

    Making changes site wide can be accomplished 2 ways but in reality unless you are using a dynamic site that draws its page designs from a  central template page.
    In retrospect you may want to consider creating a Library item first for anything you may want to change site wide (The first way). Being that you are not there yet you will probably want to use the Edit > Find and Replace from the menu bar (The second way).
    Simply open up the file you have changed and another you have not. Next (assuming the option is not right in front of you) on the menu bar: View > Code and Design, making sure you can see both code and Design in both files. Then from the menu bar: Edit > Find and Replace. Copy the code regarding the object that you want to change making sure that you copy any opening and closing tags if appropriate from the unchanged file then paste in into the FIND box. Do the same with the file that you have changed except you will paste that into the REPLACE box also making sure that you have copied the same area.
    Make sure Find and Replace Settings are:
      Find in: Entire current local site
      Search: Source code
    Then press the Replace All button.

  • Searching for a good tree menu

    Hi all,
    I need to add a tree menu to my website.
    I cannot find a tree menu that works the way I need.
    I need a tree menu that:
    - can be styled with CSS;
    - highlight the current menu branch even with URL parameters:
    example:
    the link
    http://www.mysite.com/index.php?cat_id=1&prod_id=101
    should
    highligth the 'category 1' branch;
    and
    the link
    http://www.mysite.com/index.php?cat_id=1&prod_id=145
    should
    highligth the 'category 1' branch;
    then
    the link
    http://www.mysite.com/index.php?cat_id=2&prod_id=435
    should
    highligth the 'category 2' branch;
    - collapse/expand menu branch from links on page
    Can you point me to a site/tutorial to do this?
    I thank you in advance.
    tony

    On 06 Mar 2009 in macromedia.dreamweaver, sweetman wrote:
    > Hi all,
    >
    > I need to add a tree menu to my website.
    > I cannot find a tree menu that works the way I need.
    >
    > I need a tree menu that:
    > - can be styled with CSS;
    >
    > - highlight the current menu branch even with URL
    parameters:
    >
    > example:
    > the link
    http://www.mysite.com/index.php?cat_id=1&prod_id=101
    should
    > highligth the 'category 1' branch;
    > and
    > the link
    http://www.mysite.com/index.php?cat_id=1&prod_id=145
    should
    > highligth the 'category 1' branch;
    > then
    > the link
    http://www.mysite.com/index.php?cat_id=2&prod_id=435
    should
    > highligth the 'category 2' branch;
    >
    > - collapse/expand menu branch from links on page
    >
    > Can you point me to a site/tutorial to do this?
    http://projectseven.com/products/menusystems/tmm2/
    Not free, but will do everything you want.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Dreamweaver CS3 Remote View file display

    Specs:
    Dreamweaver CS3 on Windows XP Pro SP2.
    Upgraded from DreamWeaver MX
    1680 x 1050 60Hz resolution on vertical display LCD panel
    with the monitor turned/displayed verticle so I can view more of
    our site tree.
    Problem:
    When viewing files in split panel display (Remote Site on the
    left, Local Files on the right) my Remote Site display will
    collapse upward...hiding files from view, but they are actually
    still there: I can click Refresh and the tree expands again: After
    several seconds or sometimes immediately portions of the
    folders/files will collapse/hide again.
    It will do this to files I have selected. It will hide files
    I have checked out. The worst of it is that sometimes files will
    hide or collapse within sub-folders..giving the appearance that
    files are stored in incorrect folders.
    Thank you for your time

    Can you explain the symptoms in more detail? Mixing the use
    of DW8 with
    DWCS3 would not make remote files appear and disappear.
    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
    ==================
    "shimmerdark" <[email protected]> wrote in
    message
    news:fs91gm$dea$[email protected]..
    > Having the same problem with our company website. It
    seems that files
    > randomly
    > disappear and reappear when they feel like it. Not sure
    if it is a FTP
    > issue or
    > something else. I am the only one in our organization
    that is currently
    > using
    > dream weaver cs3. Everyone else is still use DW8.
    >

  • Dreamweaver CS3 enable synchronization

    I have recently installed Dreamweaver CS3 and created a site. For this site, I wish to enable synchronization. However, when I go to the the Site Definition window (Click on "Site" from the menu, then "Manage Sites," then select my site and click "Edit," then click the "Advanced" tab, then choose "Remote Info" from the options on the left), the option for "Manage synchronization information" is grayed out. As a result, the "Synchronize" button (the two arrows running in a circle) in the "Files" section is grayed out, as is "Synchronize sitewide" under the "Site" menu.
    How do I fix this to enable synchronization?

    How is your remote server currently set up?
    I could pull out the old iMac and set something up similarly to test it in my CS3 and see if it was a version specific issue. It could also be that you have something wrong in your remote server settings that would make synchronization of files impossible.

Maybe you are looking for

  • Pasteboard size is huge when I create a new document

    When I create a new document or open an old document in InDesign CS4, the pasteboard is huge. For example creating an 8.5x11 document results in a pasteboard that is 36 inches wide buy 12 inches high. I have read all the solutions posed in other thre

  • PO header on ME21N

    hi everyone is there an enhancement or user exit where we can keep the PO header(the screen which contains the Address tab page, the Org. Data tab page etc) open, like for example we can disable the button which is clicked to open the PO header.

  • How to format floats (or doubles ) but not converting to String?

    Hi everybody, my question is simple: I have a number,lets say 51,4567321 and i want to format it ,as a float or double ,as 51,45. One way is to do: float x=((hits * (float) 100) / this.getAccesses()); DecimalFormat perCentFormatter = new DecimalForma

  • How to Import Custom Views and JSPs to ALBPM Enterprise

    Hi, I am using ALBPM 5.7. I have developed a custom view in Studio. When I publish and Deploy the Project in ALBPM Enterprise (WebLogic 9.2), I check true the Import Custom JSPs and Views (or similar terminology). But when I login to the portal after

  • Program ZRFI_RFFOBR_U contains syntax errors

    Hi Gurus, While maintaing varaint for program ZRFI_RffoBR_U in App - we got the error "Program ZRFI_RFFOBR_U contains syntax errors" can anyone help us waht could be the reasons. Actually our client is doing regression testing