15/01/2024, 16:22

This commit is contained in:
2024-01-15 16:22:13 +07:00
parent 5b73b6d7db
commit 4c2b9ca005

View File

@@ -7,19 +7,22 @@
<h2>1. Cài đặt</h2>
<code>
<!-- // 1. index.html -->
/* 1. index.html */
<iframe class="hura-main-content" id="js-hura-iframe" src="{// Url giao diện \\}"></iframe>
<script src="js/hura_edit.js"></script> => // code edit template
<script src="js/jscolor.js"></script> => // Bảng mã màu
<script>
Hura_Edit.install(); // => Cài đặt
</script>
</code>
<code>
/* 2. file giao diện. Các file dưới sẽ được thêm vào iframe. Function cài đặt Hura_Edit.Iframe.iframe_Setup() */
/* 2. file giao diện. Các file dưới sẽ được thêm vào iframe. Function cài đặt Hura_Edit.Iframe.iframe_Setup() */
<link rel="stylesheet" href="css/style.css"/>
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"> </script> => // Thư viện kéo/thả
</code>
@@ -55,8 +58,8 @@
<p> VD 1: Đổi ảnh hoặc banner sẽ dùng <b>data-hura-type="file"</b> </p>
<code>
<!-- // Logo -->
<!-- // Logo -->
<a class="js-hura-edit" data-hura-type="file">
<img src="https://aman.gleecdn.com/file/1/tl/TL1MzbLUhPQoaGI.png" alt="logo">
</a>
@@ -78,7 +81,6 @@
<a target="_blank" href="https://demxanh.com/lien-he.html">Liên hệ</a>
</div>
<div class="js-hura-edit" data-hura-type="text">
<p>1. Quý khách cần đăng nhập Thông tin chính xác để quay thưởng.</p>
<p>2. Mỗi khách hàng được quay 5 lần và chỉ được chọn 1 phần quà.</p>