Changeset 7903


Ignore:
Timestamp:
Nov 28, 2010, 12:59:24 PM (10 years ago)
Author:
cljosse
Message:

[cl_conflit] save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/cl_conflit/js/conflit.js

    r7900 r7903  
    1616//===================================================
    1717var detect = navigator.userAgent.toLowerCase();
    18 var OS, version;
     18var OS, cl_version;
    1919//==============================================================================
    2020browser = detect_browser();
     
    3939
    4040    else if (checkIt('msie')) { mybrowser.msie = true; lbrowser = "msie"; }
    41     else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; version = detect.charAt(8); }
     41    else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; cl_version = detect.charAt(8); }
    4242    else lbrowser = "An unknown browser";
    43     if (!version) version = detect.charAt(place + thestring.length);
     43    if (!cl_version) cl_version = detect.charAt(place + thestring.length);
    4444    if (!OS) {
    4545        if (checkIt('linux')) OS = "Linux";
     
    179179
    180180            info_image = jQuery(Parent).infos();
    181             if (info_image.height==0) {
    182                 Parent = "#theImageBox";
    183             }
    184 
    185 
    186181            p0 = jQuery(Parent);
    187 
    188             if (p0.length > 0) {
    189              
    190  
     182            if (p0.length > 0) {   
    191183                //======================================================
    192184                if (theme.match("gally", "gi"))
     
    194186                        if (typeof (currentTab) == "undefined") inittoolbar();
    195187                        else initializeImageMode("resize");
    196                     };
     188                   
    197189
    198190                    if (info_image.position != "static") {
     
    201193                    jQuery(Parent).css({ position: "static" } );
    202194                    jQuery("#imageToolBar").css({ position: "relative", top: "0px" });
     195                    };
    203196                }
    204197            }
     
    283276
    284277/*
    285 * mootools.js  version: "1.11"
     278* mootools.js  cl_version: "1.11"
    286279* pamoorama0.3.js
    287280*
    288281* main.js (google maps)
    289 * prototype.js(mootool version: "1.62")
     282* prototype.js(mootool cl_version: "1.62")
    290283* windows.js
    291284*
     
    584577function save_framework(page) {
    585578    try {
    586         Conflit = { version: Version, name: cl_plugin };
     579        Conflit = { version: cl_version, name: cl_plugin };
    587580    } catch (e) {
    588581
Note: See TracChangeset for help on using the changeset viewer.