|
JavaScript Opera Articles
You are here: irt.org | Articles | JavaScript | Opera
| 094. Monday 15th June 1998 - Building a Dynamic Thank You Page | Synopsis: See how you can use JavaScript to enhance your Thank You page to let the user know that what they sent is exactly what you received.
Techniques: JavaScript, CGI, forms, thank you page |
| 083. Saturday 2nd May 1998 - JavaScript Beginners Start Here | Synopsis: A link up with Michael Bednareks' SiteCreator Channel has been arranged. There are currently five JavaScript Beginner Articles available on Michael Bednareks' SiteCreator Channel. If you find the existing articles hard to follow then these will be just the thing for you.
Techniques: Beginners introduction to JavaScript, functions, objects, forms |
| 082. Saturday 2nd May 1998 - Pr�t � lire | Synopsis: Have you ever wanted to display a different page in another language for non-English visitors to your site? This article explains how, in Netscape Navigator 4 and Microsoft Internet Explorer 4, you can trap which language the visitors browser is using and then show them either a pre-translated version of your page. For Microsoft Internet Explorer 4 the article also shows how to use page transitions to disolve a document into the translated document.
Techniques: navigator, language, browserLanguage, substring, RevealTrans, transitions, setTimeout |
| 080. Saturday 25th April 1998 - Advanced mailto: techniques | Synopsis: This article describes advance uses of the mailto: protocol. It describes five working examples that you can use for your own purposes: i) using a link, ii) To: Cc: and Bcc:, iii) using a form, iv) multiple mailing using a form.
Techniques: links, links array, mailto:, to=, cc=, bcc=, onClick, forms, href, radio buttons, check boxes, select options, action, method, enctype, text/plain, click(), setTimeout(), onSubmit |
| 077. Saturday 18th April 1998 - Keeping Count of Downloads | Synopsis: Have you got files on your web space that people can download? Do you want to count how many times they are downloaded? This article discusses how to keep count of how many times a file is downloaded. Using a combination of image or floating frame replacement, this utility loads a CGI image to increment a counter. You obviously need to have a CGI image counter for this to work - most people do - either from your ISP or from a third party.
Techniques: Images, files, forms, counters, swapping images, floating frames, |
| 069. Saturday 21st March 1998 - Math functions in JavaScript | Synopsis: Written by Janus Boye. Math is power. So says one of the many ads on the Internet. JavaScript has the power, to do all functions that are on a normal pocket calculator, and even a few more.
Techniques: Math, random(), round(), NaN, isNaN(), sin(), cos(), tan(), acos(), asin(), atan(), E, LN10, LN2, LOG10E, LOG2E, PI, SQRT1_2, SQRT2, abc(0), atan2(), ceil(), exp(), floor(), log(), max(), min(), pow(), sqrt() |
| 066. Friday 6th March 1998 - Speeding up image rollovers | Synopsis: Jason Nugent describes a technique to speed up the loading of rollover images, without disrupting the ability to view the document.
Techniques: Images, image src, document.images, onLoad, image rollovers, onMouseOver, onMouseOut |
| 063. Saturday 14th February 1998 - Passing data from one form to another | Synopsis: This article describes how to transfer data from a form on one page to a form on another page.
Techniques: form, search string, unescape, escape, encoded characters, check boxes, radio buttons, select options, split(), replace() |
| 060. Friday 23rd January 1998 - Dynamic Table Sorting | Synopsis: Illustrates a method for sorting tables dynamically. The first method uses the search property of the location object to reload the document, which is extended to demonstrate a generic solution for all tables. The second method shows the new data binding facility available in Microsoft Internet Explorer 4.
Techniques: Tables, sorting, data binding, search parameter, objects, sorting objects, text files |
| 059. Saturday 17th January 1998 - Fading Images in and out | Synopsis: How to jazz up those boring old image highlights that the majority of us have on our web pages.
Techniques: images, onMouseOver, onMouseOut, color, colour, browser safe palette, setTimeout, fade, glow, eval, clearTimeout |
| 058. Friday 9th January 1998 - Events and Event Handlers | Synopsis: Describes JavaScript Events and Event Handlers, explaining what they are and what we can do with them. It also includes a complete list of the events supported in each release of JavaScript.
Techniques: events, event handlers, onAbort, onBlur, onChange, onClick, onDblClick, onDragDrop, onError, onFocus, onKeyDown, onKeyPress, onKeyUp, onLoad, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onMove, onReset, onResize, onSelect, onSubmit, onUnload |
| 053. Friday 12th December 1997 - JavaScript Games | Synopsis: Keith Drakard takes you through the various steps needed to make a JavaScript "Simple Simon" game.
Techniques: Game, images, image src, Image(), image replacement, setTimeout, random numbers, Math, ceil |
| 052. Saturday 6th December 1997 - Easter | Synopsis: This article will describe how to calculate the date of Easter Sunday, "held on a variable Sunday in March or April". This date will then be used to calculate other religious dates dependent on Easter Sunday.
Techniques: Easter, padout, year, month, day, getMM, getDD, getMMDD, accumulated days in the year, leap years, adding or subtracting days from one date to get another |
| 051. Saturday 29th November 1997 - Selecting Random Numbers | Synopsis: This article describes how to select random numbers from a range, to produce a selection of lottery numbers. As an added bonus it shows how to also randomly show a background color.
Techniques: Random numbers, empty arrays, images, table background color |
| 050. Saturday 22nd November 1997 - The 3rd Saturday in November | Synopsis: Describes how to calculate the 1st, 2nd, 3rd, 4th, 5th and last weekdays of any month. This will then be used to calculate the dates of various variable Calendar Events or Holidays.
Techniques: Day of the Week, Nth Day, makeArray, Leap Year, calendar events, holidays |
| 042. Saturday 27th September 1997 - Dynamic Dropdown Menus | Synopsis: Describes a method whereby one dropdown menu will effect the contents of another dropdown menu, for ALL JavaScript enabled browsers.
Techniques: frames, onSumbit, parent, location, href, selectedIndex, menus, objects, options, floating frames, IFRAME |
| 040. Saturday 13th September 1997 - Online JavaScript Resources | Synopsis: Summary of the more useful online JavaScript and JavaScript related resources
Techniques: documents, tutorials, references |
| 039. Saturday 13th September 1997 - Nested Splitting | Synopsis: Describes how to split nested strings
Techniques: split, length, array, replace, while, break, string, substring, indexOf, function overridding, JavaScript1.1 |
| 038. Saturday 6th September 1997 - Split Ends | Synopsis: Describes how to split strings, and how to split strings in JavaScript 1.0. Also describes how the two methods can be combined to provide a script suitable for all browsers.
Techniques: split, length, array, while, break, string, substring, indexOf, function overridding, JavaScript1.1 |
| 037. Saturday 30th August 1997 - How long is a piece of string? | Synopsis: Describes methods associated with the String object, how to use them to find characters or strings within strings, to replace characters and portions of text, to change the case and to alter the style and formatting of text.
Techniques: length, charAt, indexOf, lastIndexOf, split, substring, replace, iteration, toLowerCase, toUpperCase, upperFirst, upperInitial, arguments, big, blink, bold, italics, small, strike, sub, sup, fixed, fontsize, fontcolor |
| 034. Sunday 10th August 1997 - Controlling Images | Synopsis: Describes how to show different images within the same document, how to show different background images within the same document, how to control images within frames, and how to present an image slide show.
Techniques: image, location, search, href, substring, img, body, background, src, frame, target, onLoad, setTimeout, integer, string, preloading |
| 033. Sunday 3rd August 1997 - Random Numbers & Random Events | Synopsis: Describes how to show images and text at random, how to show one of several forms randomly, refer to random banner adverts, random urls, random background color and images, how to generate a random questionnaire, and random frames.
Techniques: Math.random(), rnd(), rand(), seconds, getSeconds, %, modulus, images, forms, arrays, windows |
| 032. Saturday 26th July 1997 - Scrolling Text | Synopsis: Covers scrolling text within a text box
Techniques: form, text, onSubmit, onClick, scrolling, setTimeout, substring, timer, buttons |
| 029. Monday 7th July 1997 - Dictionary Popup Utility | Synopsis: Explains how to open sibling windows, and how to pass it information.
Techniques: window, open, search, location, substring, indexOf, ?, javascript:, functions, array, objects, split, strings, JavaScript1.1, onBlur, focus |
| 028. Monday 30th June 1997 - Text Strings and String Objects | Synopsis: Describes the differences between Text Strings and String Objects, and how to cope with these differences.
Techniques: string, text, object, array, protocol, toString, method, function, ==, =, comparison, equal, toLowerCase, array, properties |
| 026. Saturday 21st June 1997 - Image Maps | Synopsis: Describes how to highlight portions of an imagemap, uses two different methods, plus an alternative for MSIE
Techniques: image, imagemap, onMouseOver, onMouseOut, usemap, map, status, history, go, floating frames |
| 025. Sunday 15th June 1997 - Form -> Cookie -> Form | Synopsis: how to store information from a form as a cookie, and how to retrieve the information and place it back in the form.
Techniques: indexOf(), Get_Cookie, Set_Cookie, form, elements, text, select, radio, checkbox, eval(), substring(), find and replace, unescape(), checked, selectedIndex |
| 023. Thursday 12th June 1997 - Time of Day | Synopsis: Describes how to interrogate the time display different images, and two sample clocks
Techniques: conditional expression, getHours, getMinutes, getSeconds, images, image object, time |
| 021. Sunday 8th June 1997 - Automatic Redirection | Synopsis: Redirect visitors from your old pages to your new location
Techniques: onLoad, setTimeout, refresh, location, href |
| 019. Thursday 22nd May 1997 - Dropdown Menus | Synopsis: Using form selection options to change location of browser
Techniques: onSubmit, onClick, onBlur, onFocus, onChange events, forms, options, selections, images, buttons |
| 017. Wednesday 23rd July 1997 - Random Banner Adverts | Synopsis: Display random banners one after another with links to the appropriate document
Techniques: images, floating frames, setTimeout, objects, arrays, random, location |
| 015. Saturday 22nd November 1997 - Changing the location of another frame | Synopsis: Describes how to use a text box and/or a button to change various frame locations.
Techniques: frames, forms, onClick, onSubmit, button, top, parent, sibling frames |
| 014. Thursday 17th April 1997 - Reading the contents of a directory | Synopsis: Read the links[] array of another frame.
Techniques: Netscape, frames, links[], array, href, onLoad |
| 013. Wednesday 9th April 1997 - Re-directing access within Frames | Synopsis: Stops direct access to pages that should be visited through frames.
Techniques: frames, location, search string, conditional expression, parent |
| 008. Thursday 3rd April 1997 - Arguments Array | Synopsis: Describes how to overload the arguments of a JavaScript function.
Techniques: JavaScript, function, array, arguments, elements |
| 007. Saturday 29th March 1997 - Automated Links | Synopsis: Creates Top | Next | Last | End links for navigation within a large document.
Techniques: JavaScript, automation, Anchor, Name, function, HREF |
| 006. Saturday 15th November 1997 - Highlighting Images | Synopsis: Highlighting images. Updated to include MSIE and NN 4.
Techniques: Images, onMouseOver, onMouseOut, onClick, detecting browser |
| 004. Wednesday 5th March 1997 - Odds and Sods | Synopsis: JavaScripts not worthy of their own page.
Techniques: Frames, Mailto, Dates |
| 002. Wednesday 1st January 1997 - Array-Tours | Synopsis: Demonstration of navigation tools.
Techniques: Frames, JavaScript, Arrays, Objects, Forms |
|
|