some juggling to get the front page working again. good in chrome and FF at least
[evergreen-equinox.git] / Open-ILS / web / opac / skin / kcls / js / misc.js
index 9059a17..1f9b3fa 100644 (file)
@@ -3,6 +3,15 @@ var webCacheKey;
 var userVitalStats;
 
 function opac_init() {
+    featuredcontentslider.init({
+        id: "homebanner",
+        contentsource: ["inline", ""],
+        toc: "markup",
+        nextprev: ["", ""],
+        enablefade: [true, 0.04],
+        onChange: function(previndex, curindex){},
+        autorotate: [true, 3000] //pause time (in milliseconds)
+    });
        var advLink = getId("home_adv_search_link");
        if(advLink) advLink.setAttribute("href", buildOPACLink({page:ADVANCED})); 
        getId("home_myopac_link").setAttribute("href", buildOPACLink({page:MYOPAC}, false, true));