code
stringlengths
1
2.08M
language
stringclasses
1 value
var firstLetter="a"; var gName; function arrangeNS6() { gName = ''; whichEl=getNextIdNS6(firstInd.id); for ( i=0;i<document.images.count;i++) if ( document.images[i].src=="a.gif") { firstInd.style.top=document.images[i].offsetTop+document.images[i].offsetHeight; break; } nextY =first...
JavaScript
function callsearch(domain){ searchwords=document.getElementById("q").value.toLowerCase(); pos=searchwords.indexOf(' site:'); if ( pos < 0 ) searchwords=searchwords+" site:"+domain; document.getElementById("q").value=searchwords; return true; }
JavaScript
Shadowbox.init({ handleOversize: "drag", modal: true });
JavaScript
function init() { Shadowbox.init({ handleOversize: "drag", modal: true }); }
JavaScript
case "[AName]": includeJS('[MapFile]'); break; [MapCase]
JavaScript
popup[n].openPopup();
JavaScript
map.setView([[Latitud], [Longitud]], [Zoom]);
JavaScript
var marker[n] = L.circle([[Latitud],[Longitud]], [Icon]Width, [Icon]Style); marker[n].addTo(map); var popup[n]=marker[n].bindPopup('[NameOrCity]');
JavaScript
Level=1; var bV = parseInt(navigator.appVersion); var NS4 = (document.layers) ? true : false; var IE4 = ((document.all)&&(bV>=4)) ? true : false; var NS6 = (!IE4 && !NS4) ? true : false; var ver4 = (NS4 || IE4) ? true : false; function arrangeNetscape(indice) { if (NS4) { firstInd=getI...
JavaScript
(function () { 'use strict'; L.TileLayer.Provider = L.TileLayer.extend({ initialize: function (arg, options) { var providers = L.TileLayer.Provider.providers; var parts = arg.split('.'); var providerName = parts[0]; var variantName = parts[1]; if (!providers[providerName]) { throw 'No such pr...
JavaScript
function writeImage ( url, alt, height, id ) { var tmp= new Image(); tmp.src=url; // it never goes in the if part of the statement if (tmp.complete) { tmp.height = height; tmp.title = alt; document.getElementById(id).appendChild(tmp); } }
JavaScript
function arrange() { nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height; for (i=firstInd+1; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.visibility != "hide") { whichEl.pageY = nextY; ...
JavaScript
function Search_DIV(Name_DIV) { Divisions = document.all.tags("DIV"); for (the_div=0;the_div<Divisions.count;the_div++) { if (Divisions(the_div).name == Name_DIV) { return the_div; } } } function getIndexIE(el) { ind = null; for (the_index=0; the_index<document.all.tags("DIV").length...
JavaScript
function includeJS(incFile) { document.write('<script type="text/javascript" src="'+ incFile+ '"></script>'); } function getQuerystring(key, default_) { if (default_==null) default_=""; key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regex = new RegExp("[\\?&]"+key+"=([^&#]*)"); var qs...
JavaScript
var firstLetter="a"; var gName; function arrangeNS6() { gName = ''; whichEl=getNextIdNS6(firstInd.id); for ( i=0;i<document.images.count;i++) if ( document.images[i].src=="a.gif") { firstInd.style.top=document.images[i].offsetTop+document.images[i].offsetHeight; break; } nextY =first...
JavaScript
function callsearch(domain){ searchwords=document.getElementById("q").value.toLowerCase(); pos=searchwords.indexOf(' site:'); if ( pos < 0 ) searchwords=searchwords+" site:"+domain; document.getElementById("q").value=searchwords; return true; }
JavaScript
Shadowbox.init({ handleOversize: "drag", modal: true });
JavaScript
function init() { Shadowbox.init({ handleOversize: "drag", modal: true }); }
JavaScript
case "[AName]": includeJS('[MapFile]'); break; [MapCase]
JavaScript
popup[n].openPopup();
JavaScript
map.setView([[Latitud], [Longitud]], [Zoom]);
JavaScript
var marker[n] = L.circle([[Latitud],[Longitud]], [Icon]Width, [Icon]Style); marker[n].addTo(map); var popup[n]=marker[n].bindPopup('[NameOrCity]');
JavaScript
Level=1; var bV = parseInt(navigator.appVersion); var NS4 = (document.layers) ? true : false; var IE4 = ((document.all)&&(bV>=4)) ? true : false; var NS6 = (!IE4 && !NS4) ? true : false; var ver4 = (NS4 || IE4) ? true : false; function arrangeNetscape(indice) { if (NS4) { firstInd=getI...
JavaScript
(function () { 'use strict'; L.TileLayer.Provider = L.TileLayer.extend({ initialize: function (arg, options) { var providers = L.TileLayer.Provider.providers; var parts = arg.split('.'); var providerName = parts[0]; var variantName = parts[1]; if (!providers[providerName]) { throw 'No such pr...
JavaScript
function writeImage ( url, alt, height, id ) { var tmp= new Image(); tmp.src=url; // it never goes in the if part of the statement if (tmp.complete) { tmp.height = height; tmp.title = alt; document.getElementById(id).appendChild(tmp); } }
JavaScript
function arrange() { nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height; for (i=firstInd+1; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.visibility != "hide") { whichEl.pageY = nextY; ...
JavaScript
function Search_DIV(Name_DIV) { Divisions = document.all.tags("DIV"); for (the_div=0;the_div<Divisions.count;the_div++) { if (Divisions(the_div).name == Name_DIV) { return the_div; } } } function getIndexIE(el) { ind = null; for (the_index=0; the_index<document.all.tags("DIV").length...
JavaScript
function includeJS(incFile) { document.write('<script type="text/javascript" src="'+ incFile+ '"></script>'); } function getQuerystring(key, default_) { if (default_==null) default_=""; key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regex = new RegExp("[\\?&]"+key+"=([^&#]*)"); var qs...
JavaScript
var firstLetter="a"; var gName; function arrangeNS6() { gName = ''; whichEl=getNextIdNS6(firstInd.id); for ( i=0;i<document.images.count;i++) if ( document.images[i].src=="a.gif") { firstInd.style.top=document.images[i].offsetTop+document.images[i].offsetHeight; break; } nextY =first...
JavaScript
function callsearch(domain){ searchwords=document.getElementById("q").value.toLowerCase(); pos=searchwords.indexOf(' site:'); if ( pos < 0 ) searchwords=searchwords+" site:"+domain; document.getElementById("q").value=searchwords; return true; }
JavaScript
Shadowbox.init({ handleOversize: "drag", modal: true });
JavaScript
function init() { Shadowbox.init({ handleOversize: "drag", modal: true }); }
JavaScript
var ec2ui_endpointsTreeView = { COLNAMES: ['endpoint.name','endpoint.type','endpoint.url'], treeBox: null, selection: null, endpointlist : new Array(), get rowCount() { return this.endpointlist.length; }, setTree : function(treeBox) { this.treeBox = treeBox; }, ge...
JavaScript
// "Classes" representing objects like AMIs, Instances etc. function Credential(name, accessKey, secretKey, regionPref) { this.name = name; this.accessKey = accessKey; this.secretKey = secretKey; this.regionPref = regionPref; } function AccountIdName(id, name) { this.accountid = id; this.displa...
JavaScript
var ec2_SecurityGroupDetails = { init : function() { var group = window.arguments[0]; document.getElementById("ec2ui.secgroup.name").value = group.name; document.getElementById("ec2ui.secgroup.ownerid").value = group.ownerId; document.getElementById("ec2ui.secgroup.description").valu...
JavaScript
// controller: slightly higher level of abstraction over the EC2 API var ec2ui_controller = { getNsResolver : function() { return ec2_httpclient.getNsResolver(); }, registerImageInRegion : function(manifestPath, region, callback) { region = region.toLowerCase(); // Determine the cu...
JavaScript
var ec2_VolumeDetails = { init : function() { var volume = window.arguments[0]; document.getElementById("ec2ui.volume.id").value = volume.id; document.getElementById("ec2ui.volume.size").value = volume.size; document.getElementById("ec2ui.volume.snapshotId").value = volume.snapshotId...
JavaScript
var ec2_InstanceConsole = { init : function() { document.getElementById("ec2ui.console.instanceid").value = window.arguments[0]; document.getElementById("ec2ui.console.timestamp").value = window.arguments[1]; var output = "<no output available>"; if (window.arguments[2] != null) { ...
JavaScript
var ec2ui_S3_KeyCopier = { session : null, srcKeys : null, params : null, fContinue : true, // The Total number of copy requests issued. // This can be different from the total # keys // to be copied if the user hit CANCEL // The total # of keys to be migrated totalKeys : 0, //...
JavaScript
var ec2_VolumeAttacher = { ec2ui_session : null, retVal : null, volumeId : null, attach : function() { if (!this.validateDevice()) return false; this.retVal.instanceId = document.getElementById("ec2ui.newattachment.instanceId").value.split(":")[0]; this.retVal.volumeId = this.volumeId; this.re...
JavaScript
/* * * Base64 encode / decode * http://www.webtoolkit.info/javascript-base64.html * */ // I'm using this even though there's a base64 implementation in sha1.js // because it doesn't seem to deal with strings of odd-length and the 5 minutes // I've spent looking at it doesn't suggest anything obvious. I have no ...
JavaScript
var ec2ui_credentialManager = { REALM : "chrome://ec2ui/", HOST : "chrome://ec2ui/", credentials : new Array(), endpointmap : null, initDialog : function() { ec2ui_prefs.init(); document.getElementById("ec2ui.credentials.view").view = ec2ui_credentialsTreeView; this.credentials = thi...
JavaScript
var ec2_EBSVolumeAttacher = { ec2ui_session : null, retVal : null, instanceId : null, volList : null, attach : function() { if (!this.validateDevice()) return false; this.retVal.device = document.getElementById("ec2ui.attachebsvolume.device").value; var idxSel = document.ge...
JavaScript
var ec2ui_SnapshotTreeView = { COLNAMES: ['snap.id', 'snap.volumeId', 'snap.volumeSize', 'snap.status', 'snap.startTime', 'snap.progress', 'snap.tag'], imageIdRegex : new RegExp("^snap-"), getSearchText : function() { return document.getElementById('ec2ui.snapshots.search').value; ...
JavaScript
var ec2_VolumeCreator = { ec2ui_session : null, retVal : null, create : function() { this.retVal.size = document.getElementById("ec2ui.newvolume.size").value.trim(); if (this.retVal.size.length == 0) this.retVal.size = null; this.retVal.snapshotId = document.getElementById("ec2ui.n...
JavaScript
function encodeJSONMap(map) { var pairs = new Array(); for (k in map) { if (map.hasOwnProperty(k)) { var v = map[k]; if (v != null) { if (typeof v === 'object') { pairs.push("'"+k+"':"+encodeJSONMap(v)); } else if (typeof v != '...
JavaScript
var ec2_SecGroupCreator = { ec2ui_session : null, retVal : null, createGroup : function() { if (!this.validateGroupName()) return false; if (!this.validateGroupDesc()) return false; this.retVal.name = document.getElementById("ec2ui.newsecgroup.name").value.trim(); this.retVa...
JavaScript
var ec2ui_ReservedInstancesTreeView = { COLNAMES: ['rsvdInst.id', 'rsvdInst.instanceType', 'rsvdInst.azone', 'rsvdInst.start', 'rsvdInst.duration', 'rsvdInst.fixedPrice', 'rsvdInst.usagePrice', 'rsvdInst.count',...
JavaScript
var ec2_Authorizer = { group : null, unusedSecGroupsList : null, usedSecGroupsList : null, unused : new Array(), used : new Array(), ec2ui_session : null, retval : null, authorize : function() { // Get the group's name var newPerm = new Object(); newPerm.groupName = this.group.name; //...
JavaScript
var ec2_InstanceDetails = { init : function() { var session = window.arguments[0]; var instance = window.arguments[1]; document.getElementById("ec2ui.instance.resid").value = instance.resId; document.getElementById("ec2ui.instance.instanceid").value = instance.id; var amiLab...
JavaScript
function getEC2WindowsDeviceList() { var devlist = new Array(); devlist["xvdg"] = "xvdg"; devlist["xvdh"] = "xvdh"; devlist["xvdi"] = "xvdi"; devlist["xvdj"] = "xvdj"; devlist["xvdk"] = "xvdk"; devlist["xvdl"] = "xvdl"; devlist["xvdm"] = "xvdm"; devlist["xvdn"] = "xvdn"; devlist[...
JavaScript
///////////////////////////////////////////////// ///////////////////////////////////////////////// // // Basic JavaScript File and Directory IO module // By: MonkeeSage, v0.1 // ///////////////////////////////////////////////// ///////////////////////////////////////////////// if (typeof(JSIO) != 'boolean') { var ...
JavaScript
// Depends on jsbn.js and rng.js // convert a (hex) string to a bignum object function parseBigInt(str,r) { return new BigInteger(str,r); } function linebrk(s,n) { var ret = ""; var i = 0; while(i + n < s.length) { ret += s.substring(i,i+n) + "\n"; i += n; } return ret + s.substring(i,s.length); }...
JavaScript
var ec2_ReservedInstancesDetails = { init : function() { var image = window.arguments[0]; document.getElementById("ec2ui.rsvdInst.id").value = image.id; document.getElementById("ec2ui.rsvdInst.instType").value = image.instanceType; document.getElementById("ec2ui.rsvdInst.azone").valu...
JavaScript
function generateCSVForObject(obj) { var pairs = new Array(); for (k in obj) { if (obj.hasOwnProperty(k)) { var v = obj[k]; if (v != null) { if (typeof v === 'object') { pairs.push(generateCSVForObject(v)); } else if (typeof v !...
JavaScript
var ec2ui_endpointManager = { endpointmap : null, initDialog : function() { this.endpointmap = window.arguments[0]; document.getElementById("ec2ui.endpoints.view").view = ec2ui_endpointsTreeView; ec2ui_endpointsTreeView.setMapping(this.endpointmap); var lastEndpointName = ec2u...
JavaScript
function empty() { } ; var ec2_httpclient = { handler : null, ec2ui_session : null, uri : null, auxObj : null, serviceURL : null, regions : null, cwURL : null, accessCode : null, secretKey : null, timers : {}, // Change the name since Eucalyptus 1.6.2 has a problem with...
JavaScript
var ec2ui_AMIsTreeView = { COLNAMES: ['ami.id', 'ami.location', 'ami.state', 'ami.owner', 'ami.isPublic', 'ami.arch', 'ami.platform', 'ami.rootDeviceType', 'ami.tag'], launchPermissionList : n...
JavaScript
var ec2ui_AvailZoneTreeView = { COLNAMES : ['azone.name','azone.state'], treeBox : null, selection : null, arrLocalFiles : new Array(), zoneList : new Array(), registered : false, get rowCount() { return this.zoneList.length; }, setTree : function(treeBox) { this.treeBo...
JavaScript
/* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 * Version 2.1a Copyright Paul Johnston 2000 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for details. */ /* *...
JavaScript
var ec2_ImageRegistrar = { ec2ui_session : null, retVal : null, getTextBox : function() { return document.getElementById("ec2ui.newimage.manifest"); }, registerImage : function() { if (!this.validateManifest()) return false; this.retVal.manifestPath = this.getTextBox().valu...
JavaScript
var ec2ui_toolsManager = { tools : new Array(), initDialog : function() { ec2ui_prefs.init(); document.getElementById("ec2ui.tools.ssh.command").value = ec2ui_prefs.getSSHCommand(); document.getElementById("ec2ui.tools.ssh.args").value = ec2ui_prefs.getSSHArgs(); document.getElementById("...
JavaScript
// Copyright (c) 2005 Tom Wu // All Rights Reserved. // See "LICENSE" for details. // Extended JavaScript BN functions, required for RSA private ops. // (public) function bnClone() { var r = nbi(); this.copyTo(r); return r; } // (public) return value as integer function bnIntValue() { if(this.s < 0) { if(this...
JavaScript
var ec2ui_accountIdsTreeView = { COLNAMES : ['accountids.accountid','accountids.displayname'], treeBox: null, selection: null, accountidlist : new Array(), get rowCount() { return this.accountidlist.length; }, setTree : function(treeBox) { this.treeBox = treeBox; }, getCellText : fun...
JavaScript
var ec2ui_InstancesTreeView = { COLNAMES : [ 'instance.resId', 'instance.ownerId', 'instance.id', 'instance.imageId', 'instance.kernelId', 'instance.ramdiskId', 'instance.state', 'instance.publicDnsName', 'instance.privateDnsName', 'instance.keyN...
JavaScript
var ec2_OfferingPurchaser = { offering : null, retVal : null, purchase : function() { if (!this.validateInstanceCount()) return false; this.retVal.count = document.getElementById("ec2ui.purchase.offering.count").value.trim(); this.retVal.ok = true; return true; }, ...
JavaScript
var ec2ui_BundleTasksTreeView = { COLNAMES: [ 'bun.id', 'bun.instanceId', 'bun.state', 'bun.startTime', 'bun.updateTime', 'bun.s3bucket', 'bun.s3prefix', 'bun.errorMsg' ], treeBox: null, selection: null, selectedBundleId: null, task...
JavaScript
// Copyright (c) 2005 Tom Wu // All Rights Reserved. // See "LICENSE" for details. // Basic JavaScript BN library - subset useful for RSA encryption. // Bits per digit var dbits; // JavaScript engine analysis var canary = 0xdeadbeefcafe; var j_lm = ((canary&0xffffff)==0xefcafe); // (public) Constructor function Bi...
JavaScript
// Functions to parse the EC2 RSA Private Key // A BER object has 3 pieces // type: (Numeric) // Array: (Byte array) // Value (Defined for integer) // Expects a byte array, returns the values in hex function parseRSAKey(bytes) { var location = 0; var key = new Object() // Step 1 is to remove the wrapper ...
JavaScript
var ec2_InstanceBundler = { id : null, ec2ui_session : null, retVal : null, getBucketName : function() { return document.getElementById("ec2ui.bundleInstance.bucketName"); }, getPrefix : function() { return document.getElementById("ec2ui.bundleInstance.prefix"); }, bun...
JavaScript
//main object that holds the current session information var ec2ui_session = { accessCode : "", secretKey : "", initialized : false, controller : null, model : null, credentials : null, accountidmap : null, endpointmap : null, instanceTags ...
JavaScript
var ec2ui_ElasticIPTreeView = { COLNAMES : ['eip.address','eip.instanceid'], treeBox : null, selection : null, arrLocalFiles : new Array(), eipList : new Array(), registered : false, imageIdRegex : new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+"), get rowCount() { return this.eipList.length; },...
JavaScript
var ec2ui_KeypairTreeView = { COLNAMES : ['keypair.name','keypair.fingerprint'], treeBox : null, selection : null, arrLocalFiles : new Array(), keypairList : new Array(), registered : false, get rowCount() { return this.keypairList.length; }, setTree : function(treeBox) { t...
JavaScript
var ec2ui_LeaseOfferingsTreeView = { COLNAMES : ['offering.id', 'offering.instanceType', 'offering.azone', 'offering.duration', 'offering.fixedPrice', 'offering.usagePrice', 'offering.description'], imageIdRegex : ne...
JavaScript
// Depends on rsa.js and jsbn2.js // Undo PKCS#1 (type 2, random) padding and, if valid, return the plaintext function pkcs1unpad2(d,n) { var b = d.toByteArray(); var i = 0; while(i < b.length && b[i] == 0) ++i; if(b.length-i != n-1 || b[i] != 2) return null; ++i; while(b[i] != 0) if(++i >= b.lengt...
JavaScript
var ec2_PermissionDetails = { init : function() { var perm = window.arguments[0]; document.getElementById("ec2ui.permission.protocol").value = perm.protocol; document.getElementById("ec2ui.permission.fromport").value = perm.fromPort; document.getElementById("ec2ui.permission.toport")...
JavaScript
var ec2ui_MonitoringTreeView = { register: function() { if (!this.registered) { this.registered = true; ec2ui_model.registerInterest(this, 'monitoring'); } }, test : function(){ var selecteditem = document.getElementById("monitoring.timer...
JavaScript
/* With due thanks to http://whytheluckystiff.net */ /* other support functions -- thanks, ecmanaut! */ var strftime_funks = { zeropad: function( n ){ return n>9 ? n : '0'+n; }, a: function(t) { return ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][t.getDay()] }, A: function(t) { return ['Sunday','Monday','Tuedsay',...
JavaScript
var ec2_BundleTaskDetails = { init : function() { var task = window.arguments[0]; document.getElementById("ec2ui.bundleTask.id").value = task.id; document.getElementById("ec2ui.bundleTask.state").value = task.state; document.getElementById("ec2ui.bundleTask.startTime").value = task.startTime;...
JavaScript
var ec2_InstanceLauncher = { image : null, ec2ui_session : null, retVal : null, unusedSecGroupsList : null, usedSecGroupsList : null, unused : new Array(), used : new Array(), launch : function() { if (!this.validateMin()) return false; if (!this.validateMax()) return fa...
JavaScript
var ec2_AMIDetails = { init : function() { var image = window.arguments[0]; document.getElementById("ec2ui.ami.id").value = image.id; document.getElementById("ec2ui.ami.location").value = image.location; document.getElementById("ec2ui.ami.aki").value = image.aki; document.get...
JavaScript
var ec2_ElasticIPDetails = { init : function() { var eip = window.arguments[0]; document.getElementById("ec2ui.eip.address").value = eip.address; document.getElementById("ec2ui.eip.instanceid").value = eip.instanceid; document.getElementById("ec2ui.eip.tag").value = eip.tag || ""; } }
JavaScript
var BaseImagesView = { COLNAMES: [], treeBox: null, selection: null, selectedImageId: null, // for preserving selection across filters and refreshes imageList : new Array(), registered : false, get rowCount() { return this.imageList.length; }, setTree : function(treeBox) { thi...
JavaScript
var ec2ui_accountIdManager = { accountidmap : null, initDialog : function() { this.accountidmap = window.arguments[0]; document.getElementById("ec2ui.accountids.view").view = ec2ui_accountIdsTreeView; ec2ui_accountIdsTreeView.setMapping(this.accountidmap); document.getElementBy...
JavaScript
var ec2ui_PermissionsTreeView = { COLNAMES : ['permission.protocol','permission.fromPort','permission.toPort','permission.groups','permission.cidrs'], treeBox : null, selection : null, permissionList : new Array(), get rowCount() { return this.permissionList.length; }, setTree : function(t...
JavaScript
var ec2_KeyPairDetails = { init : function() { var keypair = window.arguments[0]; document.getElementById("ec2ui.keypair.name").value = keypair.name; document.getElementById("ec2ui.keypair.fingerprint").value = keypair.fingerprint; } }
JavaScript
var ec2_AMIMigrator = { image : null, session : null, retVal : null, manifest : null, regionSelected : null, getSourceBucketName : function() { return document.getElementById("ec2ui.migrateAMI.bucketName.source"); }, getDestBucketName : function() { return document.getE...
JavaScript
var ec2ui_AMIDeleter = { session : null, imageLoc : null, getProgressMeter : function() { if (document) return document.getElementById("ec2ui.delete.ami.progress"); }, getCurrentOperation : function() { if (document) return document.getElementById("ec2ui.del...
JavaScript
var ec2ui_credentialsTreeView = { COLNAMES: ['credential.name','credential.accessKey'], treeBox: null, selection: null, credentials : new Array(), get rowCount() { return this.credentials.length; }, setTree : function(treeBox) { this.treeBox = treeBox; }, getCellText : function(idx, col...
JavaScript
var ec2_EIPSelector = { ec2ui_session : null, instanceId : null, retVal : null, eipList : null, attach : function() { var eipMenu = document.getElementById("ec2ui.selectEIP.eip"); var selected = eipMenu.selectedIndex; var eipSel = this.eipList[selected]; if (eipSel.instanceid != null && eip...
JavaScript
var ec2_LeaseOfferingDetails = { init : function() { var image = window.arguments[0]; document.getElementById("ec2ui.offering.id").value = image.id; document.getElementById("ec2ui.offering.instType").value = image.instanceType; document.getElementById("ec2ui.offering.azone").value = ...
JavaScript
var ec2_SnapshotDetails = { init : function() { var snapshot = window.arguments[0]; document.getElementById("ec2ui.snapshot.id").value = snapshot.id; document.getElementById("ec2ui.snapshot.volumeId").value = snapshot.volumeId; document.getElementById("ec2ui.snapshot.status").value =...
JavaScript
var ec2ui_SecurityGroupsTreeView = { COLNAMES : ['securitygroup.ownerId','securitygroup.name','securitygroup.description'], treeBox : null, selection : null, groupList : new Array(), registered : false, get rowCount() { return this.groupList.length; }, setTree : function(treeBox) {...
JavaScript
// XpiInstaller // By Pike (Heavily inspired by code from Henrik Gemal and Stephen Clavering) var XpiInstaller = { // --- Editable items begin --- extFullName: 'Hybridfox', // The name displayed to the user (don't include the version) extShortName: 'ec2ui', // The leafname of the JAR file (without the .ja...
JavaScript
$(document).ready(function() { $(".flexy-menu").flexymenu({ type: "vertical", align: "left" }); });
JavaScript
/* * jQuery FlexSlider v2.1 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) */ ;(function ($) { //FlexSlider: Object Instance $.flexslider = function(el,...
JavaScript
/* * jQuery Fraction Slider v0.9.8 * http://fractionslider.jacksbox.de * * Author: Mario Jäckle * eMail: support@jacksbox.de * * Copyright 2013, jacksbox.design * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function($) { /** ************************* **/ /...
JavaScript
$.fn.flexymenu = function(options){ var settings = { speed : 300, // dropdown speed (ms) type : "horizontal", // menu type arrangement align : "left", // menu alignment (horizontal type) indicator : false // indicator that indicates a submenu } $.extend( settings, opt...
JavaScript
$('#stockguideSlider').liquidSlider(); $('#keyfiguresSlider').liquidSlider();
JavaScript
/* * jQuery One Page Nav Plugin * http://github.com/davist11/jQuery-One-Page-Nav * * Copyright (c) 2010 Trevor Davis (http://trevordavis.net) * Dual licensed under the MIT and GPL licenses. * Uses the same license as jQuery, see: * http://jquery.org/license * * @version 2.2 * * Example usage: * ...
JavaScript