0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-12-22 13:13:48 +01:00
This commit is contained in:
peteruithoven 2014-01-10 14:04:17 +01:00
parent a4ad7d7198
commit 139e4ca6ae
4 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,11 @@
function showPopup(popup) {
$(".popupMask").show();
popup.show();
$("#popupMask").fadeIn(POPUP_SHOW_DURATION);
popup.fadeIn(POPUP_SHOW_DURATION);
keyboardShortcutsEnabled=false;
}
function hidePopup(popup) {
$(".popupMask").hide();
popup.hide();
$("#popupMask").fadeOut(POPUP_SHOW_DURATION);
popup.fadeOut(POPUP_SHOW_DURATION);
keyboardShortcutsEnabled=true;
}

View File

@ -42,7 +42,7 @@ function initButtonBehavior() {
btnSine = $(".btnSine");
btnAdd = $(".btnAdd");
btnToggleVertical = $(".btnToggleVertical");
buttonGroupAdd = $(".buttonGroupAdd");
buttonGroupAdd = $("#buttonGroupAdd");
buttonGroupVertical = $(".buttonGroupVertical");
popupWordArt = $(".popupWordArt");
popupShape = $(".popupShape");

View File

@ -150,7 +150,7 @@
padding: 5% 5% 5% 5%;
}
.buttonGroupAdd {
#buttonGroupAdd {
display: none;
z-index: 1000;
margin-top: -60%;

View File

@ -35,7 +35,7 @@
<img class="btnOops btn" src="img/buttons/btnOops.png" /><br/>
<img class="btnAdd btn" src="img/buttons/btnAdd.png" /><br/>
<div class="buttonGroup buttonGroupAdd">
<div class="buttonGroup" id="buttonGroupAdd">
<img class="btnWordArt btn" src="img/buttons/btnWordArt.png" />
<img class="btnShape btn" src="img/buttons/btnShape.png" />
</div>