This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>List items with jQuery</title> | |
<style> | |
#header { | |
background-color:#94D4E0; font-family:tahoma; height:50px; margin-left:auto; margin-right:auto; width:400px; text-align:center; vertical-align:text-bottom; font-size:20px; line-height:250%; | |
} | |
#control { | |
position:absolute; align:float; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file injects all on Page uiConf based javascript and configuration and loader. | |
* | |
* it requires a partner_id and a uiconf_id | |
*/ | |
require_once( dirname( __FILE__ ) . '/../KalturaCommon.php' ); | |
$wgMwEmbedApiServices['uiconfJs'] = 'mweApiUiConfJs'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* KWidget static object. | |
* Will eventually host all the loader logic. | |
*/ | |
(function(){ | |
// Use strict ECMAScript 5 | |
"use strict"; | |
// Flag to avoid double setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var playerConfig = { | |
components: [{"width":"100%","height":"30","type":"Container","id":"Controls","relativeTo":"ControlBarContainer","position":"firstChild"},{"type":"ToggleButton","id":"htmlPlayBtn","state":"playerStatus.isPlaying()","actionOn":"doPause","actionOff":"doPlay","cssClass":"btn","cssClassOn":"icon-pause","cssClassOff":"icon-play","relativeTo":"Controls","position":"firstChild"},{"height":"22","type":"ToggleButton","id":"htmlFullScreenBtn","state":"playerStatus.isInFullScreen()","actionOn":"closeFullScreen","actionOff":"openFullScreen","cssClass":"btn pull-right","cssClassOn":"icon-contract","cssClassOff":"icon-expand","relativeTo":"Controls","position":"lastChild"},{"width":"100%","height":"10","type":"Scrubber","id":"htmlScrubber","relativeTo":"Controls","position":"lastChild"},{"width":"60","height":"12","format":"mm:ss","type":"Label","id":"htmlCurrentTimeLabel","relativeTo":"Controls","position":"lastChild"},{"width":"60","height":"12","format":"mm:ss","type":"Label","id":"htmlDurationLab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $obj = $({}); | |
$obj.bind('myEvent', function( param, callback ) { | |
// do stuff | |
callback(); | |
}); | |
$obj.bind('myEvent', function( param, callback ) { | |
// do stuff | |
callback(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins":{ | |
"largePlayBtn": {}, | |
"scrubber": {}, | |
"playPauseBtn": {}, | |
"volumeControl": {}, | |
"fullScreenBtn": {}, | |
"durationLabel": {}, | |
"currentTimeLabel": {}, | |
"sourceSelector": {}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This script created to generate a JSON of Shabbat Times from Dat.gov.il | |
* | |
* Usage: | |
* 1. Go to: http://www.dat.gov.il/religion/console/shabbat_hours.aspx | |
* 2. Open the Web Developer Console | |
* 3. Copy the code below ans paste it in and hit Enter | |
* 4. Enjoy the data | |
*/ | |
var timesScapper = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function( mw, $ ) {"use strict"; | |
// 'myPlugin' should be defined in jsonConfig in order to be loaded/enabled | |
mw.PluginManager.add( 'myPlugin', mw.KBaseComponent.extend({ | |
// Default component config | |
defaultConfig: { | |
parent: "controlsContainer", | |
order: 70, | |
align: "right" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
// Script: Simple PHP Proxy: Get external HTML, JSON and more! | |
// | |
// *Version: 1.6, Last updated: 1/24/2009* | |
// *Update by [email protected]* | |
// * added validate xml and content type | |
// * added X-Forwarded-For header for geoLookup services | |
// | |
// @@todo add cache and 304 support ( not very high priority since ad servers are generally |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* kmc and kmc.vars defined in script block in kmc4success.php */ | |
// For debug enable to true. Debug will show information in the browser console | |
kmc.vars.debug = false; | |
// Quickstart guide (should be moved to kmc4success.php) | |
kmc.vars.quickstart_guide = "/content/docs/pdf/KMC_User_Manual.pdf"; | |
kmc.vars.help_url = kmc.vars.service_url + '/kmc5help.html'; | |
// Set base URL |
OlderNewer