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

Visitors: 789594 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.112   |   All Agents
<<    <    September 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    
 Today:  Thursday, September 02, 2010
 Time:  07:44:22 PM CST
 Go to: 

DeKalb, IL

Fair 76°F
Fair Feels like 77°F


UV index: 0 Low
Dew Point: 66°F
Humidity: 72%
Visibility: 10.0 mi
Pressure: 29.77 in (rising)
Wind: From the SSW at 7 mph

As reported at De Kalb, IL,
on Thursday, September 2, 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.


Hurricane Earl downgraded as it approaches East Coast
Even as Hurricane Earl weakened Thursday, East Coast residents scrambled to ready themselves ahead of its arrival. Earl is now a strong Category 2 storm.

Date: Thu, 02 Sep 2010 20:04:27 EDT

Workers rescued after oil platform fire
A fire on an oil and gas production platform in the Gulf of Mexico is out and there is no indication of an oil sheen, the Coast Guard said. There were no serious injuries.

Date: Thu, 02 Sep 2010 19:49:58 EDT

Convicted killer spared death penalty
An Ohio death row inmate who has repeatedly claimed his innocence was spared execution, after the state's governor Thursday noted "legitimate questions" about evidence used to convict the man.

Date: Thu, 02 Sep 2010 18:21:16 EDT

BP uncaps oil well in Gulf
Thad Allen, the government's point man on the oil disaster, said crews are expected to begin efforts Thursday to remove the blowout preventer on BP's ruptured well in the Gulf of Mexico.

Date: Thu, 02 Sep 2010 19:35:15 EDT

Bonnie Blue actress from 'GWTW' dies
Cammie King Conlon, who played the ill-fated Bonnie Blue Butler in "Gone With the Wind," used to joke "that I peaked at age 5."

Date: Thu, 02 Sep 2010 20:15:54 EDT

Mideast peace talks start
Direct peace talks between Israelis and Palestinians will start Thursday as President Barack Obama urged both sides to come up with a peaceful solution to the long running Mideast conflict.

Date: Thu, 02 Sep 2010 19:20:54 EDT

President to aides: Find economic spark
After a week mostly focused on Iraq and Mideast diplomacy, it's back to the economy for President Barack Obama, who will deliver remarks Friday on the August unemployment numbers.

Date: Thu, 02 Sep 2010 20:06:20 EDT

Opinion: Social Security can help states
State budgets are being squeezed by unprecedented amounts for the third year in a row as legislators are forced to close gaps of up to 50 percent of state spending.

Date: Thu, 02 Sep 2010 15:49:47 EDT

She drops 100 pounds, gains new life
I come from a small-ish town in Oklahoma where we've never met a vegetable we couldn't fry and the only things more super-sized than our portions are the huge church complexes that alternate with fast-food restaurants along our roads.

Date: Thu, 02 Sep 2010 13:03:53 EDT

U.S., Iran battle on basketball court
Political discussions about Iran's nuclear aspirations were benched Thursday when the United States' and Iran's national basketball teams went head-to-head at the FIBA World Championships in Istanbul, Turkey.

Date: Thu, 02 Sep 2010 14:38:27 EDT

© 2010 Cable News Network LP, LLLP.