Results 1 to 4 of 4
  1. #1
    rudbls is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default Need Help Creating a Java Drop-Down/ Collapsing Menu

    Hi all,

    I was wondering if anyone could help me with the code for creating a Java drop down menu like the example I have provided in the link below. My goal is to have the menue appear under each catagory and "push" down the other catagories. This is easy to do in Flash, the only problem is I have to use a very tall canvas to accomodate all the links. I would like to be able to have other objects under the menue itself and move up and down as the menu collapses. I guess a better description would be a "collapsing" java menue.

    An example would greatly help if anyone knows where to find one.

    http://www.russellbrowndesigns.com/sample.htm

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    I don't have the Flash plug-in so am unable to see your illustration.
    Here's an older example of a custom component Expand/Collapse Panels.
    Is it in the ball park?

  3. #3
    rudbls is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default

    Here is the one I built.

    Oglebay Institute : Environmental Education

    The only thing I would like to change is when you click on a specific menu item ex: "Environmental Education" that part of the collapsing menu would stay open as you move through the different links under "Environmental Education." Is the possible without using frames?

    Here is an example of what I am trying t accomplish:

    Building Standards Compliant Web Sites

    I am missing a piece of code but am not sure what it is.

    Any advice.

  4. #4
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    You are working with javascript. You can find out how the web page author designed and implemented his menues with his html source (page > view source) and his "generic.js" script. Copy the script address from the source file and paste it into the address bar after/behind the page address to download the script. You can put it together/figure it out with these two documents.

Similar Threads

  1. Replies: 7
    Last Post: 05-09-2008, 08:54 AM
  2. using java applets for dag & drop interface
    By frea in forum New To Java
    Replies: 0
    Last Post: 03-27-2008, 09:31 PM
  3. Drop down menu
    By BenNeiderlander in forum New To Java
    Replies: 3
    Last Post: 02-05-2008, 08:35 AM
  4. Creating a Downloader using JAVA
    By shinojkk in forum New To Java
    Replies: 0
    Last Post: 01-08-2008, 06:08 PM
  5. how to create a menu bar in java
    By tommy in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •