Added an 'onclick' to open the menu too.
This commit is contained in:
parent
9586dc4816
commit
63bfb56968
|
@ -128,6 +128,7 @@
|
|||
<script type="text/javascript">
|
||||
function openMenu() {
|
||||
$(function(){
|
||||
$("#ordertext").fadeIn(2000);
|
||||
if ( $("#rightmenu").css("display") == "none" ) {
|
||||
$("#rightmenu").css("display", "inline");
|
||||
$("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000);
|
||||
|
@ -147,7 +148,7 @@
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="sticker" onmouseover='openMenu(); $("#ordertext").fadeIn(2000);'>Lilla</h1>
|
||||
<h1 id="sticker" onmouseover='openMenu();' onclick='openMenu();' >Lilla</h1>
|
||||
<div id="contact">
|
||||
<span id="ordertext">Place your order here</span><br />
|
||||
<span class="icons">
|
||||
|
|
Loading…
Reference in a new issue