Skip all navigation

Mail Calendar Contacts Downloads more tools
home Helpdesk Issues News about Search
Print Version   Feeds   Get QR   More Page Actions ↓

Slidesjs

Lists of Things

// //Set up the current ad campaign. Syntax: //slideImages is an array of arbitrary length //containing all the slide image files. RELATIVE PATH //slideURL likewise is an array of the same length with the ABSOLUTE paths for clickthru ////////////////////////////////////////////////////////////////////////////////////////////////// var slideImages = new Array("nandn.png", "uwa.png", "twitter.png", "help.png"); var slideURL = new Array("/news/", "/Wiki", "http://twitter.com/vistua/", "http://www.vistua.com/Support"); //Don't normally need to change anything below here var thisSlide = 0; function rotate() { thisSlide++; if (thisSlide == slideImages.length) { thisSlide = 0; } document.getElementById("L_slides").style.backgroundImage = "url('http://www.vistua.com/pmwiki/uploads/Site/promo_slide-" + slideImages[thisSlide] + "')" setTimeout("rotate()", 10 * 1000); } function rotateforward() { thisSlide++; if (thisSlide >= slideImages.length) { thisSlide = slideImages.length - 1; } document.getElementById("L_slides").style.backgroundImage = "url('http://www.vistua.com/img/slides/promo_slide-" + slideImages[thisSlide] + "')" } function rotatebackward() { thisSlide--; if (thisSlide <= 0) { thisSlide = 0; } document.getElementById("L_slides").style.backgroundImage = "url('http://www.vistua.com/img/slides/promo_slide-" + slideImages[thisSlide] + "')" } function newLocation() { document.location.href = slideURL[thisSlide]; return false; } function initBannerLink() { if (document.getElementById("L_slides")) { document.getElementById("L_slides").onclick = newLocation; rotate(); } } //


Text last modified on December 27, 2009, at 06:20 PM
You are here: Site » Slidesjs


I Want to...

Help!

Diversions

Site

QR Code datagram

Vistua Hub version 4.1 © MMVI-MMIX Vistua.com. All Rights Reserved. All times UTC. Silk icon-set by Fam Fam Fam

.

About / Contact / Terms / XHTML / CSSSwitch to mobile or touch verion