home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2004 January / PCWELT_1_2004.ISO / pcwhtml / js / navigatesearch.js < prev    next >
Encoding:
JavaScript  |  2002-05-02  |  625 b   |  23 lines

  1. //<script language=javascript>
  2.     // +++++++++++++++++++++ 
  3.     function funcNavigate()
  4.     {
  5.         var FeV = document.objNavigation.txtSortBy[document.objNavigation.txtSortBy.selectedIndex].value;
  6.         if (FeV!='')
  7.         {
  8.             parent.pcw_content_toc.location.href="../index/"+FeV+".htm";
  9.         }
  10.     }
  11.  
  12.     // +++++++++++++++++++++ 
  13.     function startSearch(strPageUrl, noSortBy)
  14.     {
  15.         if (noSortBy==false)
  16.         {
  17.             document.objNavigation.txtSortBy.selectedIndex=0;
  18.         }
  19.         top.SetKeyword(document.objNavigation.txtSearch.value);
  20.         parent.pcw_content_toc.location.href=strPageUrl;
  21.         document.objNavigation.txtSearch.select();
  22.     }
  23. //</script>