code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/* ------------------------------------------------------------------------
Class: prettyPopin
Use: Alternative to popups
Author: Stephane Caron (http://www.no-margin-for-errors.com)
Version: 1.3
------------------------------------------------------------------------- */
var _followScroll = false;
var _readyBound... | JavaScript |
poll ={
last_key : 0,
last_q : 0,
new_q : 0,
last_f : 0,
last_a : [],
new_a : [],
cateTypeDes : [
'',
'普通投票,单主题,分多选和单选两种',
'投稿作品评选投票,同一个用户可以给多个作品投票',
'PK投票,仅限2个选项,用户只能选其一',
'普通的多主题投票,多项问题答完一起提交',
'调查投票,用户在完成所需题目之后可增加表单提交用户的个人信息,活动用',
'有奖问答,用户必须答对一题才能向下进行,可增加表单提交用户的个人信息,活动用'
],
tb_inner : '',
add... | JavaScript |
function getCookie(name){
var c = document.cookie;
var c_arr = c.split(';');
var v = '';
for(var i=0;i<c_arr.length;i++){
var item = c_arr[i].replace(/\s+/ig,'').split('=');
if(name == item[0]){
v = item[1];
}
}
return v;
} | JavaScript |
function achievingdreams(){
var $wnd_0 = window, $doc_0 = document, $stats = $wnd_0.__gwtStatsEvent?function(a){
return $wnd_0.__gwtStatsEvent(a);
}
:null, $sessionId_0 = $wnd_0.__gwtStatsSessionId?$wnd_0.__gwtStatsSessionId:null, scriptsDone, loadDone, bodyDone, base = '', metaProps = {}, values = [], provid... | JavaScript |
/************************************************************************
*************************************************************************
@Name : jMenu - jQuery Plugin
@Revison : 1.9
@Date : 09/2012
@Author : ALPIXEL - (www.myjqueryplugins.com - www.alpixel.fr)
@Support : ... | JavaScript |
/*
* Copyright 2011 Roman Nurik
*
* 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... | JavaScript |
/*
* Copyright 2012 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... | JavaScript |
/*
* Copyright 2012 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... | JavaScript |
/*
* Copyright 2012 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... | JavaScript |
var metas = document.getElementsByTagName('meta');
var i;
if (navigator.userAgent.match(/iPhone/i)) {
for (i=0; i<metas.length; i++) {
if (metas[i].name == "viewport") {
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
}
}
document.addEventListener("gesturestart", gestu... | JavaScript |
/**
* JavaScript Slider v0.9
* http://blog.ovidiu.ch/javascript-slider
*
* Copyright (c) 2010, Ovidiu Cherecheș
* MIT License
* http://legal.ovidiu.ch/licenses/MIT
*/
/* Mouse */
var Mouse =
{
x: 0,
y: 0,
refresh: function(e)
{
var posx = 0, posy = 0;
if(!e)
{
e = window.event;
}
if(e.pageX |... | JavaScript |
/*
Yetii - Yet (E)Another Tab Interface Implementation
http://www.kminek.pl/lab/yetii/
Copyright (c) 2007 Grzegorz Wojcik
Code licensed under the BSD License:
http://www.kminek.pl/bsdlicense.txt
*/
function Yetii() {
this.defaults = {
id: null,
active: 1,
timeout: null,
interval: null,
t... | JavaScript |
// -----------------------------------------------------------------------------------
//
// Lightbox v2.03.3
// by Lokesh Dhakar - http://www.huddletogether.com
// 5/21/06
//
// For more information on this script, visit:
// http://huddletogether.com/projects/lightbox2/
//
// Licensed under the Creative Commons Attrib... | JavaScript |
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation th... | JavaScript |
// JavaScript Document
var daysName = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'];
// create database
var db = window.openDatabase('Calendar', '0.1', 'AceCalendar', 200000);
// create table
db.transaction(function (tx) {
tx.executeSql('CREATE TABLE IF NOT EXISTS EVENTS (id integer, date NUMERIC, lo... | JavaScript |
function getURLQueryString(name){
var url=window.location.toString();
var str="";
var str_value="";
if(url.indexOf("?")!=-1){
var ary=url.split("?")[1].split("&");
for(var i in ary){
str=ary[i].split("=")[0];
if (str == name) {
str_value = decodeURI(ary[i].split("="... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | JavaScript |
// JavaScript Document
var alarmEnable = false;
var alarmHTML = "Alarm.html";
var alarmID = 168;
var alarmTime;
// Wait for device API libraries to load
//
$(document).ready(onLoad);
function onLoad() {
setUIClock();
setInterval("setUIClock()",1000);
alarmTime = new Date(window.localStorage... | JavaScript |
// JavaScript Document
db// create database
var db = window.openDatabase('Calendar', '0.1', 'AceCalendar', 200000);
// create table
db.transaction(function (tx) {
tx.executeSql('CREATE TABLE IF NOT EXISTS EVENTS (id integer, date NUMERIC, logTitle, log, PRIMARY KEY (id))');
});
// Wait for device API l... | JavaScript |
var Ajax;
if (Ajax && (Ajax != null)) {
Ajax.Responders.register({
onCreate: function() {
if($('spinner') && Ajax.activeRequestCount>0)
Effect.Appear('spinner',{duration:0.5,queue:'end'});
},
onComplete: function() {
if($('spinner') && Ajax.activeRequestCount==0)
Effect.Fad... | JavaScript |
jQuery.fn.modal = function() {
return this.each(function(){
var ah = $(this).height();
var wh = $(window).height();
var nh = (wh/2) - (ah/2);
var aw = $(this).width();
var ww = $(window).width();
var nw = (ww/2) - (aw/2);
// Trim body height, append overla... | JavaScript |
/*!
* jQuery Cycle Plugin (with Transition Definitions)
* Examples and documentation at: http://jquery.malsup.com/cycle/
* Copyright (c) 2007-2010 M. Alsup
* Version: 2.86 (05-APR-2010)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.or... | JavaScript |
/*
* Url preview script
* powered by jQuery (http://www.jquery.com)
*
* written by Alen Grakalic (http://cssglobe.com)
*
* for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
*
*/
this.screenshotPreview = function(){
/* CONFIG */
xOffset = 40... | JavaScript |
// Font Replacement
Cufon.replace('.category-title h1,.footer h4, .product-view .product-shop .product-name h1,.page-title h1, .page-title h2,.wired-home .subscribe strong', {
hover: true
});
jQuery(document).ready(function() {
// Featured Products
jQuery('#featured').jcarousel();
// FancyBox jQuery... | JavaScript |
var accountList;
$(function() {
/**
* 新增分类
*/
$("#newEx").click(function(){
newExpenditure();
});
});
/**
* 新增支出
*/
function newExpenditure(){
$.ajax({
type : "POST",
url : 'newExpenditure.do',
data : $('#expenditureForm').serialize(),//
dataType : 'json',
success : fun... | JavaScript |
var subClassMap;
var resultInfoList;
var validator;
$(function(){
// validateForm();
/**
* 新增
*/
$("#newExpenditureBtn").click(function() {
// alert(3);
// hiAlert('请选择一个节点!', "提示");
addExpenditure();
});// 绑定新增方法
$("#batchDelExpenditureBtn").click(function() {
});
// searchExpenditureData... | JavaScript |
var categoryList;
var parentId;
$(function() {
parentId=$.query.get('parentId');
$("#category").val(parentId);
searchData();
/**
* 新增分类
*/
$("#newCategory").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
... | JavaScript |
var categoryList;
$(function() {
searchData();
/**
* 新增分类
*/
$("#newCategory").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
title:"新增分类",
width: 400,
modal: true,
close://点X关闭
function... | JavaScript |
var categoryList;
var parentId;
$(function() {
parentId=$.query.get('parentId');
$("#category").val(parentId);
searchData();
/**
* 新增分类
*/
$("#newCategory").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
... | JavaScript |
var categoryList;
$(function() {
searchData();
/**
* 新增分类
*/
$("#newCategory").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
title:"新增分类",
width: 400,
modal: true,
close://点X关闭
function... | JavaScript |
var merchantList;
$(function() {
searchData();
/**
* 新增分类
*/
$("#newMerchant").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
title:"新增项目",
width: 400,
modal: true,
close://点X关闭
function... | JavaScript |
var projectList;
$(function() {
searchData();
/**
* 新增分类
*/
$("#newProject").click(function(){
$("<div id='newCateDiv'><iframe id='newCateFrame' frameborder='0' src='showNewCategoryDialog.do'></iframe></div>").dialog({
title:"新增项目",
width: 400,
modal: true,
close://点X关闭
function()... | JavaScript |
var accountList;
$(function() {
searchData();
/**
* 新增分类
*/
$("#newAccount").click(function(){
$("<div id='newDiv'><iframe id='newFrame' frameborder='0' src='showNewAccountDialog.do'></iframe></div>").dialog({
title:"新增账户",
width: 450,
modal: true,
close://点X关闭
function(){
$('#... | JavaScript |
var validator;
$(function() {
setDate(new Date());
validateEditForm();
// searchData();
$("#submit").click(function(){
if ($("#keepAccountForm").valid()) {//校验表单
var typeValue=$('#type').val();
if(typeValue=='2' && $('#transferAccount1').val()== $('#transferAccount2').val()){
hiAlert('转账的账户不能相同... | JavaScript |
var detailList;
$(function() {
searchData();
});
function searchData() {
detailList = $('#tableDiv').grid(
{
url : "getIncomeAndExpenditureDetail.do",
root : 'detailList',
paging:true,
defaultParams : {
click : true
},
fields : [
{id : "category", subattr : "categoryName",... | JavaScript |
var validator;
$(function() {
validateEditForm();
searchData();
$("#submit").click(function(){
if ($("#keepAccountForm").valid()) {//校验表单
validator.resetForm();
$.ajax({
type : "POST",
url : 'newOrUpdateTransferAccountsDetail.do',
data : $('#keepAccountForm').serialize(),//
... | JavaScript |
var validator;
$(function() {
validateEditForm();
searchData();
$("#submit").click(function(){
if ($("#keepAccountForm").valid()) {//校验表单
validator.resetForm();//重置验证
$.ajax({
type : "POST",
url : 'newOrUpdateExpenditureDetail.do',
data : $('#keepAccountForm').serialize(),//
da... | JavaScript |
var detailList;
$(function() {
// validateEditForm();
searchData();
// $("#submit").click(function(){
// if ($("#keepAccountForm").valid()) {//校验表单
// validator.resetForm();
// $.ajax({
// type : "POST",
// url : 'newOrUpdateIncomeDetail.do',
// data : $('#keepAccountForm').serialize(),//... | JavaScript |
var validator;
$(function() {
validateEditForm();
searchData();
$("#submit").click(function(){
if ($("#keepAccountForm").valid()) {//校验表单
validator.resetForm();
$.ajax({
type : "POST",
url : 'newOrUpdateTransferAccountsDetail.do',
data : $('#keepAccountForm').serialize(),//
... | JavaScript |
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate: 2007-07-21 18:44:59 -0500 (Sat, 21 Jul 2007) $
* $Rev: 2446 $
*
* Versio... | JavaScript |
(function ($){
/*!
* mcDropdown jQuery Plug-in
*
* Copyright 2011 Giva, Inc. (http://www.givainc.com/labs/)
*
* 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://w... | JavaScript |
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00... | JavaScript |
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Se... | JavaScript |
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00... | JavaScript |
var langList =
[
{name:'en', charset:'UTF-8'},
{name:'zh-cn', charset:'UTF-8'},
{name:'zh-tw', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'},
{name:'whyGreen', charset:'UTF-8'}
]; | JavaScript |
var dictContentList;
var validator;
var dictTypeId=-1;
$(function() {
validateEditForm();
searchData();
$("#newDictContent").attr('disabled','true');//初始化时,不可以新增。
/**
* 选择字典类型改变事件
*/
$('#dictType').change(
function(){
dictTypeId = $("#dictType").val();
$("#newDictContent").attr('disabled',... | JavaScript |
var dictTypeList;
var validator;
$(function() {
validateEditForm();
searchData();
/**
* 新增类型
*/
$("#newDictType").click(function(){
$("#dialogReset").click();
validator.resetForm();
$('#editDiv').dialog({
title:"新增分类",
width: 350,
modal: true,
buttons: {
'保存修改': function(){... | JavaScript |
(function($) {
$.restUrl = function(url, params) {
var tokens = url.match(/{(.*?)}/g);
$.each(tokens || [], function(i, token) {
var key = token.substr(1, token.length - 2);
var value = params[key] || '';
url = url.replace(token, value);
});
return url;
};
var defaultConfig = {
paging: ... | JavaScript |
new function(settings) {
// Various Settings
var $separator = settings.separator || '&';
var $spaces = settings.spaces === false ? false : true;
var $suffix = settings.suffix === false ? '' : '[]';
var $prefix = settings.prefix === false ? false : true;
var $hash = $prefix ? settings.hash === true ?... | JavaScript |
(function(a) {
a.alerts = {
verticalOffset: -75,
horizontalOffset: 0,
repositionOnResize: true,
overlayOpacity: 0.50,
overlayColor: "#FFF",
draggable: true,
okButton: "确 定",
cancelButton: "取 消",
dialogClass: null,
alert: func... | JavaScript |
//JQUERY
document.write("<script language='JavaScript' src='common/jquery/jquery-1.7.1.js'></script>");
document.write("<script language='JavaScript' src='common/jquery/jquery-1.7.1.min.js' ></script>");
//document.write("<script language='JavaScript' src='common/jquery/jquery.expand-categorygrid.js'></script>");
d... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
var objects = [ 'achievements' ];
bp_init_objects( objects );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
var objects = [ 'achievements' ];
bp_init_objects( objects );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
var objects = [ 'achievements' ];
bp_init_objects( objects );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
var objects = [ 'achievements' ];
bp_init_objects( objects );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
var objects = [ 'achievements' ];
bp_init_objects( objects );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
jQuery(document).ready(function($) {
$('.initially_hidden').addClass('hidden_initially');
if ( $("#action_id option:selected").hasClass('group') )
$('fieldset.mandatory-trigger div.groups').show();
$('#name').change(function(event) {
if ( !$('#slug').hasClass( 'tainted' ) )
$('#slug').val( $(this).val().to... | JavaScript |
jQuery(document).ready(function($) {
// Object filter and scope set.
bp_init_objects( [ 'achievements' ] );
}); | JavaScript |
jQuery(document).ready(function($) {
var button = $("#content li.load-more");
if ( button.attr('class') == 'load-more' ) {
button.removeClass('load-more');
button.addClass('achievements-load-more');
}
$(".achievements-load-more").live('click', function(event){
if ( null == $.cookie('bp-activity-oldestpage')... | JavaScript |
// Openlayers map object
var map;
// Geoserver count
var itemRecords = '';
// Thredds server count: not being used at the moment
var catalogRecords = '';
// Proxy setting for Cross Origin Resource Sharing
OpenLayers.ProxyHost = '';
//OpenLayers.ProxyHost = 'proxy.php?mode=native&url=';
// Stop the ... | JavaScript |
/*
### jQuery XML to JSON Plugin v1.1 - 2008-07-01 ###
* http://www.fyneworks.com/ - diego@fyneworks.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
###
Website: http://www.fyneworks.com/jquery/xml-to-json/
*//*
... | JavaScript |
/*
* jQuery Mobile Framework 1.0.1
* http://jquerymobile.com
*
* Copyright 2011-2012 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
/*!
* jQuery UI Widget @VERSION
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT ... | JavaScript |
/*
OpenLayers.js -- OpenLayers Map Viewer Library
Copyright (c) 2006-2012 by OpenLayers Contributors
Published under the 2-clause BSD license.
See http://openlayers.org/dev/license.txt for the full text of the license, and http://openlayers.org/dev/authors.txt for full list of contributors.
Includes compre... | JavaScript |
// Use proxy to get same origin URLs for tiles that don't support CORS.
OpenLayers.ProxyHost = "proxy.cgi?url=";
var map, cacheWrite;
function init() {
map = new OpenLayers.Map({
div: "map",
projection: "EPSG:900913",
layers: [
new OpenLayers.Layer.WMS("OSGeo", "http://vmap0.ti... | JavaScript |
var map;
function init() {
map = new OpenLayers.Map({
div: "map",
projection: "EPSG:900913"
});
var osm = new OpenLayers.Layer.OSM();
// If tile matrix identifiers differ from zoom levels (0, 1, 2, ...)
// then they must be explicitly provided.
var matrixIds = new... | JavaScript |
var map = new OpenLayers.Map({
div: "map",
layers: [
new OpenLayers.Layer.WMS(
"Global Imagery",
"http://maps.opengeo.org/geowebcache/service/wms",
{layers: "bluemarble"},
{tileOrigin: new OpenLayers.LonLat(-180, -90)}
),
new OpenLayers.Lay... | JavaScript |
var map;
function init() {
map = new OpenLayers.Map({
div: "map",
projection: new OpenLayers.Projection("EPSG:900913")
});
var osm = new OpenLayers.Layer.OSM();
var gmap = new OpenLayers.Layer.Google("Google Streets");
map.addLayers([osm, gmap]);
map.addCo... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.