﻿var rotator; window.addEvent("domready", function () { var a = document.id("news-uf"); var f = document.id("news-sports"); var b = document.id("flickr-gae"); rotator = new MooRotator("rotator-spotlight", { rotateAction: "click", slideInterval: 7000, playPause: false }); $$("#tabs-nav-news a, #tabs-body-news li").tabify({ transition: "bounce:out" }); var d = new Request.HTML({ timeout: 7500, url: "/tools/rss.aspx", update: $("news-uf"), onTimeout: function () { this.cancel() }, onCancel: function () { a.set("text", "University of Florida News Feed Unavailable") } }).get({ url: "news.ufl.edu/feed" }); var e = new Request.HTML({ timeout: 7500, url: "/tools/rss.aspx", update: $("news-sports"), onTimeout: function () { this.cancel() }, onCancel: function () { f.set("text", "University of Florida Sports Feed Unavailable") } }).get({ url: "www.gatorzone.com/rss" }); var c = new Request.HTML({ timeout: 7500, url: "/tools/flickr.aspx", update: $("flickr-gae"), onTimeout: function () { this.cancel() }, onFailure: function () { b.set("text", "Unable to load feed from Flickr") }, onCancel: function () { b.set("text", "Unable to load feed from Flickr") }, onSuccess: function () { Soapbox.scanPage() } }).get() });
