Here it is as a txt file.

-----Original Message-----
From: Jeff Cook 
Sent: Monday, March 03, 2003 1:47 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Auto Cycle Through Maps...


I found this slide show JavaScript script on www.dynamicdrive.com then
edited it to use the WUG maps.  You can use this and add any other html or
asp info you want.  

You can use it to show only a few maps or all of the loaded maps.  The
advantage of doing it this way is that it only uses one file, and if used to
show all maps, will not need up dating when you add, rename or delete a map.

Good luck.  I hope this works well for those of you looking for this
feature.

Jeff Cook
Network Administrator
Whatcom Educational Credit Union

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/

<h2>WhatsUp Gold Map Show</h2>



<style>
body{
/*Remove below line to make bgimage NOT fixed*/
background-attachment:fixed;
background-repeat: no-repeat;
/*Use center center in place of 300 200 to center bg image*/
background-position: center center;
}
</style>

<script language="JavaScript1.2">

//Background Image Slideshow- � Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com


///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
//Specify background images to slide
///////////////////////////////////////////////////////////////////////////////////////////////////

// Use this way to select only a few maps to show.
// var bgslides=new Array()
// <%CURRENT_MAP% MapName1.wup>
// bgslides[0]="<%MAP% IMAGE>"
// <%CURRENT_MAP% MapName2.wup>
// bgslides[1]="<%MAP% IMAGE>"
// <%CURRENT_MAP% MapName3.wup>
// bgslides[2]="<%MAP% IMAGE>"
// <%CURRENT_MAP% MapName4.wup>
// bgslides[3]="<%MAP% IMAGE>"

// Use this way to show all loaded maps.
var bgslides=new Array(<%START_LOADED_MAP_LIST%>"<%MAP% 
IMAGE>",<%END_LOADED_MAP_LIST%>"")

///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////


//Specify interval between slide (in miliseconds)
var speed=3000

//preload images
var processed=new Array()
for (i=0;i<bgslides.length;i++){
processed[i]=new Image()
processed[i].src=bgslides[i]
}

var inc=-1

function slideback(){
if (inc<bgslides.length-1)
inc++
else
inc=0
document.body.background=processed[inc].src
}

if (document.all||document.getElementById)
window.onload=new Function('setInterval("slideback()",speed)')

</script>

Reply via email to