home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connectio…eloper Series 2005 March / Dev.CD Mar 05.iso / Utilities / Bluetooth File Exchange.app / Contents / Resources / Dutch.lproj / BluetoothHelp / shrd / nav.js next >
Encoding:
JavaScript  |  2003-12-19  |  676 b   |  28 lines

  1. // <head><meta name="robots" content="noindex"></head>
  2. function set_links() {
  3.     for(var i = 0; i < document.links.length; i++) {
  4.         document.links[i].onmousedown = highlight;
  5.     }
  6.     
  7.     var last_highlighted;
  8.     var last_display;
  9.     var last_color;
  10.     
  11.     var topic_title;
  12.     var page_title;
  13. }
  14.  
  15. function highlight() {
  16.     if (last_highlighted) {
  17.         last_highlighted.style.display = last_display;
  18.         last_highlighted.style.color = last_color;
  19.     }
  20.  
  21.     last_highlighted = this;
  22.     last_display = this.style.display;
  23.     last_color = this.style.color;
  24.     topic_title = this.text;
  25.  
  26.     this.style.display = "block";
  27.     this.style.color = "#ff4500";
  28. }