home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / Chip_2004-11_cd1.bin / zkuste / jalbum / ukazka / res / js / nav-index.js < prev    next >
Text File  |  2003-11-10  |  887b  |  49 lines

  1. ///// JavaScript Navigation for index /////
  2.  
  3. // Variables from setupIndex.js: nextIndexPageUrl, prevIndexPageUrl, parentIndexPageUrl, firstIndexPageUrl, lastIndexPageUrl 
  4.  
  5. function nextPage() 
  6. {
  7.     if ( nextIndexPageUrl) 
  8.         document.location=nextIndexPageUrl;
  9.     takenAction = false;
  10. }
  11.  
  12. function prevPage() 
  13. {
  14.     if ( prevIndexPageUrl) 
  15.         document.location=prevIndexPageUrl;
  16.     takenAction = false;
  17. }
  18.  
  19. function indexPage() 
  20. {
  21.     if ( parentIndexPageUrl) 
  22.         document.location=parentIndexPageUrl;
  23.     takenAction = false;
  24. }
  25.  
  26. function firstPage() 
  27. {
  28.     if ( firstIndexPageUrl) 
  29.         document.location=firstIndexPageUrl;
  30.     takenAction = false;
  31. }
  32.  
  33. function lastPage() 
  34. {
  35.     if ( lastIndexPageUrl) 
  36.         document.location=lastIndexPageUrl;
  37.     takenAction = false;
  38. }
  39.  
  40. function navSlideShow() 
  41. {
  42.     takenAction = false;
  43. }
  44.  
  45. function navToggleInfo() 
  46. {
  47.     takenAction = false;
  48. }
  49.