[thelist] Re: Adding diff search engines to one combo box.

.jeff jeff at members.evolt.org
Wed Nov 28 16:33:49 CST 2001


kevin,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Kevin Martin
>
> Mark "Kamikaze" Hughes has done an incredible "Universal
> Search" page --
> http://kuoi.asui.uidaho.edu/~kamikaze/search.html
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

i can't even begin to imagine the work it takes to keep all the search
interfaces up to the date with any changes the various engines might make.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> If you visit him with Internet Explorer and Javascript
> enabled, though, be prepared for an audio alert warning
> you about your foolhardy use of "Internet Exploder." :-)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

thank god ie6 doesn't support the non-standard <bgsound> tag.

nope, no childish wav files played in this house.

<tip type="JavaScript" author=".jeff">

got an array and want to see if a particular value is contained in one of
its indexes?  use one of these handy functions:

/*  case sensitive search  */
function ArrayFind(array, value)
{
  var returnValue = -1;
  for(var i = 0; i < array.length; i++)
  {
    if(array[i] == value)
    {
      returnValue = i;
      break;
    }
  }
  return returnValue;
}

/*  case insensitive search  */
function ArrayFindNoCase(array, value)
{
  var returnValue = -1;
  for(var i = 0; i < array.length; i++)
  {
    if(array[i].toLowerCase() == value.toLowerCase())
    {
      returnValue = i;
      break;
    }
  }
  return returnValue;
}

</tip>

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list