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

Visitors: 0 Info
Since Feb 5, 2006
Copyright © 2008 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.103.63.57   |   All Agents
<<    <    November 2008    >    >>
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:  Sunday, November 23, 2008
 Time:  07:01:32 AM CST
 Go to: 

DeKalb, IL

Fair 21°F
Fair Feels like 11°F


UV index: 0 Low
Dew Point: 18°F
Humidity: 87%
Visibility: 10.0 mi
Pressure: 30.25 in (steady)
Wind: From the SSE at 8 mph

As reported at De Kalb, IL,
on Sunday, November 23, 2008,
at 5:25 AM 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.


Militants vow to rescue hijacked Saudi tanker
Somali militants have vowed to rescue a Saudi supertanker that was hijacked by pirates a week ago, according to residents of a town where the pirates are believed to be based. The fighters told residents in Harardhere, Somalia, they would battle the pirates because the tanker -- loaded with 2 million barrels of oil -- is owned by a Muslim country and should not have been taken, Mohamed said.

Date: Sun, 23 Nov 2008 05:10:26 EST

Obama promises Afghanistan more aid
President-elect Barack Obama has given Afghan President Hamid Karzai assurances that the United States would send more aid and pay more attention to his war-torn country during his administration, according to Karzai's office.

Date: Sun, 23 Nov 2008 05:10:25 EST

17 alleged Afghan militants killed in air raid
Afghan forces and their allies killed 17 suspected militants in an air assault on what they called a "known insurgent safe haven," the Afghan government and the U.S. military announced in a joint statement Sunday.

Date: Sun, 23 Nov 2008 07:08:22 EST

1 dead in Washington state mall shooting
One man died and another was in serious condition Saturday evening after they were shot at a shopping center in Tukwila, Washington. A search for the shooter is currently under way, a police spokesman said.

Date: Sun, 23 Nov 2008 03:51:42 EST

Obama economic team starts to take shape
Former Treasury Secretary Lawrence Summers, who lost out to New York Federal Reserve President Timothy Geithner for the Treasury post, is expected to be the top economic adviser in the Obama White House, according to two sources close to the transition.

Date: Sun, 23 Nov 2008 02:25:33 EST

Astronauts complete marathon spacewalk
Astronauts from the shuttle Endeavour finished their third spacewalk Saturday after nearly seven hours working on a joint that helps generate power for the international space station. One more spacewalk is scheduled before the shuttle and station part ways on Thanksgiving. Inside, the crew continued work on systems designed to convert urine and sweat into water.

Date: Sat, 22 Nov 2008 23:05:58 EST

Bush touts free trade, sounds parting note
President Bush, in what could be his final overseas trip as president, called on international leaders to continue his administration's push for free trade during the global financial crisis. After his speech, Bush held his last meeting as president with his Russian counterpart, Dmitry Medvedev, saying he has worked hard to ensure a "cordial relationship" for the two countries.

Date: Sat, 22 Nov 2008 23:07:55 EST

Maldives' first president dies
Ibrahim Nasir, credited with ushering in independence to the Maldives as prime minister and then serving as its first president has died, a former government spokesman confirmed.

Date: Sun, 23 Nov 2008 01:41:10 EST

'Tipping Point' author looks at 'outliers'
Why are some people amazingly successful -- and other people with the same intelligence or abilities just part of the crowd?

Date: Fri, 21 Nov 2008 15:08:35 EST

A look out windows across the United States

Date: Fri, 21 Nov 2008 13:02:42 EST

© 2008 Cable News Network LP, LLLP.