code
stringlengths
1
2.08M
language
stringclasses
1 value
function dialogComponentProperties() { var compId = document.getElementsByClassName('row_selected')[0].id; $.ajax({ "url":'a_component_properties', "data":{"componentId":compId}, "type":'GET', "success":function(htmlData) { $.Dialog({ "title": "Свойст...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogSetRights() { var userId = document.getElementsByClassName('row_selected')[0].id; $.ajax({ "url": 'a_load_rights_dialog', "type": 'GET', "data": {"id":...
JavaScript
/* * jQuery optionTree Plugin * version: 1.3 * @requires jQuery v1.3 or later * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * @version $Id: jquery.optionTree.js 13 2011-03-31 08:51:59Z kkotowicz $ * @author ...
JavaScript
$(document).ready(function(){ $('#tableOffice').dataTable({ "bFilter": false, "bInfo": false, "bServerSide": true, "sScrollY": "400px", "sAjaxSource": "./getOffice", "sServerMethod": "POST", "oLanguage": {"sUrl": "./resources/datatables.russian.txt"}, ...
JavaScript
function loadEditDialog(isEdit) { var url1 = ""; var emplID; if (isEdit) {//редактирование emplID = document.getElementsByClassName('row_selected')[0].id; url1 = "emplData?id=" + emplID; } else {//добавление emplID = 0; url1 = "emplData?id=" + emplID; } $.ajax...
JavaScript
var ID_CURRENT_TYPE = -1; // Хранит в себе id выбранного Типа $(document).ready(function(){ // Добавляем скролл к таблице Типов $("#scrollTableType").scrollbar({ height: 500, axis: 'y' }); // Отрисовка таблицы Подтипов $('#tableSubType').dataTable({ "bProcessing": tr...
JavaScript
/* Holder - 2.0 - client side image placeholders (c) 2012-2013 Ivan Malopinsky / http://imsky.co Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 Commercial use requires attribution. */ var Holder = Holder || {}; (function (app, win) { var preempted = false, fallback = false, canva...
JavaScript
/* Copyright (C) 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
JavaScript
(function($) { $.StartScreen = function(){ var plugin = this; plugin.init = function(){ setTilesAreaSize(); addMouseWheel(); }; var setTilesAreaSize = function(){ var groups = $(".tile-group"); var tileAreaWidth = 160; $.e...
JavaScript
$(function(){ $("[data-load]").each(function(){ $(this).load($(this).data("load"), function(){ }); }); window.prettyPrint && prettyPrint(); $(".history-back").on("click", function(e){ e.preventDefault(); history.back(); return false; }) }) function headerP...
JavaScript
$(function(){ if ((document.location.host.indexOf('.dev') > -1) || (document.location.host.indexOf('modernui') > -1) ) { $("<script/>").attr('src', 'js/metro/metro-loader.js').appendTo($('head')); } else { $("<script/>").attr('src', 'js/metro.min.js').appendTo($('head')); } })
JavaScript
if (document.location.host.indexOf('.dev') > -1) { //console.log('local'); } else { if (document.location.host.indexOf('metroui') > -1) { //document.write("<img src='http://c.hit.ua/hit?i=98055&g=0&x=2"+"&r="+encodeURI(document.referrer)+"&u="+encodeURI(window.location.href)+"' border='0' width='1' hei...
JavaScript
var plugins = [ 'global', 'core', 'locale', 'touch-handler', 'accordion', 'button-set', 'date-format', 'calendar', 'datepicker', 'carousel', 'countdown', 'dropdown', 'input-control', 'live-tile', 'progressbar', 'rating', 'slider', 'tab-control', ...
JavaScript
(function( $ ) { $.widget("metro.livetile", { version: "1.0.0", options: { effect: 'slideLeft', period: 4000, duration: 700, easing: 'doubleSqrt' }, _frames: {}, _currentIndex: 0, _interval: 0, _outPosition: 0...
JavaScript
(function( $ ) { $.widget("metro.times", { version: "1.0.0", options: { style: { background: "bg-dark", foreground: "fg-white", divider: "fg-dark" }, blink: true, alarm: { h: 0, ...
JavaScript
(function( $ ) { $.widget("metro.tablecontrol", { version: "1.0.0", options: { width: '100%', height: 'auto', cls: 'table', checkRow: false, colModel: [], data: [] }, _create: function(){ var eleme...
JavaScript
(function( $ ) { $.widget("metro.rating", { version: "1.0.0", options: { score: 0, half: false, stars: 5, static: true, hints: ['bad', 'poor', 'regular', 'good', 'gorgeous'], showHint: false, showScore: false, ...
JavaScript
/* * Date Format 1.2.3 * (c) 2007-2009 Steven Levithan <stevenlevithan.com> * MIT license * * Includes enhancements by Scott Trenda <scott.trenda.net> * and Kris Kowal <cixar.com/~kris.kowal/> * * Accepts a date, a mask, or a date and a mask. * Returns a formatted version of the given date. * The date default...
JavaScript
(function( $ ) { $.widget("metro.countdown", { version: "1.0.0", options: { style: { background: "bg-dark", foreground: "fg-white", divider: "fg-dark" }, blink: true, days: 1, stoptimer: 0, ...
JavaScript
(function( $ ) { $.widget("metro.scrollbar", { version: "1.0.0", options: { height: '100%', /* '100%'|int */ width: '100%', /* '100%'|int */ axis: ['x','y'], /* x|y|[x,y] */ wheel: 55 /* step in px */ //size: 'auto' /* 'auto...
JavaScript
(function( $ ) { $.widget("metro.dragtile", { version: "1.0.0", options: { }, _create: function(){ var that = this, element = tile = this.element, area = element.parents('.tile-area'), tiles = area.find(".tile"), groups =...
JavaScript
(function( $ ) { $.widget("metro.slider", { version: "1.0.2", options: { position: 0, accuracy: 0, color: 'default', completeColor: 'default', markerColor: 'default', colors: [], showHint: false, change...
JavaScript
(function($){ /* * Init or ReInit components * */ $.Metro.initAccordions = function(area){ if (area != undefined) { $(area).find('[data-role=accordion]').accordion(); } else { $('[data-role=accordion]').accordion(); } }; $.Metro.initButtonSets ...
JavaScript
(function($){ $.Metro = function(params){ params = $.extend({ }, params); }; $.Metro.getDeviceSize = function(){ var device_width = (window.innerWidth > 0) ? window.innerWidth : screen.width; var device_height = (window.innerHeight > 0) ? window.innerHeight : screen.height;...
JavaScript
(function( $ ) { $.widget("metro.streamer", { version: "1.0.0", options: { scrollBar: false, meter: { start: 9, stop: 19, interval: 20 }, slideToGroup: 1, slideToTime: "10:20", s...
JavaScript
(function($){ $.Metro.currentLocale = 'en'; if (METRO_LOCALE != undefined) $.Metro.currentLocale = METRO_LOCALE; else $.Metro.currentLocale = 'en'; //console.log(METRO_LOCALE, $.Metro.currentLocale); $.Metro.Locale = { 'en': { months: [ "January", "February", "Marc...
JavaScript
(function( $ ) { $.widget("metro.hint", { version: "1.0.0", options: { position: "bottom", background: '#FFFCC0', shadow: false, border: false, _hint: undefined }, _create: function(){ var that = this; ...
JavaScript
(function( $ ) { $.widget("metro.pullmenu", { version: "1.0.0", options: { }, _create: function(){ var that = this, element = this.element; var menu = (element.data("relation") != undefined) ? element.data("relation") : element.parent().chi...
JavaScript
(function( $ ) { $.widget("metro.tabcontrol", { version: "1.0.0", options: { effect: 'none', activateStoredTab: false, tabclick: function(tab){}, tabchange: function(tab){} }, _create: function(){ var that = this, ...
JavaScript
var METRO_AUTO_REINIT; var METRO_LOCALE; var METRO_WEEK_START; var METRO_DIALOG = false;
JavaScript
(function( $ ) { $.widget("metro.fluentmenu", { version: "1.0.0", options: { onSpecialClick: function(e, el){}, onTabClick: function(e, el){} }, _create: function(){ var that = this, element = this.element, o = this.options, tabs...
JavaScript
(function( $ ) { $.widget("metro.inputControl", { version: "1.0.0", options: { }, _create: function(){ var that = this, control = this.element; if (control.hasClass('text')) { this.initTextInput(control, that); }...
JavaScript
(function( $ ) { $.widget("metro.progressbar", { version: "1.0.1", options: { value: 0, color: "bg-cyan", animate: false, max: 100, onchange: function(val){} }, _create: function(){ var that = this, ele...
JavaScript
(function( $ ) { $.widget("metro.listview", { version: "1.0.0", options: { onGroupExpand: function(g){}, onGroupCollapse: function(g){}, onListClick: function(l){} }, _create: function(){ var that = this, element = this.element; ...
JavaScript
// Calendar (function( $ ) { $.widget("metro.calendar", { version: "1.0.0", options: { format: "yyyy-mm-dd", multiSelect: false, startMode: 'day', //year, month, day weekStart: (METRO_WEEK_START != undefined ? METRO_WEEK_START : 0), // 0 - Sunday, 1...
JavaScript
(function( $ ) { $.widget("metro.treeview", { version: "1.0.0", options: { onNodeClick: function(node){}, onNodeCollapsed: function(node){}, onNodeExpanded: function(node){} }, _create: function(){ var that = this, element = this.ele...
JavaScript
// DatePicker (function( $ ) { $.widget("metro.datepicker", { version: "1.0.0", options: { format: "dd.mm.yyyy", date: undefined, effect: 'none', position: 'bottom', locale: $.Metro.currentLocale, weekStart: (METRO_WEEK_START...
JavaScript
(function( $ ) { $.widget("metro.wizard", { version: "1.0.0", options: { stepper: true, stepperType: 'default', locale: $.Metro.currentLocale, finishStep: 'default', buttons: { cancel: true, help: false, ...
JavaScript
(function($) { var _notify_container = false; var _notifies = []; var Notify = { _container: null, _notify: null, _timer: null, options: { icon: '', // to be implemented caption: '', content: '', shadow: true, width: 'auto', height: 'auto', style: false, // {background: '', color: '...
JavaScript
(function($) { if (METRO_DIALOG == undefined) { //var METRO_DIALOG = false; } $.Dialog = function(params) { if(!$.Dialog.opened) { $.Dialog.opened = true; } else { return METRO_DIALOG; } $.Dialog.settings = params; params = $.extend(...
JavaScript
(function( $ ) { $.widget("metro.stepper", { version: "1.0.0", options: { steps: 3, start: 1, onStep: function(index, step){} }, _create: function(){ var element = this.element, o = this.options; if (element.data('steps'...
JavaScript
(function( $ ) { $.widget("metro.buttonset", { version: "1.0.0", options: { click: function(btn, on){} }, _buttons: {}, _create: function(){ var element = this.element; this._buttons = element.find("button, .button"); this...
JavaScript
(function( $ ) { $.widget("metro.panel", { version: "1.0.0", options: { onCollapse: function(){}, onExpand: function(){} }, _create: function(){ var element = this.element, o = this.options, header = element.children('.panel-head...
JavaScript
(function( $ ) { $.widget("metro.tileTransform", { version: "1.0.0", options: { }, _create: function(){ var element = this.element; var dim = {w: element.width(), h: element.height()}; element.on('click', function(e){ // e.preven...
JavaScript
(function( $ ) { $.widget("metro.carousel", { version: "1.0.0", options: { auto: true, period: 2000, duration: 500, effect: 'slowdown', // slide, fade, switch, slowdown direction: 'left', markers: { show: true,...
JavaScript
(function( $ ) { $.widget("metro.accordion", { version: "1.0.0", options: { closeAny: true, open: function(frame){}, action: function(frame){} }, _frames: {}, _create: function(){ var element = this.element; if ...
JavaScript
(function( $ ) { $.widget("metro.widget", { version: "1.0.0", options: { }, _create: function(){ }, _destroy: function(){ }, _setOption: function(key, value){ this._super('_setOption', key, value); } }) })( jQuery );
JavaScript
var hasTouch = 'ontouchend' in window, eventTimer; var moveDirection = 'undefined', startX, startY, deltaX, deltaY, mouseDown = false function addTouchEvents(element){ if (hasTouch) { element.addEventListener("touchstart", touch2Mouse, true); element.addEventListener("touchmove", touch2Mouse, true)...
JavaScript
(function( $ ) { $.widget("metro.dropdown", { version: "1.0.1", options: { effect: 'slide', toggleElement: false }, _create: function(){ var that = this, menu = this.element, name = this.name, parent = ...
JavaScript
/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and delta...
JavaScript
$(function(){ if (document.location.host.indexOf('.dev') > -1) return; var repo = "olton/Metro-UI-CSS"; $.ajax({ url: 'https://api.github.com/repos/' + repo, dataType: 'jsonp', error: function(result){ }, success: function(results){ var repo = results....
JavaScript
/* * jQuery Anti Adblock * @copyright Hendriono http://modification-blog.blogspot.com * @version 1.00 (9 Maret 2011) * @Modif by Blog Mr.Cuy */ var standby = false; function CekBlok() { if ($(".adsantilok").height() == "0") { TutupHalaman(); } } function TutupHalaman() { if (!standby) { ...
JavaScript
// -- animasi-login3.js -- // -- Ket : Jadi diri sendiri lebih baik dan puas -- // -- CSS Animasi Login di tulis oleh santa-mars.blogspot.com -- document.write('<sty'+'le>' +'.rotatebtnSM{position:relative;top:45%;opacity:1;font-family:ubuntu;font-size:12px;color:#FF0000;width:15px;cursor:help;padding:13px 11px ...
JavaScript
// -- animasi-login3.js -- // -- Ket : Jadi diri sendiri lebih baik dan puas -- // -- CSS Animasi Login di tulis oleh santa-mars.blogspot.com -- document.write('<sty'+'le>' +'.rotatebtnSM{position:relative;top:45%;opacity:1;font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#FF0000;width:15px;cursor:hel...
JavaScript
//<![CDATA[ function ztoCU(e){ if (e.ctrlKey && e.which == 85){ window.location.replace("http://www.andi.my.id/p/oops.html"); return false; } }document.onkeydown = ztoCU; function ztoKK(e){ if (e.which == 3){ window.location.replace("http://www.andi.my.id/p/oops.html"); return false; } }document.oncontextme...
JavaScript
// -- animasi-login3.js -- // -- Ket : Jadi diri sendiri lebih baik dan puas -- // -- CSS Animasi Login di tulis oleh santa-mars.blogspot.com -- document.write('<sty'+'le>' +'.rotatebtnSM{position:relative;top:45%;opacity:1;font-family:'ubuntu';font-size:14px;color:#FF0000;width:15px;cursor:help;padding:13px 11p...
JavaScript
// -- animasi-login3.js -- // -- Ket : Jadi diri sendiri lebih baik dan puas -- // -- CSS Animasi Login di tulis oleh santa-mars.blogspot.com -- document.write('<sty'+'le>' +'.rotatebtnSM{position:relative;top:45%;opacity:1;font-family:ubuntu;font-size:14px;color:#FF0000;width:15px;cursor:help;padding:13px 11px ...
JavaScript
$(document).ready(function(){ $(".scroll").click(function(event){ //prevent the default action for the click event event.preventDefault(); //get the full url - like mysitecom/index.htm#home var full_url = this.href; //split the url by # and get the anchor target name - home in mysitecom/index.htm#home var parts =...
JavaScript
var greyStyles = [ { featureType: "all", stylers: [ {saturation: '-55'}, {hue: '#555ff00'}, {gamma: '0.90'}, ] }, { featureType: 'road.highway', rules: [ {hue: -80}, {saturation: -40}, {lightness: 8.8} ] } ]; var map; var city = new google.maps.LatLng(51.34021,12.3722...
JavaScript
/* * jQuery Blueberry Slider v0.4 BETA * http://marktyrrell.com/labs/blueberry/ * * Copyright (C) 2011, Mark Tyrrell <me@marktyrrell.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fo...
JavaScript
/** * @author Alexander Farkas * v. 1.1 */ (function($){ if(!document.defaultView || !document.defaultView.getComputedStyle){ var oldCurCSS = jQuery.curCSS; jQuery.curCSS = function(elem, name, force){ if(name !== 'backgroundPosition' || !elem.currentStyle || elem.currentStyle[ name ]){ return oldCurC...
JavaScript
/** * @preserve * FullCalendar v1.5.3 * http://arshaw.com/fullcalendar/ * * Use fullcalendar.css for basic styling. * For event drag & drop, requires jQuery UI draggable. * For event resizing, requires jQuery UI resizable. * * Copyright (c) 2011 Adam Shaw * Dual licensed under the MIT and GPL licenses, locate...
JavaScript
<!DOCTYPE html> <html> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#"> <meta charset='utf-8'> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>jQuery-rwdImageMaps/jquery.rwdImageMaps.js at master · stowball/jQuery-rwdImageMaps · G...
JavaScript
/** * @preserve HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ ;(function(window, document) { /*jshint evil:true */ /** version */ var version = '3.6.2'; /** Preset options */ var options = window.html5 || {}; /** Used to skip problem elements */ var reSkip = /^<|^(?:button|ma...
JavaScript
/******************************************************** * Custom Javascript code * *******************************************************/ // floatable-Menu-Container $(document).ready(function(){ $(window).scroll(function(){ var scrollTop = 90; if($(window).scrollTop() >= scrollTop){ $('...
JavaScript
/* Quicksand 1.2.2 Reorder and filter items with a nice shuffling animation. Copyright (c) 2010 Jacek Galanciak (razorjack.net) and agilope.com Big thanks for Piotr Petrus (riddle.pl) for deep code review and wonderful docs & demos. Dual licensed under the MIT and GPL version 2 licenses. http://github.com/jquery/jq...
JavaScript
/* This file is part of myTinyTodo. (C) Copyright 2009-2010 Max Pozdeev <maxpozdeev@gmail.com> Licensed under the GNU GPL v3 license. See file COPYRIGHT for details. */ (function(){ var taskList = new Array(), taskOrder = new Array(); var filter = { compl:0, search:'', due:'' }; var sortOrder; //save task order be...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $ */ /...
JavaScript
/* This file is a part of myTinyTodo. (C) Copyright 2010 Max Pozdeev <maxpozdeev@gmail.com> Licensed under the GNU GPL v3 license. See file COPYRIGHT for details. */ // AJAX myTinyTodo Storage (function(){ var mtt; function mytinytodoStorageAjax(amtt) { this.mtt = mtt = amtt; } window.mytinytodoStorageAjax = ...
JavaScript
// Copyright 2007, Google Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclai...
JavaScript
var init_prj_list = function(){ } var getRequest = function(){ var request = google.gears.factory.create('beta.httprequest'); return request; } // var is_empty = function(str) { if(str == null || str == undefined || str.trim() == ""){ return true; } else { return fa...
JavaScript
/** * jGrowl 1.2.1 * * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Written by Stan Lemon <stosh1985@gmail.com> * Last updated: 2009.10.01 * * jGrowl is a jQuery plugin implementing unobtrusive user...
JavaScript
// Copyright 2007, Google Inc. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclai...
JavaScript
// データベース変数 var tester_db = null; var response_dlg = null; var msg = function(txt){ $.jGrowl.defaults.position = 'bottom-left'; $.jGrowl(txt, {}); } // プロジェクトリストを更新する var refresh_prj_list = function(){ $("#prj_list").empty(); var sql = 'select name from project'; var rs = tester_db....
JavaScript
/** * jGrowl 1.2.1 * * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Written by Stan Lemon <stosh1985@gmail.com> * Last updated: 2009.10.01 * * jGrowl is a jQuery plugin implementing unobtrusive user...
JavaScript
/*! * jQuery JavaScript Library v1.3b2 * http://jquery.com/ * * Copyright (c) 2009 John Resig * Dual licensed under the MIT and GPL licenses. * http://docs.jquery.com/License * * Date: 2009-01-05 18:33:56 -0500 (Mon, 05 Jan 2009) * Revision: 6056 */ (function(){ var // Will speed up references to window, a...
JavaScript
/* * * TableSorter 2.0 - Client-side table sorting with ease! * Version 2.0.3 * @requires jQuery v1.2.3 * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.o...
JavaScript
(function($) { $.extend({ tablesorterPager: new function() { function updatePageDisplay(c) { var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages); } function setPageSize(table,size) { var c = table.config; c.size = size; c.totalPages = Math...
JavaScript
/*! * jQuery Cookie Plugin v1.3.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as anonymous module. define(['jquery'], factory); } else { // Browser gl...
JavaScript
$(function () { function filterPath(string) { return string.replace(/^\//, '').replace(/(index|default).[a-zA-Z]{3,4}$/, '').replace(/\/$/, ''); } var locationPath = filterPath(location.pathname); var scrollElem = scrollableElement('html', 'body'); //Setiap link dengan tag hash di...
JavaScript
/* * This is inspired by the CodeIgniter user guide's create_menu function. * http://codeigniter.com/user_guide/nav/nav.js * * It extracts the navigation to a single file for easier updating. */ //define document navigation var nav = { "Basic": { "Home": "index.html", "Requirements": "requirements.html"...
JavaScript
/* * Password Strength (0.1.1) * by Sagie Maoz (n0nick.net) * n0nick@php.net * * This plugin will check the value of a password field and evaluate the * strength of the typed password. This is done by checking for * the diversity of character types: numbers, lowercase and uppercase * letters and special...
JavaScript
/** * A simple caps lock detection plugin for jQuery. Inspired by the "24 ways: * Capturing Caps Lock" article by Stuart Landridge * (http://24ways.org/2007/capturing-caps-lock). * * @author Michael J. I. Jackson <mjijackson@gmail.com> * @copyright 2008 Michael J. I. Jackson * @license http://www.open...
JavaScript
/** * Creates a new Floor. * @constructor * @param {google.maps.Map=} opt_map */ function Floor(opt_map) { /** * @type Array.<google.maps.MVCObject> */ this.overlays_ = []; /** * @type boolean */ this.shown_ = true; if (opt_map) { this.setMap(opt_map); } } /** * @param {google.maps.M...
JavaScript
/** * Creates a new level control. * @constructor * @param {IoMap} iomap the IO map controller. * @param {Array.<string>} levels the levels to create switchers for. */ function LevelControl(iomap, levels) { var that = this; this.iomap_ = iomap; this.el_ = this.initDom_(levels); google.maps.event.addList...
JavaScript
/** * @license * * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
JavaScript
// Copyright 2011 Google /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
function createCookie(name, value, days) { if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); } else { var expires = ""; } document.cookie = name + "=" + value + expires + "; path=/"; } function readCoo...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// JQuery Toggle Sidebar Plugin by andraferonicxa // https://plus.google.com/108949996304093815163/about // See: http://jsfiddle.net/tovic/z9Nen/embedded/result,js,html,css/ // or http://www.dte.web.id/2012/07/toggle-sidebar-dengan-jquery.html (function($) { $.fn.toggleSidebar = function(config) { config =...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript