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)
|
||||
var showConfigScreen = function showConfigScreen() {
|
||||
$('#uhr-controlpanel' + this.id).show();
|
||||
$('#uhr-controlpanel' + this.id).fadeIn('fast');
|
||||
};
|
||||
// set up
|
||||
var setupHTML = function setupHTML() {
|
||||
|
@ -187,7 +187,7 @@
|
|||
}
|
||||
var closebutton = $('<a class="uhr-closecontrolpanel" id="uhr-closecontrolpanel' + this.id + '"></a>');
|
||||
closebutton.on('click', function () {
|
||||
$('#uhr-controlpanel' + this.id).hide();
|
||||
$('#uhr-controlpanel' + this.id).fadeOut('fast');
|
||||
}.bind(this));
|
||||
content.append(closebutton);
|
||||
e.after(controlpanel);
|
||||
|
|
Loading…
Reference in a new issue