put their featuredcontentslider thing back in place
authorsenator <lebbeous@esilibrary.com>
Thu, 3 Mar 2011 15:51:13 +0000 (10:51 -0500)
committersenator <lebbeous@esilibrary.com>
Thu, 3 Mar 2011 15:51:13 +0000 (10:51 -0500)
Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml

index 11079da..8d89b1b 100644 (file)
 
             <!--#if expr="$OILS_PAGE='index.xml'"-->
             isFrontPage = true;
-            <!--#endif-->
 
             init();
 
-            <!--#if expr="$OILS_PAGE='index.xml'"-->
             getId("home_adv_search_link").setAttribute("href", buildOPACLink({page:ADVANCED}));
             getId("home_myopac_link").setAttribute("href", buildOPACLink({page:MYOPAC}, false, true));
 
                     dojo.style(dojo.byId('toptable'), 'display', '');
                 } catch(ee) {}
             }
+
+            featuredcontentslider.init({
+                id: "homebanner",
+                contentsource: ["inline", ""],
+                toc: "markup",
+                nextprev: ["", ""],
+                enablefade: [true, 0.04],
+                onChange: function(previndex, curindex){},
+
+
+                autorotate: [true, 3000] //pause time (in milliseconds)
+            });
             <!--#endif-->
         }
     );