/** * iBox version 2.17b * For more info & download: http://labs.ibegin.com/ibox/ * Created as a part of the iBegin iBegin Labs Project - http://labs.ibegin.com/ * For licensing please see readme.html (MIT Open Source License) */ var iBox = function() { var _pub = { // label for the close link close_label: 'Cerrar', // padding around the box padding: 100, // show iframed content in the parent window // this *does not* work with #containers inherit_frames: false, // how fast to fade in the overlay/ibox (this is each step in ms) fade_in_speed: 0, // our attribute identifier for our iBox elements attribute_name: 'rel', // tags to hide when we show our box tags_to_hide: ['select', 'embed', 'object'], // default width of the box (when displaying html only) // height is calculated automatically default_width: 450, // browser checks is_opera: navigator.userAgent.indexOf('Opera/9') != -1, is_ie: navigator.userAgent.indexOf("MSIE ") != -1, is_ie6: false /*@cc_on || @_jscript_version < 5.7 @*/, is_firefox: navigator.appName == "Netscape" && navigator.userAgent.indexOf("Gecko") != -1 && navigator.userAgent.indexOf("Netscape") == -1, is_mac: navigator.userAgent.indexOf('Macintosh') != -1, base_url: '', /** * Updates the base_url variable. * @param {String} path Relative or absolute path to this file. */ setPath: function(path) { _pub.base_url = path; }, /** * Binds arguments to a callback function */ bind: function(fn) { var args = []; for (var n=1; n