%3 ::xowiki::includelet::slidy ::xowiki::includelet::slidy render_items ::xowiki::includelet::book ::xowiki::includelet::book render render_images render_item render_items ::xowiki::includelet::slidy->::xowiki::includelet::book ::xowiki::includelet::jquery-spacegallery ::xowiki::includelet::jquery-spacegallery render_items ::xowiki::includelet::jquery-spacegallery->::xowiki::includelet::book ::xowiki::includelet::jquery-infinite-carousel ::xowiki::includelet::jquery-infinite-carousel render_items ::xowiki::includelet::jquery-infinite-carousel->::xowiki::includelet::book ::xowiki::includelet::jquery-cloud-carousel ::xowiki::includelet::jquery-cloud-carousel render_items ::xowiki::includelet::jquery-cloud-carousel->::xowiki::includelet::book ::xowiki::includelet::jquery-carousel ::xowiki::includelet::jquery-carousel render_items ::xowiki::includelet::jquery-carousel->::xowiki::includelet::book ::xowiki::includelet::PageReorderSupport ::xowiki::includelet::PageReorderSupport page_reorder_check_allow page_reorder_init_vars page_reorder_item_id page_reorder_open_ul ::xotcl::Object ::xotcl::Object ::xowiki::includelet::PageReorderSupport->::xotcl::Object ::xowiki::includelet::book->::xowiki::includelet::PageReorderSupport instmixin ::xowiki::Includelet ::xowiki::Includelet ::xowiki::includelet::book->::xowiki::Includelet

Class ::xowiki::includelet::jquery-spacegallery

::xowiki::includelet::jquery-spacegallery[i] create ...

Display a sequence of pages via jquery-spacegalleryl, based on book includelet.
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl

Class Relations

  • class: ::xowiki::IncludeletClass[i]
  • superclass: ::xowiki::includelet::book[i]
::xowiki::IncludeletClass create ::xowiki::includelet::jquery-spacegallery \
     -superclass ::xowiki::includelet::book

Methods (to be applied on instances)

  • render_items (scripted)

    if {$cnames ne "" || $allow_reorder ne "" || $with_footer != "false"} {
      error "ignoring cnames, allow_reorder, and with_footer for the time being"
    }
    
    set id [:js_name]
    append output  "<div id='[ns_quotehtml $id]' class='spacegallery'>\n"  [join [:render_images $pages"\n"]  "</div>\n"
    
    ::xo::Page requireStyle "div.spacegallery {width:600px; height:450px;}"
    ::xo::Page requireCSS "/resources/xowiki/spacegallery/spacegallery.css"
    ::xo::Page requireJS urn:ad:js:jquery
    ::xo::Page requireJS "/resources/xowiki/spacegallery/js/eye.js"
    ::xo::Page requireJS "/resources/xowiki/spacegallery/js/utils.js"
    ::xo::Page requireJS "/resources/xowiki/spacegallery/js/spacegallery.js"
    ::xo::Page requireJS [subst -novariables {
      $(function(){
        $("#[set id]").spacegallery({loadingClass: 'loading'});
      });
    }]
    return $output