Changeset 357 in t29-www for shared


Ignore:
Timestamp:
Mar 8, 2013, 5:04:14 PM (11 years ago)
Author:
sven
Message:

t29Host-Webroot-System entwickelt.

Damit können Installationen der technikum29-Website ab nun auch in Unterverzeichnissen
(bislang allerdings nur unterhalb des DocumentRoots) installiert werden, was einem
größere Flexibilität beim lokalen Aufsetzen der Seite liefert

Location:
shared/js-v6/modules
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • shared/js-v6/modules/lightbox.js

    r277 r357  
    1010
    1111t29.lightbox = {};
     12
     13t29.lightbox.paths = {
     14        'css': "/shared/js/fancybox/jquery.fancybox-1.3.4.css",
     15        'js': "/shared/js/fancybox/jquery.fancybox-1.3.4.pack.js"
     16};
     17
    1218t29.lightbox.setup = function() {
    1319        var elements = $("#content .popup");
    1420        if(elements.length) {
    1521                // we have fancybox elements on this page. Load Javascript and CSS
    16                 $("<style type='text/css'/>").html('@import url("/shared/js/fancybox/jquery.fancybox-1.3.4.css")').appendTo("head");
    17                 $.getScript('/shared/js/fancybox/jquery.fancybox-1.3.4.pack.js', function(){
     22                t29.load.css(t29.lightbox.paths.css);
     23                t29.load.js(t29.lightbox.paths.js, function(){
    1824                        elements.fancybox({
    1925                                onComplete: function() {
  • shared/js-v6/modules/startup.js

    r347 r357  
    1414
    1515t29.startup.modules = [
     16        // infrastructure
     17        'load',
     18
    1619        // independent #content enrichment
    1720        'auto_bildbreite',
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License