HoloGuides : Know Everything !

AZ

photos


 

find 
enhanced Search Agent
Solar Panel Vivid Colors
© Photographer: Davidwattsjr
Agency: Dreamstime.com

National Geographic
Photo of the Day

recently updated or created

Excel 2007
Paris
php
Canon EOS
XML
Michael Schumacher
Adobe Photoshop
transportation
Venezuela
Sydney, Australia
Kenya
Hungary
butterflies
Sudoku
Nikon D300
Pablo Picasso
Herb paris
Science Fiction
you are here : HoloGuides >>   Programming >>   JavaScript  
use the index for easy browsing : A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
History
Inventor: Mr Brendan Eich
Introduction

> > > >>>

Functions A-Z
isNaN
parseFloat
parseInt
Events
onAbort
onBlur
onChange
onClick
onDblClick
onDragDrop
onFocus
onKeyDown
onKeyPress
onKeyUp
onload
onMouseDown
onMouseMove
onMouseOut
onMouseOver

onMouseUp
onMove
onReset
onResize
onSelect
onSubmit
onUnload
Statements
break - exit a loop prematurately
comment
continue
do...while
export
for
for...in
function
If...Else
mport
label
return
switch
throw
try...catch
var
while
with
Objects
.Methods / .Properties

Math
.abs()
.cos()
.sin()
.sqrt()
...
Document
.bgColor
.images
.forms
.title
...

more to come

Source Code
. Free code for you
Guide / Tutorial
Browser elements
status, address, tools, ...
NN / IE
.
Viewable Area

Form elements
text, button, onChange, ...

Table elements
TR, TD, border, innerHTML, ...

Window functions
open (pop-up), ...

User Interface
. preloading images
Output
. Alert boxes
.
Status bar
. Windows
Input
. Keyboard Entries
. Mouse Events
.
Form elements
. Input Validation
. -
Email Validation
. -
Number Validation

Programming
. Conditions [if else]
. Variables & Arrays
. Functions & Parameters
. Loops [while, do while]
DHTML and DOM
. Windows
. - Frames
. Forms
. Tables
. Style Sheets

References
. JavaScript Syntax
. ECMA Script
. Object Oriented Programming
. Recursive Programming
Netscape Language Reference
Products
. Macromedia Dreamweaver
. Microsoft Visual Interdev
Resources
. Editors & Debuggers
. Netscape
. Microsoft
What is programming?
Programming or coding is the process of generating instructions that tell the computer to execute some specific tasks on behalf of the input it gets from the user or its environment.
What is JavaScript?
JavaScript is an interpreted programming language. The common ideas of modern object-oriented programming technics are included, as well as the ordinary 'variables, conditional execution, loops, functions, ...' constructs. It is mainly used within browsers to create/modify the content of the document or to add interactivity using HTML-form elements and the Document Object Model.

Bookmark this page. Link to it from your Intranet. Send a link to your friends.


Oct 13, 2006
Functions


Jan 25, 2003
regular expressions
http://developer.netscape.com/docs/manuals/js/client/jsguide/regexp.htm

Jan 25, 2003
kind of a screen tip, a delayed onMouseOver

<script language="JavaScript">
function doit() { timer = setTimeout("alert('tip comes here...')", 5000) }
function doitnot() { clearTimeout(timer); }
</script>
...
<a onmouseover="doit()" onmouseout="doitnot()" href="#"> Mouse over me</a>

Dec 11, 2002
function
isNaN()


Apr 26, 2001
CodeLifter
CodeLifter is a source code viewer that lets you see *all* of the code on any
http:// html page -- including pages protected by no-right-click scripts, trapped
in windows without file menus or url boxes, and 'referrer'  pages that cannot be seen in your browser. You can also access .css (cascading style sheet) scripts, external .js files (JavaScript files), and any other text file at an http:// address. [Web]

Jan 22, 2001
Remote Scripting

populate your page without reloading from the server based on user input!
[
Web]

Jan 10, 2001
JavaScript
sCRaMbLeR [shareware]

  • remove any carriage returns and line feeds from the source code, so the whole script code is placed in one line
  • remove any unnecessary whitespaces
  • remove any comments
  • remove any tabs (ASCii 9)
  • scramble up to 100 function names (e.g. 'x48292' instead of 'Ticker')
  • minimize the size of the script code and by that
  • speed up script processing
  • process HTML-files sized up to 60000 bytes (only in registered version)
  • leave any non-script-code as it was before
  • scramble scripts in batch mode via command line

download here [134KB] Free Downloads from CNET Download.com

Jan 8, 2001
JavaScript
Guides / Tutorial created
Looking to make our guides more accessible to novice programmers we are proud to announce our first [beta] version of the upcoming interactive guides to find answers and solutions to your problems. Please follow this link for the
Browser elements.

Nov 30, 2000
AAScripter

This program has over
150 free javascipts ready for you to copy and paste into your site. Easily add animations, special effects, cool menus, text effects, and more to your site, in seconds. Each script includes detailed instructions on how to add each script. Sample pages and a help section are included

download here [2.19MB] Free Downloads from CNET Download.com

Books
Beginning JavaScript: 800 pages.
Beginning JavaScript
[Wrox Press]


JavaScript :
The Definitive guide

JavaScript Bible: 1200 pages.
JavaScript Bible

Banner Barter


A simple alert box

send a message to the user : alert("message");


Writing to the Status Bar


A basic calculator

Lets take a simple calculator example:
Have a form with a field and a button.
The user enters a value, lets say 30 into the field and clicks on the
*2 button, asking the computer to calculate the double of the input value.

We need to program the button to perform this operation:

- If the button is clicked, an event that starts a function is triggered.
- That function takes the value from the field and multiplies it by 2.
- And, it shows the result to the user.

Enter a numeric value here . Click here to calculate the double of the value.

 


Number Validation

FormName : validateNumber
FieldName : checkNumber
JS-function : CyJS_Utils_validateNumber()


click for Internet Explorer
document.body.clientHeight
document.body.clientWidth
click for Netscape
window.innerWidth
window.innerHeight