PDA

View Full Version : Java drop down menu


Shellfish
10-26-2005, 07:04 AM
helo again! I now need to make a jave drop down menu, is there anyway I can do it in dreamweaver or must i use some other software to make it ? Please help! Thanks!

kate
10-26-2005, 07:13 AM
Hello shellfish,

Project seven:


http://www.projectseven.com/tutorials/navigation/snapmenus/ ('http://www.projectseven.com/tutorials/navigation/snapmenus/')

;)

domedia
10-26-2005, 12:21 PM
Projectseven uses Javascript.

Shellfish, do you want a menu done in Java or Javascript?
Last time I inserted a Java menu on a website was 1999.

Shellfish
10-26-2005, 04:04 PM
what is the differents between Java & Javascript? I need to make a drop down menu that well overlap a flash banner and at the same time the menu button must be animated...not just change colours but have some animation on the button when mouse over and return to normal when the mouse leave the sub-menu arear. is there any tutorials i can read on? Please Help thanks!

kate
10-26-2005, 06:58 PM
Hya shellfish,

Java, developed under the Sun Microsystems brand, is a full-fledged object-oriented programming language. It can be used to create standalone applications and a special type of mini application, called an applet. Applets are downloaded as separate files to your browser alongside an HTML document, and provide an infinite variety of added functionality to the Web site you are visiting. The displayed results of applets can appear to be embedded in an HTML page (e.g., the scrolling banner message that is so common on Java-enhanced sites), but the Java code arrives as a separate file.

JavaScript, developed by Netscape, is a smaller language that does not create applets or standalone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity far beyond typically flat HTML pages -- without the need for server-based CGI (Common Gateway Interface) programs.

Some server software, such as Netscape's SuiteSpot, lets web application developers write CGI programs in a server-side version of JavaScript. Both client-side and server-side JavaScript share the same core JavaScript language, but each side deals with different kinds of objects. Client-side objects are predominantly the components of an HTML web page (e.g., forms, text boxes, buttons). Server-side objects are those that facilitate the handling of requests that come from clients, as well as connectivity to databases

It is important to understand that a Java-enabled browser is not automatically a JavaScript-enabled browser: the two technologies require entirely separate interpreters (licensed from separate companies) to handle the languages. It is unlikely, however, that future browsers will incorporate one but not the other (plus or minus implementation timetables on various platforms).

Starting with Netscape Navigator 3.0, HTML authors have been able to use JavaScript to link HTML form elements to Java applets (and plug-ins) or link Java applets to each other--LiveConnect™, Netscape calls this technology. Rather than competing with each other, Java and JavaScript are a powerful combination.

Much simpler and smaller than the Java vocabulary, JavaScript is within reach of authors who know HTML; writing full-fledged Java, on the other hand, benefits from experience with C and C++. Java and JavaScript share a number of vocabulary and syntax constructions, but the languages are intended for very different purposes.

All you need to program in JavaScript is a text editor and a JavaScript-enabled browser, such as Netscape Navigator 2.0 and later or Microsoft Internet Explorer 3 and later.

All you have to do now is decide. I thnk you may choose Javscript so...Project seven or webthang. or even one of the mods or admin here can create one for you. see my next link for a tutorial:

http://www.webthang.co.uk/tuts/tuts_dmx/css7/css7_7.asp ('http://www.webthang.co.uk/tuts/tuts_dmx/css7/css7_7.asp')

;)

domedia
10-27-2005, 01:11 PM
what is the differents between Java & Javascript? I need to make a drop down menu that well overlap a flash banner and at the same time the menu button must be animated...not just change colours but have some animation on the button when mouse over and return to normal when the mouse leave the sub-menu arear. is there any tutorials i can read on? Please Help thanks!
Javascript is part of the webs standards and is probably the way you should go.

Shellfish
10-31-2005, 08:08 AM
Hmm...ok thanks guys. Well try out the tutorials ;) Cheers!

stoneygossard
03-28-2007, 08:20 PM
Both client-side and server-side JavaScript share the same core JavaScript language, but each side deals with different kinds of objects.

Kate,

As a bit of a programmer myself I am amazed to see there is a server-side version of Javascript. This is the first time I have ever heard of it. Is it a full server-side scripting langauge as in php or asp?

Stoney