diff --git a/new/Javascript/aboutme.html b/new/Javascript/aboutme.html new file mode 100644 index 00000000..79cd9913 --- /dev/null +++ b/new/Javascript/aboutme.html @@ -0,0 +1,91 @@ + + + +About Me + + + + +
+ + + + +
+ +

+ +My info + + +Bio + + +

My information

+ + + + + + +

Bio

+ + +

+ +My info + + +Bio + + + + + diff --git a/new/Javascript/browser.html b/new/Javascript/browser.html new file mode 100644 index 00000000..54c2c7ff --- /dev/null +++ b/new/Javascript/browser.html @@ -0,0 +1,44 @@ + + +My Browser + + + + +
+ + + + +
+ +

+ +Browser + +

My Browser

+ + +

+ +Browser + + diff --git a/new/Javascript/career.html b/new/Javascript/career.html new file mode 100644 index 00000000..969e5e7f --- /dev/null +++ b/new/Javascript/career.html @@ -0,0 +1,87 @@ + + + +Career, Hobbies, School + + + + + +
+ + + + +
+ +

+ +Assignments + + +Hobbies + + +Job + +

My Assignments

+ +Javascript assignments +Expression web tutorials + +

My Hobbies

+ + +

"My Job

+ + + +

+ +Assignments + + +Hobbies + + +Job + + + + diff --git a/new/Javascript/chapter4.html b/new/Javascript/chapter4.html new file mode 100644 index 00000000..d08ba46c --- /dev/null +++ b/new/Javascript/chapter4.html @@ -0,0 +1,119 @@ + + + + + +Untitled 1 + + + + + + + diff --git a/new/Javascript/currency.html b/new/Javascript/currency.html new file mode 100644 index 00000000..ad50e6c7 --- /dev/null +++ b/new/Javascript/currency.html @@ -0,0 +1,48 @@ + + + + + +Untitled 1 + + + + + + + + diff --git a/new/Javascript/home.html b/new/Javascript/home.html new file mode 100644 index 00000000..64854f2e --- /dev/null +++ b/new/Javascript/home.html @@ -0,0 +1,113 @@ + + +Andres Delikat + + + +

Andres Delikat  +

+ +
+ + + + +
+ +

+ +My info + + +Books + + + +Bio + + +

My Picture

+ +
+ + +

My favorite books

+ + +

Last Update: + +

+ + + + + +

+ +My info + + +Bio + + +Bio + + + diff --git a/new/Javascript/myLib.js b/new/Javascript/myLib.js new file mode 100644 index 00000000..11c35e2e --- /dev/null +++ b/new/Javascript/myLib.js @@ -0,0 +1,48 @@ +//Andres Delikat +//Javascript library for Javascript assignment 12 +//Last update 10/18/2009 + +//Receives a number and returns its square +function calcSquare(num) +{ + return num*num +} + +//Receives a message to display to the user in a prompt +//then asks the user until they enter a valid number +//then returns the number +function getNum(message) +{ + do + { + num = parseFloat(prompt(message)) + } while (isNaN(num)) + + return num +} + +//Receives 3 paramters: the image to swap, the image to swap it to, and a message to put in the status bar +//image1 and image2 should be image objects +//status should be a string +//No return value +function swapImg(image1, image2, status) +{ + image1.src = image2.src //Swap 1 with 2 + var message = "Replaced " + image1.name + " with " + image2.name + window.status = message +} + +//Receives a variable number of paramters, and displays them as a numbered list +//No return value +function writeList() +{ + if (arguments.length < 1) + { + return + } + for (var x = 0; x < arguments.length; x++) + { + document.write(x, ": ", arguments[x], "
") + } +} + diff --git a/new/Javascript/numberPlay.html b/new/Javascript/numberPlay.html new file mode 100644 index 00000000..7bf9e9eb --- /dev/null +++ b/new/Javascript/numberPlay.html @@ -0,0 +1,27 @@ + + + +Number Play + + + + + + + + + + + diff --git a/new/Javascript/password.html b/new/Javascript/password.html new file mode 100644 index 00000000..2a38208c --- /dev/null +++ b/new/Javascript/password.html @@ -0,0 +1,20 @@ + + + +Password + + + + + + diff --git a/new/Javascript/register.html b/new/Javascript/register.html new file mode 100644 index 00000000..0e6b2846 --- /dev/null +++ b/new/Javascript/register.html @@ -0,0 +1,69 @@ + + + +Register + + + + + + + + + + +

Greetings!

+ +

Please register

+
+ + + + + + + + + + + + + + + + + +
Name:
Password:
Confirm password:
+
+ + + + + diff --git a/new/Javascript/youGuessed.html b/new/Javascript/youGuessed.html new file mode 100644 index 00000000..7021c64b --- /dev/null +++ b/new/Javascript/youGuessed.html @@ -0,0 +1,80 @@ + + +Guess + + + + +

Guessing Game

+

Can you guess the number?

+

How many tries will it take!

+ + + +