PDA

View Full Version : Hỏi về code HTML


connit888
23-06-2008, 07:23 PM
các anh ơi, 4r có hẳn một chuyên đề về html nhưng em vẫn không biết cách chèn một số banner có hyperlink web lên forum của mình theo kiểu chạy ngang để quảng cáo cho một số site. cho em xin code nhé!
thank cho những ai giúp đỡ

Trường
23-06-2008, 09:18 PM
Nó có nhiều kiểu chạy, ko biết you định nói đến kiểu gì


Kiểu chạy đơn giản nhất là như thế này
<marquee><a href="http://truongton.net" target="_blank" title="Diễn đàn lớn nhất VN><img src="http://truongton.net/forum/customavatars/avatar359109_1.gif" border="0"></a></marquee>

Tùy theo vào vị trí đặt mà cần thềm một số tag nữa, cái này thì ko nói nhá
Nếu nhiều logo thì lặp lại cả tag <a href.....</a>

Còn kiểu chạy nữa là khi đưa chuột vào thì hình đó dừng lại. Cái này hơi phức tạp vì phải sử dụng thêm java script. Nếu thực sự cần thì mới nói

boylikesea
23-06-2008, 09:28 PM
demo : http://img293.imageshack.us/img293/1135/boylikeseand9.jpg

Tìm


<!-- end what's going on box -->

Thêm Đoạn Mã Này Ngay Sau Nó



<!-- Thêm Muc By bOylIkEsEa -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"
border="0" width="100%" align="center">

<TBODY>
<TR>
<TD class="tcat" colSpan=2><A style="FLOAT: right"
onclick="return toggle_collapse('forumhome_activeusers1')"
href="#top"><IMG
id=collapseimg_forumhome_activeusers1 alt="Liên Hệ Quản Caó"
src="http://i256.photobucket.com/albums/hh161/photodiem/collapse_tcat.gif"
border=0></A>Liên Hệ Quang Caó • y!h : bOylIkEsEa </TD></TR></TBODY>

<TBODY id=collapseobj_forumhome_activeusers1>
<TR>
<TD class=alt2 colSpan=2>

<DIV align=left>
<!-- / ADD Friends links -->
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=3
scrollDelay=30 height=60>

<A
href="http://vietboom.com/forum/private.php?do=newpm&u=2711" target=_blank>
<IMG alt="Liên Hệ Quan Cáo" height=60
src="http://h1.ripway.com/BoyLikeSea/boysea/lienhe.gif" width=160
border=0></A>


<A
href="http://vietboom.com/forum" target=_blank><IMG alt="VietBoom Teen Club " height=60
src="http://files.myopera.com/boylikesea/files/vb.JPG" width=160
border=0></A>



<A
href="http://boylikesea.info.tm" target=_blank><IMG alt="FoRum Chuyên Về InViSiOn" height=60
src="http://i256.photobucket.com/albums/hh161/photodiem/banner-1.jpg" width=160
border=0></A>


<A
href="http://boylikesea.info.tm" target=_blank><IMG alt="FoRum Chuyên Về InViSiOn" height=60
src="http://i256.photobucket.com/albums/hh161/photodiem/invision.jpg" width=160
border=0></A>



<A
href="http://dateh.info" target=_blank><IMG alt="Thông Tin DaTeH" height=60
src="http://h1.ripway.com/BoyLikeSea/mouse/banner.gif" width=160
border=0></A>



<A
href="http://vietboom.com/forum/private.php?do=newpm&u=2711" target=_blank>
<IMG alt="Liên Hệ Quan Cáo" height=60
src="http://h1.ripway.com/BoyLikeSea/boysea/lienhe.gif" width=160
border=0></A>

<A
href="http://vietboom.com/forum/private.php?do=newpm&u=2711" target=_blank>
<IMG alt="Liên Hệ Quan Cáo" height=60
src="http://h1.ripway.com/BoyLikeSea/boysea/lienhe.gif" width=160
border=0></A>



</MARQUEE>

</DIV></TD></TR></TBODY>
</table>

<!-- Thêm Muc By bOylIkEsEa -->

connit888
07-07-2008, 10:27 AM
Còn kiểu chạy nữa là khi đưa chuột vào thì hình đó dừng lại. Cái này hơi phức tạp vì phải sử dụng thêm java script. Nếu thực sự cần thì mới nói

Cho em xin luôn anh nha

Trường
08-07-2008, 08:16 AM
Chú trên kia cho rồi đấy