George, Julie, Michael, Moxie & Hank
www.georgejaros.com

Visitors: 733158 Info
Since Feb 5, 2006
Copyright © 2010 GJJ
George's Universe v6
>

JavaScripts

These are JavaScripts that I wrote for various purposes. The scripts may be used, provided that any copyright or header information that I have included remains in tact. If you use and appreciate the code, send me a message, or buy me something off of my Amazon Wishlist. Thanks! These pages were all written by George Jaros and are part of George's Universe, but will open in new browser windows.

    >> Engraving Script: - This script allows you to enter separate messages for each item ordered. I created this script for a site where a separate engraving message had to be entered for each item ordered. The script will display the engravings for each item in a locked textarea field, one line per engraving. The engravings will also be stored in a hidden field as a » (&#187 - ASCII Character 187) delimited list.

    >> Labels Script: - This script is used to enter custom label information with a product. I used it on a site where labels could be ordered with custom information (like address labels). The script returns the label details in a hidden field. The label fields are Fixed Width fields which must be entered in both the script and the input fields.

    >> Complex Form Features: - This code allows for some complex form displays. First, it allows for a parent drop down to control the options displayed in a second dependent drop down. The options in the dependent drop down will change depending on the selected option in the parent form. Unlike most of the other JavaScripts out there, this parent/dependent relationship is defined in the function arguments rather than hard coded. Therefore the same script can be used in multiple parent/dependent relationships in a form. The only limit is to how many menu arrays you build. Second, it allows for fields to be hidden or shown when an event occurs. Third, it allows for fields to be shown if/when Other is selected from a drop down menu. Fourth, it allows for drop down menus to be reset to the first element or cleared completely when an event occurs.

    >> Cascading Drop Downs: - This is the code to have multiple drop down menus cascade options. Everything I found out there was for only two menus, so here's the code for as many menus as you want. Keep in mind though, the more menus you have the larger the options arrays are going to be. This page has six menus, but some of them link back to others.

    >> Tic-Tac-Toe: - This code allows for a Tic-Tac-Toe game that can be played against either a real person or a computer opponent.

    >> Random Numbers, Time, Date: - This page contains scripts to generate random four digit numbers in the format 0-9999, 0000 - 9999 and 1000 - 9999. Also included are a millisecond clock with time capture and a real-time date display.

    >> Arrow Animation: - This code uses eight images to make a graphic move around the screen in random directions.

    >> Search String: - This script will search a string for a substring and return the number of times the substring was found.

    >> Planets - Pop-up: - This page displays information about the selected planet in a pop-up menu.

    >> Planets - Multidimensional Array: - This page displays information about the planets of the solar system. The code uses a multi-dimensional array.

    >> Planets: - This page displays information about the planets of the solar system.

download aim  |   IM Me send me an instant message  |   add me to your buddy list  |   add remote to your page  |   download aol instant messenger

Valid CSS!   Valid HTML 4.01 Transitional   Cynthia Tested!   eXTReMe Tracker
Geocaching profile for gjaros
SaveSURGE.org


Google  
       


Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)   |   IP: 38.107.191.114   |   All Agents
<<    <    March 2010    >    >>
SU MO TU WE TH FR SA
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
 Today:  Wednesday, March 10, 2010
 Time:  08:47:23 PM CST
 Go to: 

DeKalb, IL

Fair 45°F
Fair Feels like 42°F


UV index: 0 Low
Dew Point: 44°F
Humidity: 96%
Visibility: 10.0 mi
Pressure: 29.64 in (rising)
Wind: From the E at 6 mph

As reported at De Kalb, IL,
on Wednesday, March 10, 2010,
at 7:10 PM local time
Data provided by weather.com
View the 5 Day Forecast









Select a RSS Feed:
CNN.com CNN.com
CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.


Chief justice calls Obama speech 'troubling'
Simmering tension spilled into public this week when Chief Justice John Roberts labeled the political atmosphere at the State of the Union address "very troubling."

Date: Wed, 10 Mar 2010 14:35:06 EST

'Lost Boys' star Corey Haim dies at 38
Former 1980s teen movie actor and heartthrob Corey Haim died early Wednesday, authorities said.

Date: Wed, 10 Mar 2010 20:41:27 EST

Police: 'Jihad Jane' tried suicide in '05
Colleen LaRose, the Pennsylvania woman indicted for allegedly conspiring to support terrorists and kill a person in a foreign country, attempted to commit suicide in 2005, according to a police report filed at the time.

Date: Wed, 10 Mar 2010 16:54:05 EST

CDC: Most with herpes don't know it
As much as 16 percent of the U.S. population between the ages of 14 and 49 has genital herpes, according to a government study released Tuesday.

Date: Wed, 10 Mar 2010 12:42:29 EST

Workers trained to hack Defense Dept.
The Pentagon is training people to hack into its own computer networks.

Date: Wed, 10 Mar 2010 19:27:39 EST

Answers sought in bulldozer death
American Rachel Corrie was crushed by an Israeli bulldozer in 2003 as it razed homes in a Palestinian camp. On Wednesday, her parents seek answers in an Israeli court.

Date: Wed, 10 Mar 2010 14:28:39 EST

Dems aim to ban for-profits' earmarks
House Democrats said Wednesday that they will ban earmarks directed to for-profit companies.

Date: Wed, 10 Mar 2010 18:47:53 EST

N.Y. state loses 2nd top cop in 2 weeks
New York state's top police official announced Wednesday he was quitting, the second acting superintendent to step down in as many weeks.

Date: Wed, 10 Mar 2010 13:50:14 EST

Beckham's return spoiled
Wayne Rooney (right) scores twice as Manchester United crush AC Milan 4-0 to reach the quarterfinals of the Champions League and ruin David Beckham's return to Old Trafford.

Date: Wed, 10 Mar 2010 17:14:24 EST

© 2010 Cable News Network LP, LLLP.