fade controls in and out
This commit is contained in:
parent
a3dce2322b
commit
fcfdaaa2cd
1 changed files with 485 additions and 485 deletions
|
@ -134,7 +134,7 @@
|
||||||
};
|
};
|
||||||
// private helper methods (not exported)
|
// private helper methods (not exported)
|
||||||
var showConfigScreen = function showConfigScreen() {
|
var showConfigScreen = function showConfigScreen() {
|
||||||
$('#uhr-controlpanel' + this.id).show();
|
$('#uhr-controlpanel' + this.id).fadeIn('fast');
|
||||||
};
|
};
|
||||||
// set up
|
// set up
|
||||||
var setupHTML = function setupHTML() {
|
var setupHTML = function setupHTML() {
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
}
|
}
|
||||||
var closebutton = $('<a class="uhr-closecontrolpanel" id="uhr-closecontrolpanel' + this.id + '"></a>');
|
var closebutton = $('<a class="uhr-closecontrolpanel" id="uhr-closecontrolpanel' + this.id + '"></a>');
|
||||||
closebutton.on('click', function () {
|
closebutton.on('click', function () {
|
||||||
$('#uhr-controlpanel' + this.id).hide();
|
$('#uhr-controlpanel' + this.id).fadeOut('fast');
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
content.append(closebutton);
|
content.append(closebutton);
|
||||||
e.after(controlpanel);
|
e.after(controlpanel);
|
||||||
|
|
Loading…
Reference in a new issue