Static website for local motocross track (circa Jun 2004)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

58 lines
1.4 KiB

  1. // menu button functions
  2. if (document.images) {
  3. Home1 = new Image();
  4. Home1.src = "/images/Home.jpg";
  5. Home2 = new Image();
  6. Home2.src = "/images/Home_f2.jpg";
  7. TrackInfo1 = new Image();
  8. TrackInfo1.src = "/images/TrackInfo.jpg";
  9. TrackInfo2 = new Image();
  10. TrackInfo2.src = "/images/TrackInfo_f2.jpg";
  11. Directions1 = new Image();
  12. Directions1.src = "/images/Directions.jpg";
  13. Directions2 = new Image();
  14. Directions2.src = "/images/Directions_f2.jpg";
  15. Calendar1 = new Image();
  16. Calendar1.src = "/images/Calendar.jpg";
  17. Calendar2 = new Image();
  18. Calendar2.src = "/images/Calendar_f2.jpg";
  19. Results1 = new Image();
  20. Results1.src = "/images/Results.jpg";
  21. Results2 = new Image();
  22. Results2.src = "/images/Results_f2.jpg";
  23. King1 = new Image();
  24. King1.src = "/images/King.jpg";
  25. King2 = new Image();
  26. King2.src = "/images/King_f2.jpg";
  27. Gallery1 = new Image();
  28. Gallery1.src = "/images/Gallery.jpg";
  29. Gallery2 = new Image();
  30. Gallery2.src = "/images/Gallery_f2.jpg";
  31. More1 = new Image();
  32. More1.src = "/images/More.jpg";
  33. More2 = new Image();
  34. More2.src = "/images/More_f2.jpg";
  35. Soon1 = new Image();
  36. Soon1.src = "/images/Soon.jpg";
  37. Soon2 = new Image();
  38. Soon2.src = "/images/Soon_f2.jpg";
  39. }
  40. function mouseOut(imageName) {
  41. if (document.images) {
  42. document[imageName].src = eval(imageName + "1.src");
  43. }
  44. }
  45. function mouseOver(imageName) {
  46. if (document.images) {
  47. document[imageName].src = eval(imageName + "2.src");
  48. }
  49. }