| Server IP : 23.94.149.180 / Your IP : 216.73.216.147 Web Server : nginx/1.20.1 System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64 User : nginx ( 991) PHP Version : 8.6.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /files/www/hacklab/peterson/ |
Upload File : |
<html>
<head>
<title> </title>
<script language = "JavaScript">
<!--Begin JavaScript hide
/*JavaScript Homework #1-Part2 for CIS25, Spring 2000, Thursday evening class
Using Netscape 4.7
by: Linda Peterson
URL: http://www.hacklab.net/peterson/index2.html
*/
//end JavaScript hide -->
</script>
</head>
<body bgcolor="ffffff" >
<img src="HW1Part2.gif" width="394" height="76">
<layer name="FrogAnim" visibility=hide bgcolor="ffe7c6" width="400" height="250" top="150" left="150">
<br>JavaScript is being used not only to create web page interactivity for functionality
but also to provide a little humor in a sometimes drab environment. This script uses
several functions to switch the images depending on which section of the picture you
mouse over. It utilizes a client side image map to create the onMouseOver hot spots.
The method eval is used to execute JavaScript code being passed to the function which
switches the image being viewed. The method parsInt() is used in the function check()
to convert the string "navigator.appVersion" to a number. </layer>
<layer name="ShowHide" visibility=hide bgcolor="ffe7c6" width="400" height="250" top="150" left="150">
<br>This page has a layer that is initially hidden and is shown when you mouse over the word
COMPANY INFO in the title bar. The layer shown is a div with the id of companyinfo.
The function showLayer is used to evaluate which browser is parsing the page and instructs
the browser to make adjustments for Netscape and IE differences. The object property "companyinfo"
is passed to the showLayer function and makes the div visible using the properties visbile
and show.</center></layer>
<layer name="SideBar" visibility=hide bgcolor="ffe7c6" width="400" height="250" top="150" left="150">
<br>I was drawn to this page due to it's striking use of color blocking on the left side in
place of a standard menu. The center portion has information which is being rotated
making good use of the space on the page while keeping the page clean and eye appealing.
I thought it was a creative way of using rotating banners. This area is controlled by
the function "rotate" which is initialized in the body tag by the onload property.
As the page is loaded upon reaching the body tag the onload property initialized the
function "rotate" which 1st checks for browser types and provides a fix for the
differences in IE and Netscape. The function is passed images and urls which create
the rotating information displayed. The method setTimeout is used to regulate the
the amount of time in milliseconds before the JavaScript code is executed.</layer>
<layer name="MouseTrail" visibility=hide bgcolor="ffe7c6" width="400" height="250" top="150" left="150">
<br> This page shows an interesting trick with the mouse trailer, somewhat similar to the
Roving Eyes presentation given in class. The script contains a function "handlerMM"
which is passed the x and y coordinates which make the text "New College" follow the
cursor. This function uses the properties layer.pageX, layer.pageY to tell Netscape
browsers where to put the x and y coordinates. It also uses the properties event.clientY
and event.clientX to specified the x and y coordinates for Internet Explorer browser.
The use of the "?" conditional statement allows you to shorten the traditional if then
statement, its syntax is (condition) ? doiftrue : doiffalse. </layer>
<layer name="ShakeCA" visibility=hide bgcolor="ffe7c6" width="400" height="250" top="150" left="150">
</br>Try the Experience California button. The developer of this page obviously has a sense
of humor regarding the earthquake prone state he calls home. This page contains the
function "shake" which causes the window to jump around emulating the shaking motion
experienced in a good quake. Window.self method is used by the function to identify
what is to be moved. Window.self is the current window. The moveBy method is used to
move the window according the function arguments by 15 pixels. The function is invoked
by the user clicking on the button labeled Experience California. The buttons properties
and methods are inherited from the Input and HTMelements.</layer>
<layer name="JSQuik" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="460" left="250">
<center><br><br>The JavaScript Quick Start tutorial rates a 5, the tutorial layout was easy to follow
and the content was entry level. This site contains lots of reference material.</center></layer>
<layer name="JSOver" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="480" left="250">
<center><br><br>The JavaScript Overview tutorial rates a 3, as the tutorial was too technical for my
entry level viewing. The site does contain good references and will probably be a
good tutorial site as my skills improve.</center></layer>
<layer name="CreatBox" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="500" left="250">
<center><br><br>This tutorial gives a entry level introduction to alert, confirm and prompt tools. I
rate it a 4. The writing is straight forward and the scripts were demonstrated.</center></layer>
<layer name="JSPrimer" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="520" left="250">
<center><br><br>JavaScript Tutorial Primers contains 30 tutorials, covering the basics through form validation.
I have not completed all 30 tutorials, but have spent quite a few hours studying here.
The format is consistent and somewhat easy to follow. I rate this tutorial a 5.</center></layer>
<layer name="LearnJS" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="540" left="250">
<center><br><br>Learning Javascript is an 8 chapter tutorial that is easy to follow, I rate this tutorial a 5.
I liked the fact that it had a downloadable version that was printable, I still use this
as a reference source along with my other books. I thought it was an excellent site
for us novice folk.</center></layer>
<layer name="JSBasic" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="560" left="250">
<center><br><br>JavaScript Tutorial Basics, is a great place for students new to programming. The
tutorial is written with the assumption that the reader knows nothing about programming.
I rate this tutorial a 5, it continues to be a valuable reference site.</center></layer>
<layer name="Rollover" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="580" left="250">
<center><br><br>The Definitive Rollover Script offers a compact description of onMouseOver image rollovers.
While it is not for the first time programmer, I thought the layout and use of rollovers
was excellent. I rate this tutorial a 4.</center></layer>
<layer name="BasicRO" visibility=hide bgcolor="ffe7c6" width="300" height="200" top="600" left="250">
<center><br><br>Hands-On Basic JavaScript Rollovers isn't the best tutorial around, but I had to include
it just due to the fact I find the site so interesting. It is a great source for creative
image ideas. The tutorial is rated a 3, while it covers the script necessary it is not
terribly descriptive, and I found the script portion in particular difficult to read. </center></layer>
<p>
Roll your pointer over the links to reveal the description of JavaScript<br>
located within their pages. Click on the link to go to the page described.
</p>
<p><a href="http://ligsg22.epfl.ch/people/clavien/public_html/ctouch_v3.html"
onMouseOver="document.FrogAnim.visibility='show'"
onMouseOut="document.FrogAnim.visibility='hide'">Frog animation fun.</a></p>
<p><a href="http://www.compaq.com"
onMouseOver="document.ShowHide.visibility='show'"
onMouseOut="document.ShowHide.visibility='hide'">Show Hide Layers</a></p>
<p><a href="http://www.3com.com"
onMouseOver="document.SideBar.visibility='show'"
onMouseOut="document.SideBar.visibility='hide'">3 Com Side Bar Banner Rotation</a></p>
<p><a href="http://www.newcollege.edu/"
onMouseOver="document.MouseTrail.visibility='show'"
onMouseOut="document.MouseTrail.visibility='hide'">Fun with mouse trailing.</a></p>
<p><a href="http://www.lightner.net/lightner/index.html"
onMouseOver="document.ShakeCA.visibility='show'"
onMouseOut="document.ShakeCA.visibility='hide'">Shaking it up in California.</a></p>
<p>The links below lead to some of the tutorials I have found useful while
taking this class. As you pass your cursor over the links a brief description
and rating of the tutorial will appear. Click the link to take you to the site.
I have rated these tutorials on a 1 to 5 basis with 5 being the best. My
rating focus is entry level tutorials that offer easy readability, and
an easy to follow layout.
I rated each tutorial.</p>
<p><a href="http://www.projectcool.com/developer/jsz/jstips/index.html"
onMouseOver="document.JSQuik.visibility='show'"
onMouseOut="document.JSQuik.visibility='hide'">JavaScript Quick Start</a></p>
<p><a href="http://builder.cnet.com/Programming/Javascript/ss01.html"
onMouseOver="document.JSOver.visibility='show'"
onMouseOut="document.JSOver.visibility='hide'">JavaScript Overview 2</a></p>
<p><a href="http://wsabstract.com/javatutors/alert1.shtml"
onMouseOver="document.CreatBox.visibility='show'"
onMouseOut="document.CreatBox.visibility='hide'">Creating Interactive Boxes </a></p>
<P><a href="http://www.htmlgoodies.com/primers/jsp/"
onMouseOver="document.JSPrimer.visibility='show'"
onMouseOut="document.JSPrimer.visibility='hide'">JavaScript Primers</a></p>
<p><a href="http://trainingtools.com/online/javascript/index.htm"
onMouseOver="document.LearnJS.visibility='show'"
onMouseOut="document.LearnJS.visibility='hide'">Learning JavaScript</a></p>
<p><a href="http://geocities.com/siliconvalley/bay/3179"
onMouseOver="document.JSBasic.visibility='show'"
onMouseOut="document.JSBasic.visibility='hide'">JavaScript Tutorial Basics</a></p>
<p><a href="http://www.webcoder.com/howto/article.html?number=6,length=4,demo=1,source=1"
onMouseOver="document.Rollover.visibility='show'"
onMouseOut="document.Rollover.visibility='hide'">The Definitive Rollover Script</a></p>
<p><a href="http://www.ozones.com/handson/HTML/javascript.html"
onMouseOver="document.BasicRO.visibility='show'"
onMouseOut="document.BasicRO.visibility='hide'">Hands-On Basic Javascript Rollovers</a></p>
</body>
</html>
</body>
</html>