- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::includelet::jquery-spacegallery
::xowiki::includelet::jquery-spacegallery 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
::xowiki::IncludeletClass create ::xowiki::includelet::jquery-spacegallery \ -superclass ::xowiki::includelet::bookMethods (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
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables