Scott, I want to thank you for all the time and effort that you put into this. I added the calculation segment to my file and it works just great!
bob -----Original Message----- From: Scott Taylor [mailto:ScottTaylor@;westat.com] Sent: Friday, November 08, 2002 5:27 PM To: '[EMAIL PROTECTED]' Subject: RE: [WhatsUp Forum] scripting help / calculations I'm send this message again with a ZIP file attachment. Apparently some of you did not receive the text copy. The script language I'm using is JavaScript. I changed TOPVIEW.ASP and MAP.ASP to reflect the scripting language. For those of you that wanted to see the number of minutes down changed to hours & minutes, I think I have a solution. I added the code for this as well. It's sort of an initial version, but it looks like it works so far. Anything under 60 minutes displays only the minutes, anything over 60 minutes shows hours and remaining minutes. I have included the files TOPVIEW.ASP and MAP.ASP in the ZIP file attachment. Let me know if this works for you. Scott Taylor -----Original Message----- From: Glatt, Robert [mailto:rglatt@;Kraft.com] Sent: Friday, November 08, 2002 12:40 PM To: '[EMAIL PROTECTED]' Subject: RE: [WhatsUp Forum] scripting help i honestly do not know. I think it is just plain ASP. <SCRIPT> ......</SCRIPT> Sorry for being intellectually challenged. -----Original Message----- From: Garry Egan [mailto:gegan@;hcorp.com] Sent: Friday, November 08, 2002 12:18 PM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] scripting help What language for your script? VB, PERL, ??? -----Original Message----- From: Glatt, Robert [mailto:rglatt@;Kraft.com] Sent: Friday, November 08, 2002 8:17 AM To: wug (E-mail) Subject: [WhatsUp Forum] scripting help I appreciate all the help so far on the scripts for calculating down time. The final piece of the puzzle is this. If you take the number of minutes (1333 for example) and want to display it as 22 Hours and 13 Minutes. In Excel you can take use =INT(1333/60) and get the 22 for the hours. You can use =MOD(1333/60) and get the 13 for the minutes. Anyone know how to do this with script??? Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
