Here is what I do.. (wrapping is all messed up on this message)
Take this out of Topview.asp
<%START_LOADED_MAP_LIST%>
<tr >
<td><a href="map.asp?map=<%URL_ENCODE% (%MAP%
FILENAME)>"> <%MAP% NAME> </A></td>
<%IF% (%GREATERTHAN% (%MAP% TOTAL_DEVICES_UP,0))>
<td bgcolor="#77ff77" align=right><%MAP%
TOTAL_DEVICES_UP></td>
<%ELSE%>
<td align=right><%MAP%
TOTAL_DEVICES_UP></td>
<%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP%
(TOTAL_DEVICES_DOWN),0))>
<td bgcolor="#FF7777" align=right><%MAP%
TOTAL_DEVICES_DOWN></td>
<%ELSE%>
<td align=right> <%MAP%
TOTAL_DEVICES_DOWN></td>
<%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP%
(TOTAL_SERVICES_DOWN),0))>
<td bgcolor="#ff77ff" align=right><%MAP%
TOTAL_SERVICES_DOWN></td>
<%ELSE%>
<td align=right><%MAP%
TOTAL_SERVICES_DOWN></td>
<%ENDIF%>
</tr>
<%END_LOADED_MAP_LIST%>
and replace it with
<%CURRENT_MAP% MAP1.wup>
<%INCLUDE% NewTopMapDetail.asp>
<%CURRENT_MAP% MAP2.wup>
<%INCLUDE% NewTopMapDetail.asp>
<%CURRENT_MAP% MAP3.wup>
<%INCLUDE% NewTopMapDetail.asp>
etc
etc
etc
as many maps as needed.
Then make a new ASP file and call it whatever you want (example
NewTopMapDetail.asp) and patse in
<tr >
<td><a href="map.asp?map=<%URL_ENCODE% (%MAP%
FILENAME)>"> <%MAP% NAME> </A></td>
<%IF% (%GREATERTHAN% (%MAP% TOTAL_DEVICES_UP,0))>
<td bgcolor="#77ff77" align=right><%MAP%
TOTAL_DEVICES_UP></td>
<%ELSE%>
<td align=right><%MAP%
TOTAL_DEVICES_UP></td>
<%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP%
(TOTAL_DEVICES_DOWN),0))>
<td bgcolor="#FF7777" align=right><%MAP%
TOTAL_DEVICES_DOWN></td>
<%ELSE%>
<td align=right> <%MAP%
TOTAL_DEVICES_DOWN></td>
<%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP%
(TOTAL_SERVICES_DOWN),0))>
<td bgcolor="#ff77ff" align=right><%MAP%
TOTAL_SERVICES_DOWN></td>
<%ELSE%>
<td align=right><%MAP%
TOTAL_SERVICES_DOWN></td>
<%ENDIF%>
</tr>
That should work
Tv
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:07 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Controlling which maps are visible in Top View (U)
Classification: UNCLASSIFIED
Hello...
I was wondering if anyone knew how to control which maps are visible from
Top View?
Basically I want all maps to be open, but only display certain ones from the
Top View. Anyone have any code for this?
Thanks...
Kimberley Osmond
Network Support Specialist
Communications Security Establishment
(613)991-8668
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/