Often, in my internet project, I need to use the following javascript functions, that I consider very usefull:
Reload of a page:
function reload()
{
window.self.location.reload();
}
Automatic reload of a page (after 5 seconds)
function reload()
{
window.self.location.reload();
}
self.settimeout( 'reload()',5000);
alert("Page reloaded");
Link to go back
Go back
Open a popup window
function open_popup()
{
window.open("page.html","name of the window","width=500, height=400, left=200, top=300, scrollbars=yes);
}
Saturday, December 13, 2008
JavaScript
Subscribe to:
Post Comments (Atom)
Bogger
Antok Mashuri
Categories
- Security Compuer (1)
- tutorial (1)
Archives
-
▼
2008
(14)
-
▼
December
(12)
- Introduction to WAP
- 10 Tips for Wireless Home Network Security
- Autorun.inf structure and making
- Enable/Disable Autorun
- IE8 Is Great But I Uninstalled It
- Checking Compatability Issues While Upgrading From...
- Computer data storage
- Robots.txt
- JavaScript
- Virtualized computing environments can take advant...
- Networking
- Wireless Networks
-
▼
December
(12)
No comments:
Post a Comment