This website explores the use of javaScript to add interactivity to language learning materials. The main advantage of javascript is that it can be used to add a lot of interactivity yet web pages are still relatively small and fast to load. In addition no plug-ins need to be downloaded and installed.

Page Navigation 1.0

May 31, 2006 on 11:03 am | In Javascript Snippet | No Comments

A while ago I wanted to include a simple navigation bar / indicator at the top of each page in a sequence of pages. The idea was that the user could use it to move between pages in a sequence and at the same time get a clear indication of their progress in the sequence. I wanted them to be able to see how much they had done and how much remained to be done. The result is this simple script.

Time Conversion 1.0

May 28, 2006 on 1:28 pm | In Javascript Snippet | No Comments

I have improved the script that I wrote which can be used to display a GMT time in the local time of a visitor to the page, and the script can be downloaded.

Of course this script only works if the user has their computer clock set to their time zone, but the script now includes a button so that a visitor can check this.

There may still be bugs, and I would appreciate feedback so that I can improve this bit of code.

Time Conversion

March 26, 2006 on 9:00 pm | In Javascript Snippet | No Comments

I am trying to test a snippet of javascript that I want to use to make it easier to arrange on-line meetings with people living in different time zones.

The page should display the time of a meeting in GMT and should then also show it in the local time of the person visiting the page. I am testing this page to see if it works correctly. There will be problems when people have their computer set to a time zone that is different from the place where they actually are – though I am not sure why someone would wannt to do this. But there may also be problems because different versions of windows and different browsers may handle the code slightly different. I would very much like to know whether or not this page works correctly.

Does it show the correct time?

The page can be found at http://mackichan.e-lang.co.uk/javascript/timer.html

Valid XHTML Valid CSS