Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Searching

You are here: irt.org | Articles | JavaScript | Object | Searching

Published on: Sunday 9th February 1997 By: Martin Webb

search.htm source code

<html lang="en">
<head>

<title>Search</title>

</head>

<script language="JavaScript"><!--
var vhref = true;
var vdesc = true;
var vtech = true;
var vdate = true;
var searchtext = '';

//This script defines an object called 'articleObject'
function articleObject(href,text,desc,tech,date) {
  this.href = href;
  this.text = text;
  this.desc = desc;
  this.tech = tech;
  this.date = date;
}

//This script creates an array called 'articleArray'
var articleIndex = 0;
var articleArray = new Array();

//This script creates a new instance of a 'articleObject' object
function setArticle(href,text,desc,tech,date) {
  articleArray[articleIndex] =
    new articleObject(href,text,desc,tech,date);
  articleIndex++;
}

//This script populates the array 'articleArray' with
//'articleObject' objects
setArticle('../js001/index.htm',
  'Calendar JavaScript',
  'Demonstrations of different calendar displays.',
  'JavaScript, Functions, Arrays, Tables, Floating Frames, Windows',
  '19961201');
setArticle('../js002/index.htm',
  'Array-Tours JavaScript',
  'Demonstration of navigation tools.',
  'Frames, JavaScript, Arrays, Objects, Forms',
  '19970101');
//--></script>

<frameset
  frameborder="0"
  framespacing="0"
  rows="50,*">

<frame
  scrolling="no"
  frameborder="0"
  marginheight="0"
  marginwidth="0"
  name="tools"
  noresize
  src="tools.htm">
<frame
  scrolling="yes"
  frameborder="0"
  marginheight="0"
  marginwidth="10"
  name="results"
  noresize
  src="results.htm">

</frameset>

</html>

Feedback on 'Searching'

View the profile on Martin Webb and the list of other Articles by Martin Webb.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.