* see #92: Some graphical fixes,

* Documentation update,
 * Ugly hacks to make the stats plugin work as before.
This commit is contained in:
tonio
2011-01-05 22:50:44 +01:00
parent 429e348a26
commit d3418c8b11
12 changed files with 55 additions and 33 deletions
+4 -1
View File
@@ -2,11 +2,13 @@ window.addEvent('domready', function() {
var tip = new Tips($$(".Tips"));
var current_role = "";
var current_sizes = "";
var accordion = new Accordion('h3.atStart', 'div.atStart', {
opacity: true,
onActive: function(toggler, element){
toggler.setStyle('color', '#ff3300');
current_role = element.get("id");
current_sizes = element.get("rel");
},
onBackground: function(toggler, element) {
@@ -16,8 +18,9 @@ window.addEvent('domready', function() {
$$("a[name=addperm]").addEvent("click", function(evt) {
evt.stop();
var sizes = current_sizes.split(" ");
SqueezeBox.initialize({
size: {x: 300, y: 280},
size: {x: sizes[0], y: sizes[1]},
handler: 'iframe'
});
var addperm_url = evt.target.get("href") + "?role=" + current_role;