rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
channelID: 'chan' + channelId,
channelID: channelId,
var addFocusedChannel = function(form) { var channelId = form.channelId.value; var tabPosition, elementId; $("#focusedContentAddingDialog input[name=targetTab]").each(function(i){ if ($(this).is(":checked")) { tabPosition = i+1; elementId = $(this).val(); } }); ...
return this._addListener(el, _FOCUS, fn, obj, overrideContext, true);
return this.on(el, FOCUSIN, fn, obj, overrideContext);
addFocusListener: function (el, fn, obj, overrideContext) { return this._addListener(el, _FOCUS, fn, obj, overrideContext, true); },
addGroup: function(group) { if (this.groups.indexOf(group) == -1) { this.groups.push(group); var groupSelect = function(g) { WireIt.GroupUtils.applyToContainers(g, true, function(c) { c.addedToGroup() }) };
addGroup: function(group) { if (this.groups.indexOf(group) == -1) { this.groups.push(group); var groupSelect = function(g) { WireIt.GroupUtils.applyToContainers(g, true, function(c) { c.addedToGroup(); }); };
addGroup: function(group) { if (this.groups.indexOf(group) == -1) { this.groups.push(group); var groupSelect = function(g) { WireIt.GroupUtils.applyToContainers(g, true, function(c) { c.addedToGroup() }) }; groupSelect(group); group.events.groupEmptied.subscribe(function() { this.remove...
if (this.getPolicyManagerLicense(true).valid){
if (!this.getPolicyManagerLicense(true).valid){
addHandler : function() { if (this.getPolicyManagerLicense(true).valid){ this.showPolicyManagerRequired(); } else { this.updateParentRackStore( this.editorRackCombo, new Ext.data.Record([])); Ung.E...
return this._addListener(el, sType, fn, obj, overrideContext, false); },
var capture = ((sType == FOCUSIN || sType == FOCUSOUT) && !YAHOO.env.ua.ie) ? true : false; return this._addListener(el, this._getType(sType), fn, obj, overrideContext, capture); },
addListener: function (el, sType, fn, obj, overrideContext) { return this._addListener(el, sType, fn, obj, overrideContext, false); },
if (pos[0] < 0) pos[0] = 0; if (pos[1] < 0) pos[1] = 0;
addModule: function(module, pos) { try { var containerConfig = module.container; containerConfig.position = pos; containerConfig.title = module.name; var temp = this; containerConfig.getGrouper = function() { return temp.getCurrentGrouper(temp); }; var container = this.lay...
Dom.addClass(container.el, "WiringEditor-module-"+module.name);
Dom.addClass(container.el, "WiringEditor-module-"+module.name.replace(/ /g,'-'));
addModule: function(module, pos) { try { var containerConfig = module.container; containerConfig.position = pos; containerConfig.title = module.name; var temp = this; containerConfig.getGrouper = function() { return temp.getCurrentGrouper(temp); }; var container = this.lay...
try {
addModuleToList: function(module) { var div = WireIt.cn('div', {className: "WiringEditor-module"}); if(module.description) { div.title = module.description; } if(module.container.icon) { div.appendChild( WireIt.cn('img',{src: module.container.icon}) ); } div.appendChild( WireIt.cn('sp...
}catch(ex){ console.log(ex);}
addModuleToList: function(module) { var div = WireIt.cn('div', {className: "WiringEditor-module"}); if(module.description) { div.title = module.description; } if(module.container.icon) { div.appendChild( WireIt.cn('img',{src: module.container.icon}) ); } div.appendChild( WireIt.cn('sp...
var cfgPageDate = DEF_CFG.PAGEDATE.key; this.cfg.setProperty(cfgPageDate, DateMath.add(this.cfg.getProperty(cfgPageDate), DateMath.MONTH, count)); this.resetRenderers(); this.changePageEvent.fire(); },
var cfgPageDate = DEF_CFG.PAGEDATE.key, prevDate = this.cfg.getProperty(cfgPageDate), newDate = DateMath.add(prevDate, DateMath.MONTH, count); this.cfg.setProperty(cfgPageDate, newDate); this.resetRenderers(); this.changePageEvent.fire(prevDate, newDate); },
addMonths : function(count) { var cfgPageDate = DEF_CFG.PAGEDATE.key; this.cfg.setProperty(cfgPageDate, DateMath.add(this.cfg.getProperty(cfgPageDate), DateMath.MONTH, count)); this.resetRenderers(); this.changePageEvent.fire(); },
}
function addPassengerPart3(rideNum, lat, lng, doOrPu) { var contact = document.getElementById('contact').value; var address = document.getElementById('address').value; var badcontact = false; for (n in contact) { for (a in alpha) { if (contact[n] == alpha[a]) { badcont...
if (badcontact) {
} if (badcontact) {
function addPassengerPart3(rideNum, lat, lng, doOrPu) { var contact = document.getElementById('contact').value; var address = document.getElementById('address').value; var badcontact = false; for (n in contact) { for (a in alpha) { if (contact[n] == alpha[a]) { badcont...
console.error('extra object does not have its title property set (required)');
throw 'extra object does not have its title property set (required)';
this.addPath = function(title, prefix, options) { if (typeof options != 'object') options = {mandatory: false}; var mandatory = typeof options.mandatory == 'boolean' ? options.mandatory : false; if (typeof options.extra == 'object') { if (typeof options.extra.title != 'string') console.error('extra object do...
console.error("'extra object does not have its 'help' property set (required)");
throw "'extra object does not have its 'help' property set (required)";
this.addPath = function(title, prefix, options) { if (typeof options != 'object') options = {mandatory: false}; var mandatory = typeof options.mandatory == 'boolean' ? options.mandatory : false; if (typeof options.extra == 'object') { if (typeof options.extra.title != 'string') console.error('extra object do...
_extra = options.extra;
local_extra = options.extra;
this.addPath = function(title, prefix, options) { if (typeof options != 'object') options = {mandatory: false}; var mandatory = typeof options.mandatory == 'boolean' ? options.mandatory : false; if (typeof options.extra == 'object') { if (typeof options.extra.title != 'string') console.error('extra object do...
_extra.push(local_extra);
this.addPath = function(title, prefix, options) { if (typeof options != 'object') options = {mandatory: false}; var mandatory = typeof options.mandatory == 'boolean' ? options.mandatory : false; if (typeof options.extra == 'object') { if (typeof options.extra.title != 'string') console.error('extra object do...
popupDiv.style.zIndex = this.Z_INDEX_BASE['Popup'] +
popupDiv.style.zIndex = this.Z_INDEX_BASE.Popup +
addPopup: function(popup, exclusive) { if (exclusive) { //remove all other popups from screen for (var i = this.popups.length - 1; i >= 0; --i) { this.removePopup(this.popups[i]); } } popup.map = this; this.popups.push(popup); var po...
var nb = resp['data'].length;
if (resp.warning) { document.fire('processingCart:itemAlreadyExisting', resp.warning); return; } var nb = resp.data.length;
this.addProcessing = function(obj, handler) { var xhr = new HttpRequest( null, null, // Custom handler for results function(resp) { var r = new HttpRequest( null, null, function(resp) { var nb = resp['data'].length; _render(); // Call custom handler if (handler) handler(); ...
if (ride.destination_title == "Luther College, Decorah, IA") {
function addRideToMap(ride, rideNum) { if (ride.destination_title == "Luther College, Decorah, IA") { var tooltext = ''; tooltext += ride.ToD; gmarkerOptions['title'] = tooltext; var amarker = new GMarker(new GLatLng(ride.start_point_lat, ride.start_point_long), gmarkerOptio...
} return ride.marker;
function addRideToMap(ride, rideNum) { if (ride.destination_title == "Luther College, Decorah, IA") { var tooltext = ''; tooltext += ride.ToD; gmarkerOptions['title'] = tooltext; var amarker = new GMarker(new GLatLng(ride.start_point_lat, ride.start_point_long), gmarkerOptio...
return ride.marker; }
function addRideToMap(ride, rideNum) { if (ride.destination_title == "Luther College, Decorah, IA") { var tooltext = ''; tooltext += ride.ToD; gmarkerOptions['title'] = tooltext; var amarker = new GMarker(new GLatLng(ride.start_point_lat, ride.start_point_long), gmarkerOptio...
var amarker = new GMarker(new GLatLng(ride.destination_lat, ride.destination_long), reqMarkerOptions);
if (ride.destination_title == "Luther College, Decorah, IA") { var amarker = new GMarker(new GLatLng(ride.start_point_lat, ride.start_point_long), reqMarkerOptions); } else { var amarker = new GMarker(new GLatLng(ride.destination_lat, ride.destination_long), reqMarkerOptions); }
function addRideToMap(ride, rideNum){ if (ride.driver == "needs driver") { var tooltext = 'needs driver'; reqMarkerOptions['title'] = tooltext; var amarker = new GMarker(new GLatLng(ride.destination_lat, ride.destination_long), reqMarkerOptions); GEvent.addListener(amarker, "click", function(latlng) ...
color = COLORS[allSeries[uniqueSeries].count];
color = COLORS[allSeries[uniqueSeries].count % COLORS.length];
function addSeries(testid, branchid, platformid, node, failed) { var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manif...
console.log(COLORS[allSeries[uniqueSeries].count]);
function addSeries(testid, branchid, platformid, node, failed) { var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manif...
var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid;
var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid;
function addSeries(testid, branchid, platformid, node) { var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manifest.platformMap[platformid].name; var...
$("#legend").append('<li id="'+uniqueSeries+'">'); node = $('#'+uniqueSeries+''); $(node).append('<strong>'+testName+'</strong>'); $(node).append('<span>'+branchName+'</span>'); $(node).append('<span>'+platformName+'</span>'); $(node).append('<small class="loader" title="Series is loading"></small>'); $('#'+uniqueSerie...
$('#legend').append('<li id="' + uniqueSeries + '">'); node = $('#' + uniqueSeries + ''); $(node).append('<strong>' + testName + '</strong>'); $(node).append('<span>' + branchName + '</span>'); $(node).append('<span>' + platformName + '</span>'); $(node).append('<small class="loader" title="Series is loading">' + '</sm...
function addSeries(testid, branchid, platformid, node) { var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manifest.platformMap[platformid].name; var...
$('#'+uniqueSeries+' .loader').hide(); $(node).append('<em style="background-color: '+color+';"></em>'); $(node).append('<a id="'+uniqueSeries+'" class="remove" href="#" title="Remove this series"></a>'); $(node).append('<a id="'+uniqueSeries+'" class="show" href="#" title="Show this series"></a>'); $(node).append('<a ...
$('#' + uniqueSeries + ' .loader').hide(); $(node).append('<em style="background-color: ' + color + ';"></em>'); $(node).append('<a id="' + uniqueSeries + '" class="remove"' + ' href="#" title="Remove this series"></a>'); $(node).append('<a id="' + uniqueSeries + '" class="show" href="#"' + ' title="Show this series"><...
function addSeries(testid, branchid, platformid, node) { var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manifest.platformMap[platformid].name; var...
$("#displayrange").toggleClass('disabled', false); $("#datatype").toggleClass('disabled', false); $("#link").toggleClass('disabled', false); $("#embed").toggleClass('disabled', false);
$('#displayrange').toggleClass('disabled', false); $('#datatype').toggleClass('disabled', false); $('#link').toggleClass('disabled', false); $('#embed').toggleClass('disabled', false);
function addSeries(testid, branchid, platformid, node) { var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manifest.platformMap[platformid].name; var...
$(node).append('<small class="loader" title="Series is loading">' + '</small>');
$(node).append('<small class="loader"' + 'title="Series is loading"></small>');
function addSeries(testid, branchid, platformid, node, failed) { try { var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; ...
$('#exportcsv').toggleClass('disabled', false);
function addSeries(testid, branchid, platformid, node, failed) { var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid; var testName = manifest.testMap[testid].name; var branchName = manifest.branchMap[branchid].name; var platformName = manif...
debug(color);
function addSeries(index, testName, branchName, platformName) { var uniqueSeries = "series_"+testName+"_"+branchName+"_"+platformName; var color = COLORS[(index-1) % COLORS.length]; debug(color); $("#legend").append('<li id="'+uniqueSeries+'">'); $('#'+uniqueSeries+'').append('<em...
'<td class="ofield"></td></tr>'
'<td class="ofield" style="width: 50%"></td></tr>'
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
felem.after('<td class="draggable draggingHook editHook">::</td>');
felem.after('<td class="draggable draggingHook editHook" style="width:10%"><div style="width: 100%">::</div></td>');
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'<td class="editHook" style="width: 94px">'+
'<td class="editHook" style="width: 40%"><div style="width: 100%">'+
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'</td>'
'</div></td>'
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'<td class="ofield" style="width: 50%"></td></tr>'
'<td class="ofield"></td></tr>'
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
felem.after('<td class="draggable draggingHook editHook" style="width:10%"><div style="width: 100%">::</div></td>');
felem.after('<td class="draggable draggingHook editHook">::</td>');
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'<td class="editHook" style="width: 40%"><div style="width: 100%">'+
'<td class="editHook">'+
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'</div></td>'
'</td>'
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'<td class="editHook">'+
'<td class="editHook" style="width: 94px">'+ '<input type="checkbox" name="' + fname +'-required" />'+ '<a href="' + fname + '/edit" title="Edit Field">'+ '<img src="edit.gif" alt="Edit" /></a>'+
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'</td>'+ '<td class="editHook">'+ '<a href="' + fname + '/edit" title="Edit Field">'+ '<img src="edit.gif" alt="Edit" /></a>'+
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
'<th>Field</th><th>Delete</th><th>Edit</th><th>Order</th>'+
'<th>Field</th><th style="text-align:center">Actions</th><th>Order</th>'+
pfgQEdit.addTable = function () { // add the table elements required for quick edit of fields jQuery("#pfg-fieldwrapper").children('.field').each( function () { var fname = this.id; if (fname.indexOf("archetypes-fieldname-") === 0) { fname = this.i...
},
}
addText : function(a, input, settings) { settings = jQuery.extend({replace:false},settings); if (input == null || input == '') return; if (a.childNodes == 0) { a.html(input); return; } var children = []; // have to wrap text in a single element in order // to get all the child nodes (including text) var node...
.appendTo(map).fadeIn(function(){$(this).delay(2000).fadeOut(2000, function(){$(this).remove()});});
.appendTo(map).fadeIn(function(){$(this).delay(2000).fadeOut(2000, function(){$(this).remove();});});
function addVisitorOnMap(lon, lat)//longitude, latitude { if(lon && lat || (lon !== 0 || lat !== 0)) { var x = "" + (180+lon - 10) * (687 / 360) + "px"; var y = "" + (90-lat - 1) * (347 / 180) + "px"; $("<div class='fadeOut'>&nbsp;</div>").css( {position: "absolute", width:...
var cfgPageDate = DEF_CFG.PAGEDATE.key; this.cfg.setProperty(cfgPageDate, DateMath.add(this.cfg.getProperty(cfgPageDate), DateMath.YEAR, count)); this.resetRenderers(); this.changePageEvent.fire(); },
var cfgPageDate = DEF_CFG.PAGEDATE.key, prevDate = this.cfg.getProperty(cfgPageDate), newDate = DateMath.add(prevDate, DateMath.YEAR, count); this.cfg.setProperty(cfgPageDate, newDate); this.resetRenderers(); this.changePageEvent.fire(prevDate, newDate); },
addYears : function(count) { var cfgPageDate = DEF_CFG.PAGEDATE.key; this.cfg.setProperty(cfgPageDate, DateMath.add(this.cfg.getProperty(cfgPageDate), DateMath.YEAR, count)); this.resetRenderers(); this.changePageEvent.fire(); },
adjust_width_for_ie : function () { if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
YAHOO.ajax_marking_block.adjust_width_for_ie = function () { if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
adjust_width_for_ie : function () { if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ var el = document.getElementById('treediv'); var width = el.offsetWidth; // set width of main content div to the same as treediv var contentDiv = el.parentNode; contentDiv.style.width = w...
} },
} };
adjust_width_for_ie : function () { if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ var el = document.getElementById('treediv'); var width = el.offsetWidth; // set width of main content div to the same as treediv var contentDiv = el.parentNode; contentDiv.style.width = w...
*/
function adjustViewport(){ var i = 0, selectionTop = 0, selectionHeight = 0, divHeight; $options .find('label') .each(function(){ var $this = $(this); if($this.hasClass('ui-state-hover')){ selectionTop = i; selectionHeight = $this.outerHeight(); return; }; i ...
if (this.shadowContainer != null) {
if (this.shadowContainer != undefined) {
var afterFinish = null; // If a shadow container exists then reapply shadow, and then make it fade in if (this.shadowContainer != null) { // If IE, then show shadow AFTER fading tooltip in if (hasNoAlphaAnimationSupport) { afterFinish = function() { ...
ajax_failure_handler : function (o) { if (o.tId == -1) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.collapseString;
YAHOO.ajax_marking_block.ajax_failure_handler = function (o) { if (o.tId == -1) { YAHOO.ajax_marking_block.main_instance.div.innerHTML = amVariables.collapseString; } if (o.tId === 0) { YAHOO.ajax_marking_block.main_instance.div.innerHTML = amVariables.connectFail; YAHOO.ajax_marking_block.main_instance.icon.removeAtt...
ajax_failure_handler : function (o) { if (o.tId == -1) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.collapseString; } if (o.tId === 0) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.connectFail; YAHOO.ajax_marking_block.main.icon.rem...
if (o.tId === 0) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.connectFail; YAHOO.ajax_marking_block.main.icon.removeAttribute('class', 'loaderimage'); YAHOO.ajax_marking_block.main.icon.removeAttribute('className', 'loaderimage'); if (!document.getElementById('AMBcollapse')) { YAHOO.ajax_marking_block.ma...
} };
ajax_failure_handler : function (o) { if (o.tId == -1) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.collapseString; } if (o.tId === 0) { YAHOO.ajax_marking_block.main.div.innerHTML = amVariables.connectFail; YAHOO.ajax_marking_block.main.icon.rem...
Ext.ComponentMgr.monitorAjax();
anApp = function(){ /* Start Private Properties/Methods */ /* End Private Properties/Methods */ return Ext.apply(new Ext.util.Observable, { /* Start Public Properties/Methods */ lazyLoading: true, moduleURLPrefix: 'js/modules/', appLayout: true, preloadModules: [], loadDependencies: true, loading: 0, events : { a...
Ext.ComponentMgr.monitorAjax();
anApp = function(){ /* Start Private Properties/Methods */ /* End Private Properties/Methods */ return Ext.apply(new Ext.util.Observable, { /* Start Public Properties/Methods */ lazyLoading: true, moduleURLPrefix: 'js/modules/', appLayout: true, preloadModules: [], loadDependencies: true, loading: 0, events : { a...
ESP.Utilities.EventManager.fire("property-changed", {
ESP.Utilities.evm.fire("property-changed", {
append: function(key, value){ if (!this.__append__(key, value)) return; ESP.Utilities.EventManager.fire("property-changed", { target: this, name: key, action: "append", array: this.get(key), new_value: value }); },
this.saveAction(true);
this.commitSettings(this.reloadSettings.createDelegate(this));
applyAction : function() { this.saveAction(true); },
msg: 'L\'image dpasse les dimensions autorises.',
msg: Automne.locales.maxImageHW,
applyEdition: function() { if (!Ext.getCmp('widthField').isValid() || !Ext.getCmp('heightField').isValid()) { Automne.message.popup({ msg: 'L\'image dpasse les dimensions autorises.', buttons: Ext.MessageBox.OK, closable: false, icon: Ext.MessageBox.ERROR }); return; } if (this.cropH...
Event.addListener(navBtns, "click", function (e, obj) { var target = Event.getTarget(e); if (this === target || Dom.isAncestor(this, target)) { Event.preventDefault(e); } var navigator = calParent.oNavigator; if (navigator) { var pgdate = cal.cfg.getProperty("pagedate"); navigator.setYear(pgdate.getFullYear()); naviga...
Event.addListener(navBtns, "click", function (e, obj) { var target = Event.getTarget(e); if (this === target || Dom.isAncestor(this, target)) { Event.preventDefault(e); } var navigator = calParent.oNavigator; if (navigator) { var pgdate = cal.cfg.getProperty("pagedate"); navigator.setYear(pgdate.getFullYear() + cal.Lo...
applyNavListeners : function() { var calParent = this.parent || this, cal = this, navBtns = Dom.getElementsByClassName(this.Style.CSS_NAV, "a", this.oDomContainer); if (navBtns.length > 0) { Event.addListener(navBtns, "click", function (e, obj) { var target = Event.getTarget(e); // this == navBtn if (...
this.shadowContainer = this.toolTipContainer.applyShadow(opts);
this.shadowContainer = this.toolTipContainer.applyShadow(this.shadowOpts);
applyShadow: function(opts, dontHide) { // Setup the shadows with given options and hide it this.shadowContainer = this.toolTipContainer.applyShadow(opts); if (!dontHide) this.shadowContainer.hide(); },
jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(f...
return ret;};function numb(num){return parseInt(num)||0;};function arrayRemove(arr,elem){var x,newArr=new Array();for(x in arr){if(arr[x]!=elem){newArr.push(arr[x]);}} return newArr;};function canvasSupport(){var canvas_compatible=false;try{canvas_compatible=!!(document.createElement('canvas').getContext('2d'));}catch(...
jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(f...
for (i in servers_text) { add_to_list(list,servers_text[i]); }
for (i in servers_text) { add_to_list(list,servers_text[i], false); }
function attach_customisation_window() { var server_div = $('<div id="server_editor"></div>'); var outer_div = $('<div></div>'); outer_div.css({ height: '100%', width: '60%', float: 'left'}); var list_div = $('<div></div>'); list_div.css({ height: '100%', width: '85%', float: 'left' }); var list = $('<select size...
var current_selection = function() { return $($("option:selected", list)[0]); }
var current_selection = function() { s = $("option:selected", list); if (s.length == 0) { add_to_list(list, "new value", true); s = $("option:selected", list); } return $(s[0]); }
function attach_customisation_window() { var server_div = $('<div id="server_editor"></div>'); var outer_div = $('<div></div>'); outer_div.css({ height: '100%', width: '60%', float: 'left'}); var list_div = $('<div></div>'); list_div.css({ height: '100%', width: '85%', float: 'left' }); var list = $('<select size...
simple_box.change(function(e) { update_with_text(current_selection(), wrap_with("simple", $(this).val())); list.change(); list.effect("highlight", {}, 1000); }); sheet_box.change(function(e) { update_with_text(current_selection(), wrap_with("spreadsheet", $(this).val())); list.change(); list.effect("highlight", {}, 100...
simple_box.change(function(e) { update_with_text(current_selection(), wrap_with("simple", $(this).val())); list.trigger('change'); list.effect("highlight", {}, 1000); }); sheet_box.change(function(e) { update_with_text(current_selection(), wrap_with("spreadsheet", $(this).val())); list.trigger('change'); list.effect("h...
function attach_customisation_window() { var server_div = $('<div id="server_editor"></div>'); var outer_div = $('<div></div>'); outer_div.css({ height: '100%', width: '60%', float: 'left'}); var list_div = $('<div></div>'); list_div.css({ height: '100%', width: '85%', float: 'left' }); var list = $('<select size...
list.change(function(e) { custom_area.val($(this).attr('value')); custom_area.effect("highlight", {}, 1000); });
list.change(function(e) { simple_box.val(''); sheet_box.val(''); custom_area.val($(this).attr('value')); custom_area.effect("highlight", {}, 1000); });
function attach_customisation_window() { var server_div = $('<div id="server_editor"></div>'); var outer_div = $('<div></div>'); outer_div.css({ height: '100%', width: '60%', float: 'left'}); var list_div = $('<div></div>'); list_div.css({ height: '100%', width: '85%', float: 'left' }); var list = $('<select size...
add_but.click(function() { add_to_list(list, "new value"); });
add_but.click(function() { add_to_list(list, "new value", true); });
function attach_customisation_window() { var server_div = $('<div id="server_editor"></div>'); var outer_div = $('<div></div>'); outer_div.css({ height: '100%', width: '60%', float: 'left'}); var list_div = $('<div></div>'); list_div.css({ height: '100%', width: '85%', float: 'left' }); var list = $('<select size...
node.parentNode.insertBefore(logoNode, node.nextSibling); }
imageSpan.appendChild(logoNode); }
function augment_person(person){ for (var idx in people_cache[person]['nodes']) { var node = people_cache[person]['nodes'][idx]; for (var title in people_cache[person]['team']) { var logoNode = document.createElement('img'); logoNode.title = title; logoNode.src = peopl...
var jq = jQuery('#' + id);
var jq; if(typeof id == 'string') { id = id.replace('#', '\\#').replace(';', '\\;').replace('&', '\\&').replace(',', '\\,').replace('.', '\\.').replace('+', '\\+').replace('*', '\\*').replace('~', '\\~').replace("'", "\\'").replace(':', '\\:').replace('"', '\\"').replace('!', '\\!').replace('^', '\\^').replace('$', '\...
function AutoComplete(id, callback, opts) { var jq = jQuery('#' + id); if(opts == null) { opts = {}; } setOptions(opts, 'minLength', 2); setOptions(opts, 'delay', 0); setOptions(opts, 'source', function(request, response) { callback(request.term, response); }); jq.autocomplete(opts);}
setOptions(opts, 'minChars', 2); setOptions(opts, 'matchSubset', 0); setOptions(opts, 'width', 260); setOptions(opts, 'resultsClass', "ac_results ui-widget-content ui-corner-all"); setOptions(opts, 'formatItem', function(item, row, numItems) { return item.name;
setOptions(opts, 'minLength', 2); setOptions(opts, 'delay', 0); setOptions(opts, 'source', function(request, response) { callback(request.term, response);
function AutoComplete(id, callback, opts) { var jq = $j('#' + id); if(opts == null) { opts = {}; } setOptions(opts, 'minChars', 2); setOptions(opts, 'matchSubset', 0); setOptions(opts, 'width', 260); setOptions(opts, 'resultsClass', "ac_results ui-widget-content ui-corner-all"); setOptions(opts, 'formatItem...
jq.autocomplete(callback, opts);
jq.autocomplete(opts);
function AutoComplete(id, callback, opts) { var jq = $j('#' + id); if(opts == null) { opts = {}; } setOptions(opts, 'minChars', 2); setOptions(opts, 'matchSubset', 0); setOptions(opts, 'width', 260); setOptions(opts, 'resultsClass', "ac_results ui-widget-content ui-corner-all"); setOptions(opts, 'formatItem...
var jq = $j('#' + id);
var jq = jQuery('#' + id);
function AutoComplete(id, callback, opts) { var jq = $j('#' + id); if(opts == null) { opts = {}; } setOptions(opts, 'minLength', 2); setOptions(opts, 'delay', 0); setOptions(opts, 'source', function(request, response) { callback(request.term, response); }); jq.autocomplete(opts);}
that.class = roster.getClass(i); YAHOO.util.Dom.addClass(entireBar, that.class);
that.myclass = roster.getClass(i); YAHOO.util.Dom.addClass(entireBar, that.myclass);
ITAO.widget.roster.Bar = function(dateRange, roster, previous, i, userData) { this.dateRange = dateRange; this.userData = userData; this.endPosChanged = new YAHOO.util.CustomEvent("EndPosChanged", this); var _margin; var _tooltipText; if (instanceOf(userData, ITAO.widget.roster.Allocation)) { _tooltipText = userData....
return (name == "Group") ? {
return (name == "Group") ? ({
var baseConfigFunction = function(name) { return (name == "Group") ? { "xtype": "WireIt.GroupFormContainer", "title": "Group", "collapsible": true, "fields": [ ], "legend": "Inner group fields", "getBaseConfigFunction" : baseConfigFunction } : temp.modulesByName[name...
} : temp.modulesByName[name].container;
}) : temp.modulesByName[name].container;
var baseConfigFunction = function(name) { return (name == "Group") ? { "xtype": "WireIt.GroupFormContainer", "title": "Group", "collapsible": true, "fields": [ ], "legend": "Inner group fields", "getBaseConfigFunction" : baseConfigFunction } : temp.modulesByName[name...
if (Drupal.settings.beautytips[key]['contentSelector'] && Drupal.settings.beautytips[key]['preEval']) { $(Drupal.settings.beautytips[key]['cssSelect']).each(function() { eval(Drupal.settings.beautytips[key]['contentSelector']);
if (beautytips[key]['contentSelector'] && beautytips[key]['preEval']) { $(beautytips[key]['cssSelect']).each(function() { eval(beautytips[key]['contentSelector']);
Drupal.behaviors.beautytips = function() { jQuery.bt.options.closeWhenOthersOpen = true; beautytips = Drupal.settings.beautytips; // Add the the tooltips to the page for (var key in beautytips) { // Build array of options that were passed to beautytips_add_beautyips var bt_options = new Array(); if (beauty...
if (beautytips[key]['ajaxDisableLink']) { $(beautytips[key]['ajaxDisableLink']).click(function() { return false; }); }
Drupal.behaviors.beautytips = function() { jQuery.bt.options.closeWhenOthersOpen = true; beautytips_defaults = Drupal.settings.beautytips_defaults; beautytips = Drupal.settings.beautytips; // Set default css settings as chosen in BeautyTips settings if ( beautytips_defaults['css_list'].length > 0) { jQuery.bt.o...
if (Drupal.settings.beautytips_always_add) { $(".beautytips").bt(); }
Drupal.behaviors.beautytips = function() { jQuery.bt.options.closeWhenOthersOpen = true; beautytips = Drupal.settings.beautytips; // Add the the tooltips to the page for (var key in beautytips) { // Build array of options that were passed to beautytips_add_beautyips var bt_options = new Array(); if (beauty...
$("#beautytips-site-wide-popup").next('fieldset').find('.fieldset-wrapper').children('.form-item').each( function() {
$("#beautytips-site-wide-popup").next('fieldset').find('.fieldset-wrapper').children('.form-item:not(.beautytips-css-styling)').each( function() { var name = $(this).find('input').attr('name'); var optionName = name.replace("bt-options-box-", "");
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
var name = $(this).find('input').attr('name'); var optionName = name.replace("bt-options-", ""); if (name == 'bt-options-shadow') { newValue = $(this).find('input').attr("checked") ? true : false;
if (optionName == 'shadow') { newValue = $(".beautytips-options-shadow input[@name='bt-options-box-shadow']:checked").val(); newValue = newValue == 'default' ? null : (newValue == 'shadow' ? true : false);
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
}); $('#edit-beautytips-default-style-default-wrapper label').bt('This is the default style balloon.', themeSettings['default']); $('#edit-beautytips-default-style-netflix').bt('This is the netflix style balloon.', themeSettings['netflix']); $('#edit-beautytips-default-style-facebook').bt('This is a facebook style ba...
});
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
var popup_test = "Sed justo nibh, ultrices ut gravida et, laoreet et elit. Nullam consequat lacus et dui dignissim venenatis. Curabitur quis urna eget mi interdum viverra quis eu enim. Ut sit amet nunc augue. Morbi fermentum ultricies velit sed aliquam. Etiam dui tortor, auctor sed tempus ac, auctor sed sapien." $("#be...
var popupText = "Sed justo nibh, ultrices ut gravida et, laoreet et elit. Nullam consequat lacus et dui dignissim venenatis. Curabitur quis urna eget mi interdum viverra quis eu enim. Ut sit amet nunc augue. Morbi fermentum ultricies velit sed aliquam. Etiam dui tortor, auctor sed tempus ac, auctor sed sapien." $("#bea...
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
theme_settings = beautytipsGetThemeSettings();
themeSettings = beautytipsGetThemeSettings(); currentTheme = $("input[name='beautytips_default_style']:checked").val(); $("#beauty-default-styles input").click(function() { currentTheme = $("input[name='beautytips_default_style']:checked").val(); });
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
var options = new Array(); options['positions'] = 'right'; options['trigger'] = ['dblclick', 'mouseout'];
options = beautytipsSetupDefaultOptions(themeSettings[currentTheme]);
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
var new_value = $(this).find('input').val();
var newValue = $(this).find('input').val();
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
new_value = $(this).find('input').attr("checked") ? true : false;
newValue = $(this).find('input').attr("checked") ? true : false;
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
if (new_value || new_value === false) { var option_name = name.replace("bt-options-", ""); if (option_name == 'cornerRadius') { new_value = Number(new_value);
if (newValue || newValue === false) { if (optionName == 'cornerRadius') { newValue = Number(newValue);
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
options[option_name] = new_value;
options[optionName] = newValue;
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
$(this).bt(popup_test, options);
$(this).bt(popupText, options);
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
$('#edit-beautytips-default-style-default-wrapper label').bt('This is the default style balloon.', theme_settings['default']); $('#edit-beautytips-default-style-netflix').bt('This is the netflix style balloon.', theme_settings['netflix']); $('#edit-beautytips-default-style-facebook').bt('This is a facebook style balloo...
$('#edit-beautytips-default-style-default-wrapper label').bt('This is the default style balloon.', themeSettings['default']); $('#edit-beautytips-default-style-netflix').bt('This is the netflix style balloon.', themeSettings['netflix']); $('#edit-beautytips-default-style-facebook').bt('This is a facebook style balloon....
Drupal.behaviors.beautytipsAdmin = function() { if (!$("#edit-beautytips-always-add").attr("checked")) { // Disable input and hide its description. $("#edit-beautytips-added-selectors").attr("disabled","disabled"); $("#edit-beautytips-added-selectors-wrapper").hide(0); } $("#edit-beautytips-always-add").bin...
themeSettings['hulu'] = { positions: ['right'], fill: '#F4F4F4', strokeStyle: '#666666', strokeWidth: 1, spikeLength: 20, spikeGirth: 10, width: 350, shrinkToFit: true, overlap: 0, centerPointY: 1, cornerRadius: 0, cssStyles: { fontFamily: '"Lucida Grande",Helvetica,Arial,Verdana,sans-serif', fontSize: '12px', padding:...
function beautytipsGetThemeSettings() { themeSettings = new Array(); themeSettings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, co...
theme_settings = new Array(); theme_settings['default'] = {
themeSettings = new Array(); themeSettings['default'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
theme_settings['netflix'] = {
themeSettings['netflix'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
theme_settings['facebook'] = {
themeSettings['facebook'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
theme_settings['transparent'] = {
themeSettings['transparent'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
theme_settings['big_green'] = {
themeSettings['big_green'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
theme_settings['google_maps'] = {
themeSettings['google_maps'] = {
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
return theme_settings;
return themeSettings;
function beautytipsGetThemeSettings() { theme_settings = new Array(); theme_settings['default'] = { positions: ['right'], overlap: 0, centerPointY: .5, centerPointX: .5, fill: "rgb(255, 255, 102)", strokeStyle: "#000", strokeWidth: 1, spikeLength: 40, spikeGirth: 10, padding: 8, ...
options['cssStyles'] = new Array();
function beautytipsSetupDefaultOptions(themeSettings) { var options = new Array(); for (var key in themeSettings) { if (key == 'cssStyles') { for (var option in themeSettings['cssStyles']) { options['cssStyles'][option] = themeSettings['cssStyles'][option]; } } else { options[key] = the...
options[key] = themeSettings[key];
if (key == 'cssStyles') { for (var option in themeSettings['cssStyles']) { options['cssStyles'][option] = themeSettings['cssStyles'][option]; } } else { options[key] = themeSettings[key]; }
function beautytipsSetupDefaultOptions(themeSettings) { var options = new Array(); options = jQuery.bt.defaults; for (var key in themeSettings) { options[key] = themeSettings[key]; } options['positions'] = 'right'; options['trigger'] = ['dblclick', 'mouseout']; return options;}
options['trigger'] = ['dblclick', 'mouseout'];
options['trigger'] = ['dblclick', 'click'];
function beautytipsSetupDefaultOptions(themeSettings) { var options = new Array(); options = jQuery.bt.defaults; for (var key in themeSettings) { options[key] = themeSettings[key]; } options['positions'] = 'right'; options['trigger'] = ['dblclick', 'mouseout']; return options;}
jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(f...
function betweenPoint(point1,point2,dist){var y,x;if(point1.x==point2.x){y=point1.y<point2.y?point1.y+dist:point1.y-dist;return{x:point1.x,y:y};} else if(point1.y==point2.y){x=point1.x<point2.x?point1.x+dist:point1.x-dist;return{x:x,y:point1.y};}};function centerPoint(arcStart,corner,arcEnd){var x=corner.x==arcStart.x?...
jQuery.bt={version:"0.9.5-rc1"};(function($){jQuery.fn.bt=function(content,options){if(typeof content!="string"){var contentSelect=true;options=content;content=false;}else{var contentSelect=false;}if(jQuery.fn.hoverIntent&&jQuery.bt.defaults.trigger=="hover"){jQuery.bt.defaults.trigger="hoverIntent";}return this.each(f...
that.locate("controls").hide(); that.locate("downloadMessage").show();
that.locate("serverError").html(""); that.setControlsStatesAtDownloadStart(); $.ajax({type: "POST", url:'../php/builder.php', data: "moduleSelections="+that.locate("formModuleSelections").val()+"&typeSelections="+that.locate("formTypeSelections").val(), success: function(data) { that.setControlsStatesAtDownloadE...
var bindEventHandlers = function (that) { that.events.afterModuleSelectionsChanged.addListener(updateSelectedModules); that.events.afterModelChange.addListener(updateHiddenFormWithSelections); setupQuickSelect(that); that.locate("downloadButton").click(function () { th...