Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2007, 04:58 PM
Member
 
Join Date: Nov 2007
Posts: 2
rudbls is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-01-2007, 08:03 PM
Senior Member
 
Join Date: Jul 2007
Posts: 1,022
hardwired is on a distinguished road
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?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 12-13-2007, 09:41 PM
Member
 
Join Date: Nov 2007
Posts: 2
rudbls is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 12-16-2007, 12:19 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,022
hardwired is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create Popup Menu with Sub Menu while right-clicking the JTree Node?? Kabiraa AWT / Swing 7 05-09-2008 08:54 AM
using java applets for dag & drop interface frea New To Java 0 03-27-2008 09:31 PM
Drop down menu BenNeiderlander New To Java 3 02-05-2008 08:35 AM
Creating a Downloader using JAVA shinojkk New To Java 0 01-08-2008 06:08 PM
how to create a menu bar in java tommy New To Java 1 08-05-2007 08:43 AM


All times are GMT +3. The time now is 12:33 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org