Changeset 187 in t29-www for shared/js


Ignore:
Timestamp:
Sep 3, 2010, 5:09:34 AM (9 years ago)
Author:
sven
Message:

Erste Vollversion des Mitmachsystems zur Verbesserung der englischen Homepage, zwecks Testing auf incubator.technikum29.de. Das System laeuft unter /en/dev/translation.

  • shared/css/fresh.css: Navigationsboxen-System eingefuehrt zur systematischen Verwendung von zusaetzlichen Boxen in der Navigationsleiste
  • shared/js/tools.js: Img-License-System ausschaltbar gemacht
File:
1 edited

Legend:

Unmodified
Added
Removed
  • shared/js/tools.js

    r181 r187  
    5353 **/
    5454t29.img_license_settings = {
     55        // enable or disable system (e.g. used as API in Translation subsystem)
     56        enabled : true,
     57
    5558        // content for the license tags (depending on language)
    5659        text : {
     
    7982        };
    8083        $("img").not(t29.img_license_settings.exclude).hover(function(){
    81                 if(this.width < t29.img_license_settings.treshold_size[0]
    82                        || this.height < t29.img_license_settings.treshold_size[1])
     84                if(!t29.img_license_settings.enabled
     85                      || this.width < t29.img_license_settings.treshold_size[0]
     86                      || this.height < t29.img_license_settings.treshold_size[1])
    8387                        return;
    8488                t29.img_license_settings.img = $(this);
     
    137141        if(location.hostname != "www.technikum29.de") {
    138142                $.get("/hostinfo.shtm", function(data) {
    139                         $("#sidebar").append("<div id='sidebar-hostinfo'/>");
     143                        $("#sidebar").append("<div class='box' id='sidebar-hostinfo'/>");
    140144                        $("#sidebar-hostinfo").html(data);
    141145                });
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