Hello.
Actually, the code that Ken references is for a down list, not a scrolling marquee.
I believe this code snippet works great. I have installed it into my topview.asp and
mapdetails.asp pages, and it seems to work well for me.
Being a newbie, I would take this with a grain of salt. The pros may comment on
something I've overlooked. I modified this code, for example to remove the sounds.
Hope this helps!
- pete
<!-- start marque code
Believed to be from [EMAIL PROTECTED]
Install into topview.asp and/or mapdetails.asp
-->
<TABLE cellSpacing=0 cellPadding=3 width="98%" bgColor="#c0c0c0" border=2>
<TR>
<TD><FONT SIZE=4 COLOR=#0050c0><B>Devices Down:
</B></FONT></TD>
<TD WIDTH=750 ALIGN=right>
<MARQUEE>
<%START_LOADED_MAP_LIST%>
<%IF% HAS_MAP_STATE_CHANGED>
<%IF% (%MATCH% (%MAP% TOTAL_DEVICES_DOWN, 0))>
<%IF% (%MATCH% (%MAP% TOTAL_SERVICES_DOWN, 0))>
<%ELSE%>
<%ENDIF%>
<%ELSE%>
<%ENDIF%>
<%ENDIF%>
<%START_DEVICE_LIST%>
<%IFNOT% IS_DEVICE_UP>
<!--
The first two IF statements below disallow the display of Containers and Subnets.
If you desire to display subnets, simply delete the entire ELSEIF line for Subnets.
If you want to filter more types of items simpy copy/paste the the ELSEIF line
and change the host type to the devices you wish to filter.
Questions? [EMAIL PROTECTED]
-->
<%IF% (%MATCH% (%DEVICE% HOST_TYPE, Container))>
<%ELSEIF% (%MATCH% (%DEVICE% HOST_TYPE, Subnet))>
<%ELSEIF% (%LESSTHAN% (%DEVICE% CURRENT_DOWN_COUNT, 2))>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL" SIZE=4 COLOR=GREEN>
<%DEVICE% DISPLAY_NAME></a>
 
</B></FONT>
<%ELSEIF% (%LESSTHAN% (%DEVICE% CURRENT_DOWN_COUNT, 4))>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL" SIZE=4 COLOR=YELLOW>
<%DEVICE% DISPLAY_NAME></a>
 
</B></FONT>
<%ELSE%>
<a href=device.asp?map=<%MAP%
FILENAME>&device=<%DEVICE%
UNIQUE_ID>><FONT FACE="ARIAL" SIZE=4 COLOR=RED>
<%DEVICE% DISPLAY_NAME></a>
 
</B></FONT>
<%ENDIF%>
<%ENDIF%>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
</MARQUEE>
</TD>
<TD align=right>
<A target=_NEW href="h_top.htm">Help</A></TD></TR>
</table>
<!-- end marque -->
Pete Hoffswell
LAN/WAN Coordinator
Davenport University
616-732-1101 (Grand Rapids, X1101)
616-395-4679 (Holland, X4679)
616-340-1792 (Mobile)
[EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 02/14/03 12:51PM >>>
If you go to
http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&con
fig=whatsup_forum_list_ipswitch_com&restrict=&exclude=&words=Scrolling+M
arque+for+version+8 It is a thread of 2 or 3 marques for version 8.
There are asp pages at the bottom that you can copy and past into
notepad to get the pages. I tried to email them to you but they were
stripped off.
Thanks,
KenC
-----Original Message-----
From: Pete Hoffswell [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 11:53 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Scrolling marquee?
Hello -
I'm new to the list. From reading the archives, I've found a number of
interesting things. Thanks for that!
We are running WUG v8 here, and I am interested in activating the
Scrolling marquee on both my topview.asp and map.asp pages.
Can anyone share their modified topview.asp and map.asp? I cannot seem
to find the actual files in the archives.
Hopefully one that removes the container elements. ;-)
Thanks!
Pete Hoffswell
LAN/WAN Coordinator
Davenport University
616-732-1101 (Grand Rapids, X1101)
616-395-4679 (Holland, X4679)
616-340-1792 (Mobile)
[EMAIL PROTECTED]
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/