@ -0,0 +1,11 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<widget xmlns="http://www.w3.org/ns/widgets" |
||||
xmlns:ub="http://uniboard.mnemis.com/widgets" |
||||
id="http://uniboard.mnemis.com/widgets/anyembed" |
||||
version="1.1" |
||||
width="477" |
||||
height="85" |
||||
ub:resizable="true"> |
||||
<name>AnyEmbed</name> |
||||
<content src="index.html"/> |
||||
</widget> |
@ -0,0 +1,21 @@ |
||||
* { |
||||
margin: 0; |
||||
padding: 0; |
||||
} |
||||
|
||||
body{ |
||||
margin:0px; |
||||
} |
||||
|
||||
.ubw-container{ |
||||
position:absolute; |
||||
margin:0px; |
||||
left:0px; |
||||
top:0px; |
||||
} |
||||
|
||||
.ubw-body{ |
||||
margin:0px; |
||||
|
||||
} |
||||
|
After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,33 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||||
<html xmlns="http://www.w3.org/1999/xhtml"> |
||||
|
||||
<head> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
||||
<title>ubwidget</title> |
||||
|
||||
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> |
||||
<script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script> |
||||
<script src="js/jquery.disable.text.select.js" type="text/javascript"></script> |
||||
<script src="js/jquery.ubwidget.js" type="text/javascript"></script> |
||||
<script src="js/jquery.center.js" type="text/javascript"></script> |
||||
<script src="js/DD_roundies_0.0.2a.js" type="text/javascript"></script> |
||||
<script src="js/ubw-main.js" type="text/javascript"></script> |
||||
<script src="js/calculate.js" type="text/javascript"></script> |
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/ubwidget.css" /> |
||||
|
||||
</head> |
||||
|
||||
<body> |
||||
|
||||
<script type="text/javascript"> |
||||
$(document).ready(function(){ |
||||
init(); |
||||
}); |
||||
</script> |
||||
<audio id='audio'></audio> |
||||
<div id="ubwidget"></div> |
||||
|
||||
</body> |
||||
|
||||
</html> |
@ -0,0 +1,62 @@ |
||||
/** |
||||
* .disableTextSelect - Disable Text Select Plugin |
||||
* |
||||
* Version: 1.1 |
||||
* Updated: 2007-11-28 |
||||
* |
||||
* Used to stop users from selecting text |
||||
* |
||||
* Copyright (c) 2007 James Dempster (letssurf@gmail.com, http://www.jdempster.com/category/jquery/disabletextselect/)
|
||||
* |
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) |
||||
* and GPL (GPL-LICENSE.txt) licenses. |
||||
**/ |
||||
|
||||
/** |
||||
* Requirements: |
||||
* - jQuery (John Resig, http://www.jquery.com/)
|
||||
**/ |
||||
(function($) { |
||||
if ($.browser.mozilla) { |
||||
$.fn.disableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).css({ |
||||
'MozUserSelect' : 'none' |
||||
}); |
||||
}); |
||||
}; |
||||
$.fn.enableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).css({ |
||||
'MozUserSelect' : '' |
||||
}); |
||||
}); |
||||
}; |
||||
} else if ($.browser.msie) { |
||||
$.fn.disableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).bind('selectstart.disableTextSelect', function() { |
||||
return false; |
||||
}); |
||||
}); |
||||
}; |
||||
$.fn.enableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).unbind('selectstart.disableTextSelect'); |
||||
}); |
||||
}; |
||||
} else { |
||||
$.fn.disableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).bind('mousedown.disableTextSelect', function() { |
||||
return false; |
||||
}); |
||||
}); |
||||
}; |
||||
$.fn.enableTextSelect = function() { |
||||
return this.each(function() { |
||||
$(this).unbind('mousedown.disableTextSelect'); |
||||
}); |
||||
}; |
||||
} |
||||
})(jQuery); |
@ -0,0 +1,74 @@ |
||||
|
||||
function init(){ |
||||
var embed; |
||||
var inputBox = $("<textarea type='text'></textarea>") |
||||
.css({ |
||||
width: "350px", |
||||
height: "58px", |
||||
marginRight: "5px" |
||||
}); |
||||
|
||||
var submit = $("<div>Embed</div>") |
||||
.css({
|
||||
float: "right", |
||||
width: "auto", |
||||
height:"auto", |
||||
padding:"4px", |
||||
marginTop:"13px", |
||||
cursor:"pointer", |
||||
backgroundColor:"rgb(45,65,250)", |
||||
border:"1px solid", |
||||
borderColor:"rgb(45,65,250) rgb(25,45,230) rgb(25,45,230) rgb(45,65,250)", |
||||
textTransform:"capitalize", |
||||
fontFamily:"Arial", |
||||
fontSize:"18px", |
||||
fontWeight:"regular", |
||||
color:"white" |
||||
}); |
||||
|
||||
var loadWindow = $("<div></div>"); |
||||
|
||||
var searchWrap = $("<div></div>") |
||||
.css({ |
||||
position:"absolute", |
||||
padding: "10px", |
||||
backgroundColor: "rgb(230,230,233)", |
||||
width: "425px", |
||||
height: "65px" |
||||
}); |
||||
|
||||
//FIT WIDGET FRAME ON LAUNCH...
|
||||
if(window.uniboard){ |
||||
window.uniboard.resize($("#ubwidget").width()-15,85); |
||||
} |
||||
|
||||
searchWrap.append(inputBox) |
||||
.append(submit); |
||||
|
||||
$("#ubwidget").append(searchWrap);
|
||||
|
||||
submit.click(function(){ |
||||
$("#ubwidget").append(loadWindow) |
||||
embed = inputBox.val(); |
||||
searchWrap.hide(); |
||||
loadWindow.append(embed); |
||||
|
||||
if(window.uniboard){ |
||||
window.uniboard.resize($(document).width(),$(document).height()); |
||||
window.uniboard.setPreference("embed", escape(embed)); |
||||
} |
||||
|
||||
}); |
||||
|
||||
if(window.uniboard){ |
||||
|
||||
if(window.uniboard.preferenceKeys().length != 0){ |
||||
|
||||
var loadEmbed = unescape(window.uniboard.preference("embed")); |
||||
inputBox.val(loadEmbed); |
||||
submit.trigger("click");
|
||||
}
|
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,11 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<widget xmlns="http://www.w3.org/ns/widgets" |
||||
xmlns:ub="http://uniboard.mnemis.com/widgets" |
||||
id="http://uniboard.mnemis.com/widgets/calculator" |
||||
version="1.1" |
||||
width="200" |
||||
height="295" |
||||
ub:resizable="false"> |
||||
<name>Calculator</name> |
||||
<content src="index.html"/> |
||||
</widget> |
@ -0,0 +1,102 @@ |
||||
* { |
||||
margin: 0; |
||||
padding: 0; |
||||
} |
||||
|
||||
body{ |
||||
margin:0px; |
||||
} |
||||
|
||||
.ubw-container{ |
||||
float:left; |
||||
margin:3px; |
||||
margin-right:0px; |
||||
margin-top: 2px; |
||||
background-image:url(../images/back_small.png); |
||||
overflow: hidden; |
||||
} |
||||
|
||||
.ubw-body{ |
||||
margin:5px; |
||||
margin-left: 9px; |
||||
margin-right: 0px; |
||||
} |
||||
|
||||
.ubw-inspector{ |
||||
position:absolute; |
||||
background-color:rgb(252, 252, 252); |
||||
border:1px solid #cccccc; |
||||
line-height:20px; |
||||
font-family:Arial, Helvetica, sans-serif; |
||||
font-weight:normal; |
||||
font-size:20px; |
||||
color:#333333; |
||||
} |
||||
|
||||
.ubw-inpubox{ |
||||
min-width:28px; |
||||
min-height:37px; |
||||
color:#333333; |
||||
background-image: url(../images/button_out.png); |
||||
border-left:1px solid rgb(231, 231, 231); |
||||
border-right:1px solid rgb(231, 231, 231); |
||||
border-bottom:1px solid rgb(221, 221, 221); |
||||
border-top:1px solid rgb(241, 241, 241); |
||||
} |
||||
|
||||
/*BUTTONS*/ |
||||
|
||||
.ubw-button-wrapper{ |
||||
float:left; |
||||
position:relative; |
||||
/*border:solid 1px yellow;*/ |
||||
margin-right:-7px; |
||||
z-index:0; |
||||
font-family:Arial, Helvetica, sans-serif; |
||||
font-weight:normal; |
||||
font-size:30px; |
||||
overflow:visible; |
||||
} |
||||
|
||||
.ubw-button-canvas{ |
||||
width:auto; |
||||
float:left; |
||||
position:relative; |
||||
overflow:visible; |
||||
} |
||||
|
||||
table{ |
||||
line-height:90%; |
||||
} |
||||
|
||||
.ubw-button-body{ |
||||
position:relative; |
||||
float:left; |
||||
|
||||
width:auto; |
||||
height:auto; |
||||
overflow:visible |
||||
|
||||
text-align:center; |
||||
vertical-align:middle; |
||||
|
||||
cursor:pointer; |
||||
} |
||||
|
||||
.ubw-button-content{ |
||||
height:auto; |
||||
width:auto; |
||||
text-align:center; |
||||
overflow:visible; |
||||
} |
||||
|
||||
|
||||
.ubw-button-over{ |
||||
} |
||||
|
||||
.ubw-button-out{ |
||||
} |
||||
|
||||
span.colored{ |
||||
color: #0080ff; |
||||
} |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 940 B |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 940 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 4.3 KiB |