Merge branch 'main' of https://git.mamahaha.work/sangge/hhl_project
This commit is contained in:
commit
74f8a5fc6e
@ -74,23 +74,23 @@
|
||||
<!-- foods elements -->
|
||||
<div id="fish_chips" class="dish">
|
||||
<img src="asset/pic/elizabeth/fish_chips.png" alt="fish_chip"
|
||||
onclick="handleClick('cham');">
|
||||
onclick="handleClick('fish&chips');">
|
||||
</div>
|
||||
<div id="english_breakfast" class="dish">
|
||||
<img src="asset/pic/elizabeth/english_breakfast .png" alt="english_breakfast"
|
||||
onclick="handleClick('cheese');">
|
||||
onclick="handleClick('breakfast');">
|
||||
</div>
|
||||
<div id="pudding" class="dish">
|
||||
<img src="asset/pic/elizabeth/Pudding.png" alt="pudding"
|
||||
onclick="handleClick('crepe');">
|
||||
onclick="handleClick('pudding');">
|
||||
</div>
|
||||
<div id="spaghetti_bolognes" class="dish">
|
||||
<img src="asset/pic/elizabeth/Spaghetti_Bolognese.png" alt="Spaghetti_Bolognese"
|
||||
onclick="handleClick('foiegras');">
|
||||
onclick="handleClick('spaghtti');">
|
||||
</div>
|
||||
<div id="cream_tea" class="dish">
|
||||
<img src="asset/pic/cream_tea.png" alt="cream_tea"
|
||||
onclick="handleClick('onionsoup');">
|
||||
<img src="asset/pic/elizabeth/cream_tea.png" alt="cream_tea"
|
||||
onclick="handleClick('cream_tea');">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -159,11 +159,11 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
showElement("#dialogueBox img");
|
||||
|
||||
// Show all dishes
|
||||
showElement('#champagne img');
|
||||
showElement('#cheese img');
|
||||
showElement('#crepe img');
|
||||
showElement('#foie-gras img');
|
||||
showElement('#onion-soup img');
|
||||
showElement('#fish_chips img');
|
||||
showElement('#english_breakfast img');
|
||||
showElement('#pudding img');
|
||||
showElement('#spaghetti_bolognes img');
|
||||
showElement('#cream_tea img');
|
||||
|
||||
// Show a random customer
|
||||
showElement(customers[RandomCustomerIndex][0]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user