<%response.buffer=true%> <% yere = year(date()) Response.Expires = 0 %> JavaScript Intro
<examples>
  spacerspacer

Example Files

Below are links to example files that we have built in class.  If You click on the file name, you can see an example of the file in action.  Click on the word SOURCE to open a word document showing the source code for the file.

File Name Function Notes/Source
copyright.htm Shows current year as part of page copyright. Include this in a JS include file and keep all your pages up to date. SOURCE
showdate.htm Shows date in mm/dd/yyy format. Example of if/then syntax. SOURCE
popup2.htm Pops up affiliated pages into a dedicated window. A useful first function. Keeps users on your site. SOURCE
popup3.htm Pops a link to an answer tag location in the dedicated window. Good for a "Help" popup . SOURCE
popup4.htm Uses "popOptions" function to pass height and width to window. Flexible window function. SOURCE
dailyRotate.htm Rotates data (an article, for example) on the basis of the current weekday (0-6) Uses "Date" function and switch. SOURCE
modRotate.htm Rotates data based on modulus calculation of day of month. Good for rotating more data. SOURCE
modTest.htm Form demonstrating modulus values for numbers input. Helps up grasp the power of modulus. SOURCE
huey.htm Our first array example. A very basic array. SOURCE
randomQuotes.htm Generates random quotes from an array built in JS. A first use for an array. SOURCE
simpleMouseOver.htm Our most basic mouse over. Demo only! Does not preload images! SOURCE
rollImg.htm Rolls over image with one function call. Uses eval function. SOURCE
multiRoll.htm Rolls over multiple images via one mouse over. Function must be passed comma separated strings of locations and image object names. SOURCE
cssX1.htm CSS Example 1. Source code not yet available! SOURCE
cssX2.htm CSS Example 2. Source code not yet available! SOURCE
cssX3.htm CSS Example 3. Source code not yet available! SOURCE
createMenu.htm Dynamic drop down of links that is aware of which page it is on. Source code not yet available! SOURCE
caps.htm Capitalizes words input to text box. Source code not yet available! SOURCE
css-day2ex1.html Bullet List. Uses ordered list to create bulleted links.  Source code visible on page.
css-day2ex2.html Rollover Divs. Custom divs allow rollover effect without images.  Source code visible on page.
css-day2ex3.html Tab style Nav. Tab style horizontal navigation. Source code visible on page.
css-day2ex4.html Rollover Arrow. Include a rollover image without JS.  Source code visible on page.
simpleEmailCheck.htm Checks for "@" and "." in a text box. Limited first form check example. Source code not yet available! SOURCE
illChars.htm Checks for illegal characters in a text box. Uses a string of illegal characters embedded in function.  Source code not yet available! SOURCE
checkAll.htm Requires input for all text boxes. Loops through elements of form. Source code not yet available! SOURCE
multiFunction.htm Adapt any JS field check functions into one function. Uses a "false" variable to test each function successfully prior to submit. Source code not yet available! SOURCE
testHeader1.htm Simple header inc. example. Sniffs current page for treatment of included variable.  Source code not yet available! SOURCE
checkFields.htm Checks any element marked as required on a form. Each element prefaced with an asterisk in the name are assumed required.  Source code not yet available! SOURCE

 

   
Print this Page Back To Top

2000- <%=yere%> newMANIC INC, All rights reserved