|
Smart Tree Menu
Sample HTML Source:
<script language="JavaScript">
<!--
function testWindow() {
window.top.name = "main";
myWindow = window.open("_scripts/working.htm" ,"testWindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=320,height=220");
}
function fetch(url) {
rootWin.location = url;
popup.opener = self;
}
var agt=navigator.userAgent.toLowerCase();
var generation = parseInt(navigator.appVersion);
var specific = parseFloat(navigator.appVersion);
var NETSCAPE = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1));
var NETSCAPE2 = (NETSCAPE && (generation == 2));
var NETSCAPE3 = (NETSCAPE && (generation == 3));
var NETSCAPE4 = (NETSCAPE && (generation == 4));
var NETSCAPE4_plus = (NETSCAPE && (generation >= 4));
var NETSCAPE_only = (NETSCAPE && ((agt.indexOf(";nav") != -1) || (agt.indexOf("; nav") != -1)) );
var NETSCAPE5 = (NETSCAPE && (generation == 5));
var NETSCAPE5_plus = (NETSCAPE && (generation >= 5));
var MSIE = (agt.indexOf("msie") != -1);
var MSIE3 = (MSIE && (generation < 4));
var MSIE4 = (MSIE && (generation == 4) && (agt.indexOf("msie 5.0")==-1) );
var MSIE_4plus = (MSIE && (generation >= 4));
var MSIE5 = (MSIE && (generation == 4) && (agt.indexOf("msie 5.0")!=-1) );
var MSIE_5plus = (MSIE && !MSIE3 && !MSIE4);
var AOL = (agt.indexOf("aol") != -1);
var AOL3 = (AOL && MSIE3);
var AOL4 = (AOL && MSIE4);
var OPERA = (agt.indexOf("opera") != -1);
var WEBTV = (agt.indexOf("webtv") != -1);
// -->
</script>
</head>
<BODY>
<script language="JavaScript">
<!--
if (MSIE) {
// Optimize download speed for MSIE Browsers
document.write('<applet code=stmenu.class archive=stmenuMSIE.jar align=baseline width=186 height=133 MAYSCRIPT>');
} else if (NETSCAPE) {
// Optimize download speed for Netscape Browsers
document.write('<applet code=stmenu.class archive=stmenuNETSCAPE.jar align=baseline width=186 height=133 MAYSCRIPT>');
} else {
document.write('<applet code=stmenu.class archive=stmenu.jar align=baseline width=186 height=133 MAYSCRIPT>');
}
//-->
</script>
<!--
##############################################################
# Product: Smart Tree Menu - Developer Version #
# Version: Developer Gold #
# Developer: OpenCube, Inc. http://www.opencube.com #
# Compatibility: Netscape 2.0+, MSIE3.0+ #
# Copyright: 2000 #
##############################################################
-->
<param name="filelocation" value="params.txt">
<param name="notice" value="SmartTree Menu (Developer Version), Copyright (c) 2000, OpenCube Inc.">
</applet>
Back to Smart Tree Menu
|
New on the Java Boutique:
New Article:
Servlets and JSP
In addition to applets, applications, servlets, and articles, we are now accepting submissions of JSP snippets! If you have a piece of JSP code that you think would be useful to others, then send it in!
... [Submissions]
New Tutorial:
Introduction to Java Part 6:
Building Your First Application
Selena Sol goes through all the Java code and HTML necessary to create a java application.
... [more Tutorials]
Year in Review:
The Best of 1999
Y2K has come and gone and now we have a chance to look back over the past year.
In 1999 we posted over 250 applets, servlets, applications, and tools.
In this list are the 24 most popular apps from 1999.
... [popular applets]
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
100s of free Java code files to download.
Copyright 1999-2000 internet.com Corp.
All Rights Reserved. Legal Notices.
|