Top Menu

Marquee

Blog chia sẽ kiến thức, kinh nghiệm, thủ thuật và các vấn đề IT.....

Tạo Marquee dưới thanh Menu cho Nukeviet

Code:
<marquee width="470" scrollamount="1" scrolldelay="10" direction="left" behavior="scroll"><font color="333FFF"><b>Chào m?ng b?n dã ghé tham website Sao Linh</b></font></marquee>
Bạn vào file: \www\nukeviet\themes\default\layout\header.tpl
Chèn đoạn Marquee trên dưới thẻ </div>


Và trên dòng: <form action="{NV_BASE_SITEURL}" method="get" class="search fr" onsubmit="return {THEME_SEARCH_SUBMIT_ONCLICK}">

Hoặc tham khảo cách dưới đây


<div id="message"> <div class="clock fl">
<span id="digclock" style="font-weight: 700;">{THEME_DIGCLOCK_TEXT}</span>
</div>
<form action="{NV_BASE_SITEURL}" method="get" class="search fr" onsubmit="return {THEME_SEARCH_SUBMIT_ONCLICK}">
<fieldset>
<input type="hidden" id="topmenu_search_checkss" value="{CHECKSS}" />
<input class="txt" type="text" name="topmenu_search_query" id="topmenu_search_query" maxlength="{THEME_SEARCH_QUERY_MAX_LENGTH}" />
<input class="submit" type="button" value="Go" name="topmenu_search_submit" id="topmenu_search_submit" onclick="{THEME_SEARCH_SUBMIT_ONCLICK}"/>
</fieldset>
</form>
</div>
Nó lằm ờ dòng từ 46 tới 57
Cho đoạn code này:
<marquee width="470" scrollamount="1" scrolldelay="10" direction="left" behavior="scroll"><font color="333FFF"><b>Chào m?ng b?n dã ghé tham website Sao Linh</b></font></marquee>
Vào phía dưới thẻ div phần bôi đậm:
<div id="message"> <div class="clock fl">
<span id="digclock" style="font-weight: 700;">{THEME_DIGCLOCK_TEXT}</span>
</div>
<marquee width="470" scrollamount="1" scrolldelay="10" direction="left" behavior="scroll"><font color="333FFF"><b>Chào m?ng b?n dã ghé tham website Sao Linh</b></font></marquee>
<form action="{NV_BASE_SITEURL}" method="get" class="search fr" onsubmit="return {THEME_SEARCH_SUBMIT_ONCLICK}">
<fieldset>
<input type="hidden" id="topmenu_search_checkss" value="{CHECKSS}" />
<input class="txt" type="text" name="topmenu_search_query" id="topmenu_search_query" maxlength="{THEME_SEARCH_QUERY_MAX_LENGTH}" />
<input class="submit" type="button" value="Go" name="topmenu_search_submit" id="topmenu_search_submit" onclick="{THEME_SEARCH_SUBMIT_ONCLICK}"/>
</fieldset>
</form>
</div>

Không có nhận xét nào: