|
Tags Music, Video, Flash, Frame!; BB buttons!
|
|
Topic Started: Jan 21 2007, 02:14 AM (2,926 Views)
|
|
Jimmy
|
Jan 21 2007, 02:14 AM
Post #1
|
__Love__
- Posts:
- 3,228
- Group:
- L'@mour ™ Admin
- Member
- #1
- Joined:
- May 6, 2006
|
...Cái Tags này thực ra của All4elva, Vic hung nhớ rơ ḿnh "lượm" ( ) được ở đâu, nhưng nó có lỗi cái tag Flash, Vic có chỉnh sửa lại chút, Kể cả phần download !
Demo:
---> Khi post bài:

--> Tag Nhạc: ( Cái background lượm của Café D'amour )

--> Tag Video:

...C̣n đây là code: ( Nhớ trích dẫn để lấy nhé !)
- Quote:
-
<script> <!-- /* Music, Video Flash & Iframe Tags Created by All4elva Edited by Vic of $ H@N@Ruj ™ */ var Tags = new Array();
Tags[0] = new Array(
/\[frame\](.*)\[\/frame\]/, /\[flash\](.*)\[\/flash\]/, /\[video\](.*)\[\/video\]/, /\[Music\](.*)\[\/Music\]/);
Tags[1] = new Array('<iframe width="450" height="400" src="$1"></iframe>','<table align="center" border="2" cellspacing="10" cellpadding="0"><tr><td><embed enableContextMenu=0 type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="$1" type="application/x-mplayer2" ShowStatusBar="1" ShowControls="1" width=400 height=350 ></embed></td></tr></table><center><a href="$1"><br><img src="http://img140.imageshack.us/img140/7445/downloadhanaruifu4.gif"></a></center>','<table align="center" background="http://img152.imageshack.us/img152/1763/vicmusic3ug4.png" width=351 height=190><tr><td><br><br><br><center><br><br><br><embed enableContextMenu=0 src="$1" autostart="1" showstatusbar="true" loop="true" hidden="none" width=294 height=65></embed><br><br></td></tr></table><center><a href="$1"><img src="http://img144.imageshack.us/img144/1740/download6wa.gif"></a></center>');
if (location.href.match('showtopic=') || location.href.match('act=Msg')|| location.href.match('act=Post')|| location.href.match('act=ST')|| location.href.match('index.php?')) { TDS = document.getElementsByTagName('TD'); for(i=0;i<TDS.length;i++){
if (TDS.className == "post1" || TDS.className == "post2" || TDS.className == "row1") { for (p = 0; p < Tags[1].length; p++) { TDS.innerHTML = TDS.innerHTML.replace(Tags[0][p], Tags[1][p]); } }
} } //--> </script> <script>
if (location.href.match('act=Msg') || location.href.match('act=Post')|| location.href.match('trangchu.html?')) { var tds = document.getElementsByTagName('td'); for (i = 0; i < tds.length; i++) { if (tds.innerHTML.match('Close all Tags')) { //Them 3 the Phim/Music1 và Flash tds.innerHTML += "<br><input class='codebuttons' type='button' value='Music' name='VicLinkMusic' onmouseover='mota(\"[ Music]url[/Music] bbcode tag Hanarui\")' onclick='them(\"VicMusic\")' accesskey='d' style='font-size: 11px'> <input type='button' class='codebuttons' value='Video' name='VicLinkphim' onmouseover='mota(\"[ video]url[/video] bbcode tag Hanarui\")' onclick='them(\"VicPhim\")' accesskey='d' style='font-size: 11px'> <input type='button' class='codebuttons' value='Flash' name='VicLinkflash' onmouseover='mota(\"[ flash]url[/flash] bbcode tag Hanarui\")' onclick='them(\"VicFlash\")' accesskey='d' style='font-size: 11px'> <input type='button' class='codebuttons' value='Frame' name='VicLinkframe' onmouseover='mota(\"Chèn trang web vào bài viết [ frame]url[/frame]\")' onclick='them(\"VicFrame\")' accesskey='d' style='font-size: 11px'>"
//Khai bao cac loai Tag function them(ten_the){
//Bo Embed Media Plugin cho tag Music v.01 if(ten_the=='VicMusic'){ Music1='[Music]' Music2='[/Music]'
col = prompt("Dia chi link nhac: ", ""); doInsert(Music1+col+Music2, false); }
//Bo Embed Media Plugin cho tag Phim v.01 if(ten_the=='VicPhim'){ phim1='[video]' phim2='[/video]'
col = prompt("Dia chi link phim: ", ""); doInsert(phim1+col+phim2, false); } //Bo Embed Media Plugin cho tag SWF v.01 if(ten_the=='VicFlash'){ flash1='[dohtml]<center><embed src="' flash2='" width="400" height="350" type="application/x-shockwave-flash"></embed></center>[/dohtml]'
col = prompt("Dia chi link swf: ", ""); doInsert(flash1+col+flash2, false); } //Bo Embed Media Plugin cho tag SWF v.01 if(ten_the=='VicFrame'){ frame1='[frame]' frame2='[/frame]'
col = prompt("Dia chi link frame: ", ""); doInsert(frame1+col+frame2, false); }
} } } }
function mota(text) { document.REPLIER.helpbox.value = text; } </script>
|
|
| |
|
jun
|
Jan 22 2007, 08:20 PM
Post #2
|
_=@Đang học Desigh@=_
- Posts:
- 188
- Group:
- Member ™
- Member
- #625
- Joined:
- December 5, 2006
|
bỏ footer đúng hôn
|
Không kư nữa....... chờ làm xong 4rum ai thích th́ kí......
|
| |
|
Jimmy
|
Jan 23 2007, 02:58 AM
Post #3
|
__Love__
- Posts:
- 3,228
- Group:
- L'@mour ™ Admin
- Member
- #1
- Joined:
- May 6, 2006
|
- jun
- Jan 22 2007, 01:20 PM
bỏ footer đúng hôn
...À! anh cứ wuen^ cái zu. này, các bạn nhét nó zo^ Footer ngheng, Thanks Jun nhắc nhở
|
|
| |
|
tienmanhvna
|
Jan 23 2007, 07:51 PM
Post #4
|
Rough - Ngọc Thô
- Posts:
- 38
- Group:
- Member ™
- Member
- #194
- Joined:
- June 18, 2006
|
Code hay vậy mà web em bị xung đột code rùi .Hix , tiếc quá
|
|
|
| |
|
bachlong
|
Jan 25 2007, 06:11 PM
Post #5
|
Dark Angle
- Posts:
- 313
- Group:
- Member ™
- Member
- #122
- Joined:
- June 2, 2006
|
Ḿnh thấy tag nhạc VIC đưa ra dài wá vậy Có thể rút gọn được mà VIC Để hôm nào rănh ḿnh sẽ chỉ các bạn add tag nhạc vào Filter
|

|
| |
| 1 user reading this topic (1 Guest and 0 Anonymous)
|