home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 86 / PIWD86.iso / pc / contents / dreamweaver / software / dwmx2004.exe / Disk1 / data1.cab / Configuration_En / Commands / ExplodedModeIntro.js < prev    next >
Encoding:
JavaScript  |  2003-09-05  |  757 b   |  25 lines

  1. // Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved.
  2.  
  3. var PLATFORM = navigator.platform;
  4. var CTRL_STR = (PLATFORM == "Win32") ? "Ctrl" : "Cmd";
  5. var ICON_URL = (PLATFORM == "Win32") ? "../Shared/MM/Images/infoIconWin.gif" : "dwres:1";
  6. var helpDoc = MM.HELP_mnuExplodedModeIntro;
  7.  
  8. // Set up platform-specific items in the Exploded Mode intro dialog.
  9. function initialize()
  10. {
  11.     // Use the right icon for the platform.
  12.     document.img_DialogIcon.src = ICON_URL;
  13. }
  14.  
  15. // Detect if the user checked the "Don't show me again" checkbox
  16. // when the user hits "OK".
  17. function onOK()
  18. {
  19.     if (document.cbForm.check_DontShowAgain.checked)
  20.     {
  21.         MM.ExplodedModeIntro_DontShowAgain = true;
  22.     }
  23.     window.close();
  24. }
  25.