HTML Javascript Cookie Print Popup Blocking Form Cookies setTime GetCookieVal getElementById cookieEnabled array newCheck kbdevent Cookies Print Dialog getTime Object Linking Drop down new Javascript Cookie Popup Once Print Setting Question Redirection Roman Numerals SetCookie unescape Visitor Keyboard Event Key event Javascript Thumbnail Viewer Javascript Photo Viewer addEventListener Image Viewer GetCookie enable cookie Dropdown Drop down document.cookie DeleteCookie cookieVal Cookie Redirection attachEvent Algorithm

JAVASCRIPT THUMBNAIL VIEWER.ZIP

Javascript Prompts   (created at Aug 22, 2009)   64  

Javascript is also providing propmpt method for various purpose. This method will be very useful if you make AJAX application.Follwing example will bring up a window asking the question of your choosing, with a space for the viewer to answer. The second se...

Cookie enabled browser checking in Javascript   (created at Aug 29, 2007)   49  

This script checks to see if the user has cookies enabled in his browser. If not,it displays an alert window letting them know your site is using cookies.if (navigator.cookieEnabled == 0) {  alert("You need to enable cookies for this site to load prop...

Cookie Redirect   (created at Aug 29, 2007)   45  

When a page has performed it's purpose,a cookie can be set to redirect the browser to a different page on subsequent visits. Easily implemented. (Because it will redirect after one visit,the example is not shown on this site.)cookieRedirect.js/* This scrip...

New content notifier in Javascript   (created at Aug 29, 2007)   62  

Use this cookie to show your visitors what's new on your Web site since their last visit.newYou.jsnow = new DateexpireDate = new DateexpireDate.setMonth(expireDate.getMonth() 6)lastVisit = new Date(cookieVal("pageVisit"))document.cookie = "pageVisit=" now ...

Let popup once for event dialog or something like that in Javascript   (created at Aug 29, 2007)   46  

If you have a popup window which opens on your home page every time a visitor returns,it can become very annoying. Using cookies,this script can determine if the visitor has been here before,and only open a new window on their first visit to the page. The ...

Save And Restore Form Cookies in Javascript   (created at Aug 29, 2007)   33  

This script will save all of your form fields in a cookie. It includes all text fields,radio button selections,checkbox values,etc. When your visitor returns,all form fields are automatically repopulated with the same value that they entered on their last ...

How to record visitor's name by Cookie   (created at Aug 28, 2007)   61  

This cookie records the visitor's name. It can then be used for identification or other purposes,as needed.userName.jsfunction getCookieVal (offset) {  var endstr = document.cookie.indexOf (";",offset);  if (endstr == -1)  endstr = document....

Javascript & Cookie based Visitor Application   (created at Aug 28, 2007)   75  

This cookies records how many times the visitor has visited the page and writes to the page accordingly.visits.jsfunction GetCookie (name) {  var arg = name   "=";  var alen = arg.length;  var clen = document.cookie.length;  var i ...

Cross Browser Event Management Functions Using JavaScript   (created at Aug 28, 2007)   56  

What I have provided is a cross browser approach to attach and manage events. IE uses Object.attachEvent to attach an event to an object,whereas Fx uses Object.addEventListener to do the above function. Similarly the functions used for removing an attached...

Printing A Page   (created at Aug 26, 2007)   54  

how to print the current page

Example Of Creating Objects   (created at Aug 26, 2007)   65  

an example of creating object in javascript,taken from http://www.wdvl.com/Authoring/JavaScript/Tutorial/objects.htmldirect instance of an objectDespite the awkward sound name, a "direct instance of an object" simply means creating a new single object, suc...

Linking Drop Downs   (created at Aug 26, 2007)   80  

Linking drop downs is a frequent question. Here is a javascript based example