Quiz software, teaching tools, exam revision aids, learning games, courseware authoring
Java Menus
Java menu homeJava downloadBuy a java menuJava menu help centreContact us
Java menus » Java menu knowledge base

 SEARCH

 MENUS BY TYPE

 Drop-down menus

 Animated buttons

 Tree menus

 Sliding menus

 Tab menus

 Image maps

 MENUS BY NAME

 X-Bar menus

 iPOP menus

 iSlide menus

 iTree menus

 iTab menus

 iMMap menus

 Sensomap menus

 Magic menus

 MENU DESIGN

 Menu design

 Drop-down menus

 Web buttons

 Tree menus

 Sliding menus

 Menu tabs

 Image maps

 SITE LINKS

 Home

 Java downloads

 Prices / Buying

 Support

 Company

 Contact

 New menus

 Free menus

 PARTNER SITES

 Alien Menus

 Happy Menus
Java menu knowledge base
Java menus, javascript menus and DHTML menus distinguished
Return to knowledge base directory

 
The difference between java menus, javascript menus and DHTML menus
 
DHTML menus are toys - java menus are serious!
 
Java, javascript and HTML (without the D) are all similar languages in that they are "platform-independent", which means that when you write something using these kinds of code, it will run on all sorts of different platforms (i.e. all sorts of computer-types). This "platform-independence" is important for the internet, as you never know what kind of computer your site visitor may be using. Java and javascript are also similar in that javascript uses similar syntax to java and a few commands that are spelt like java commands. But the similarity stops here.
 
Java is a full-blown programming language, and its results are "compiled" into small independent files (known as, for example, applets, servlets, beans and applications) which cannot be read by human eye and which execute very fast when embedded in a web page. It is a powerful, efficient language and can create highly interactive web page elements. Unlike DHTML menus, java menus can be highly scalable (i.e. handle big indices without loss of performance). Java menus have a number of other advantages as well, which stem from java's maturity as a compilable programming language.
 
Javascript is a limited programming extension to HTML with code in the web page itself that can be read and written by most web designers. It is simpler and more limited than java. It is also much more vulnerable to browser differences and version differences. Although javascript is generally much more limited than java, it does have a few additional tricks up its sleeve - e.g. javascript, not java, is what writes those cookies that so many people love to hate; and javascript is better at manipulating or modifying HTML code dynamically. Neither of these features are needed for menus!
 
DHTML is not a programming language at all. It is a feature of most version 4+ browsers. This feature allows the HTML to be modified dynamically. You can modify the HTML (i.e. "take advantage of the DHTML-feature") with a number of programming languages, one of which is javascript. When people talk about "DHTML as a programming language", they usually mean "I'm using javascript to take advantage of the DHTML-feature". In practice this therefore means that there is usually NO difference whatsoever between a "DHTML menu" and a "javascript menu" (but a LOT of difference between these and a "java" menu).
 
A summary of some of the main disadvantages of DHTML:
  1. DHTML menus can't framebust; we can
  2. DHTML menus can't pop over Macromedia Flash, other applets or plug-ins; we can
  3. DHTML menus have to be inserted into every page; we only need one page
  4. DHTML menus face high compatibility problems
  5. DHTML menus have a large bytesize; we compress
  6. DHTML menus aren't scalable; we can handle vast indices

 
java menu