Latest Tutorials

Finding window's coordinates

<!DOCTYPE html> <html> <body> <button onclick=pos()>P...

Calculating window's size

<!DOCTYPE html> <html> <body> <button onclick=getSize()&...

The windows.object method

<!DOCTYPE html> <html> <head> <script> function popFun...

Example of a proper way of using pop-up

<!DOCTYPE html> <html> <body> <img onmouseover="bi...

Setting and clearing interval timer

<!DOCTYPE html> <html> <head> <script> //Counter incr...

Setting and clearing timeout timer

<!DOCTYPE html> <html> <head> <script> function setPw...

Dialog box and alert() method example

<!DOCTYPE html> <html> <body> <script> alert("No...

Dialog box and confirm() method example

<!DOCTYPE html> <html> <body> <script> if(confirm(...

Dialog box and prompt() method example

<!DOCTYPE html> <html> <body> <script> var name =...

Location object and assign() method

<!DOCTYPE html> <html> <body> <button onclick=page1()>Loa...