
| r2 - 10 Jan 2013 - 17:08 - AdminUser | r1 - 10 Jan 2013 - 17:08 - UnknownUser | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AjaxWebSelector |
AjaxWebSelector |
||||||||||||||||||||||||||||||||||||||||||||||
On this page: |
On this page: |
||||||||||||||||||||||||||||||||||||||||||||||
Error: no such plugin chili |
Error: no such plugin chili |
||||||||||||||||||||||||||||||||||||||||||||||
Webs |
Webs |
||||||||||||||||||||||||||||||||||||||||||||||
%STARTSECTION{"webs"}%
|
%STARTSECTION{"webs"}%
|
||||||||||||||||||||||||||||||||||||||||||||||
Webselector |
Webselector |
||||||||||||||||||||||||||||||||||||||||||||||
%STARTINCLUDE%
%JQREQUIRE{"gradient"}% %JQREQUIRE{"simplemodal"}%
%STOPINCLUDE%
|
%STARTINCLUDE%
%JQREQUIRE{"gradient"}% %JQREQUIRE{"simplemodal"}%
%STOPINCLUDE%
|
||||||||||||||||||||||||||||||||||||||||||||||
Webselector.css |
Webselector.css |
||||||||||||||||||||||||||||||||||||||||||||||
.weblet {
float:left;
padding:10px;
margin:0px 10px 10px 0px;
border:1px solid #ddd;
width:100px;
height:100px;
position:relative;
font-size:95%;
overflow:hidden;
}
.weblet h2 {
margin:0px;
border:0px;
}
.weblet .parent {
font-size:95%;
font-style:italic;
}
.weblet .desc {
margin-top:0.1em;
}
.weblet .more {
margin-top:0.1em;
}
.weblet .more a {
text-decoration:none;
}
#weblist .container {
margin-top:10px;
width:550px;
height:390px;
overflow-x:hidden;
overflow-y:auto;
}
.weblet h2 {
margin-top:0px;
font-size:105%;
font-weight:bold;
color:#222;
}
.weblet.selected {
border:1px solid red;
}
|
.weblet {
float:left;
padding:10px;
margin:0px 10px 10px 0px;
border:1px solid #ddd;
width:100px;
height:100px;
position:relative;
font-size:95%;
overflow:hidden;
}
.weblet h2 {
margin:0px;
border:0px;
}
.weblet .parent {
font-size:95%;
font-style:italic;
}
.weblet .desc {
margin-top:0.1em;
}
.weblet .more {
margin-top:0.1em;
}
.weblet .more a {
text-decoration:none;
}
#weblist .container {
margin-top:10px;
width:550px;
height:390px;
overflow-x:hidden;
overflow-y:auto;
}
.weblet h2 {
margin-top:0px;
font-size:105%;
font-weight:bold;
color:#222;
}
.weblet.selected {
border:1px solid red;
}
|
||||||||||||||||||||||||||||||||||||||||||||||
Webselector.js |
Webselector.js |
||||||||||||||||||||||||||||||||||||||||||||||
(function($) {
webSelector = {
show: function() {
$("#weblist").modal({
persist:true,
onShow: webSelector.init
});
$(window).trigger("resize");
return false;
},
spaceOutWikiWord: function(wikiWord) {
return wikiWord.replace(/([a-z])([A-Z0-9]+)/g, "$1 $2");
},
addWeblets: function(webs, $container) {
for (var i in webs) {
var web = webs[i];
var color = web.color;
if (color == '')
color = 'dddddd';
color = color.replace(/#/g, '');
var webName = webSelector.spaceOutWikiWord(web.name);
var $weblet = $(" |
(function($) {
webSelector = {
show: function() {
$("#weblist").modal({
persist:true,
onShow: webSelector.init
});
$(window).trigger("resize");
return false;
},
spaceOutWikiWord: function(wikiWord) {
return wikiWord.replace(/([a-z])([A-Z0-9]+)/g, "$1 $2");
},
addWeblets: function(webs, $container) {
for (var i in webs) {
var web = webs[i];
var color = web.color;
if (color == '')
color = 'dddddd';
color = color.replace(/#/g, '');
var webName = webSelector.spaceOutWikiWord(web.name);
var $weblet = $(" |
||||||||||||||||||||||||||||||||||||||||||||||
Test |
Test |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| r2 - 10 Jan 2013 - 17:08 - AdminUser | r1 - 10 Jan 2013 - 17:08 - UnknownUser | ||||||||||||||||||||||||||||||||||||||||||||||
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.