mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 17:27:57 +01:00
Turned logo into btn
This commit is contained in:
parent
89ee355b2e
commit
7d726f513e
@ -49,8 +49,9 @@ function initButtonBehavior() {
|
|||||||
popupWordArt = $("#popupWordArt");
|
popupWordArt = $("#popupWordArt");
|
||||||
popupShape = $("#popupShape");
|
popupShape = $("#popupShape");
|
||||||
popupMask = $("#popupMask");
|
popupMask = $("#popupMask");
|
||||||
|
logoPanel = $("#logopanel");
|
||||||
|
|
||||||
popupMask.Button();
|
logoPanel.on("onButtonClick", onLogo);
|
||||||
btnNew.on("onButtonClick", onBtnNew);
|
btnNew.on("onButtonClick", onBtnNew);
|
||||||
btnAdd.on("onButtonClick", onBtnAdd);
|
btnAdd.on("onButtonClick", onBtnAdd);
|
||||||
btnWordArt.on("onButtonClick", onBtnWordArt);
|
btnWordArt.on("onButtonClick", onBtnWordArt);
|
||||||
@ -88,6 +89,9 @@ function initButtonBehavior() {
|
|||||||
buttonGroupVerticalShapes.fadeToggle(BUTTON_GROUP_SHOW_DURATION);
|
buttonGroupVerticalShapes.fadeToggle(BUTTON_GROUP_SHOW_DURATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onLogo() {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
function onBtnAdd() {
|
function onBtnAdd() {
|
||||||
buttonGroupAdd.fadeToggle(BUTTON_GROUP_SHOW_DURATION);
|
buttonGroupAdd.fadeToggle(BUTTON_GROUP_SHOW_DURATION);
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
<!-- center panel -->
|
<!-- center panel -->
|
||||||
<div id="centerpanel">
|
<div id="centerpanel">
|
||||||
|
|
||||||
<div id="logopanel" onclick="location.reload()">
|
<div id="logopanel" class="btn">
|
||||||
<img id="pencil" src="img/logo/pencil.png"/>
|
<img id="pencil" src="img/logo/pencil.png"/>
|
||||||
<img id="logo" src="img/logo/doodle3d.png"/>
|
<img id="logo" src="img/logo/doodle3d.png"/>
|
||||||
</div>
|
</div>
|
||||||
@ -127,7 +127,7 @@
|
|||||||
|
|
||||||
<div id="debug_display"></div>
|
<div id="debug_display"></div>
|
||||||
|
|
||||||
<div id="popupMask"></div>
|
<div id="popupMask" class="btn"></div>
|
||||||
|
|
||||||
<div class="popup" id="popupWordArt">
|
<div class="popup" id="popupWordArt">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
Loading…
Reference in New Issue
Block a user