|
Jimmy
|
Sep 20 2007, 07:14 PM
Post #26
|
|
Shin
|
Nov 28 2007, 11:40 AM
Post #27
|
|
Ting
|
Dec 22 2007, 07:56 AM
Post #28
|
- Posts:
- 1
- Group:
- Member ™
- Member
- #1,052
- Joined:
- September 26, 2007
|
- VIC
- Jan 21 2007, 02:14 AM
...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" ShowControls=1 ShowDisplay=0 ShowStatusBar=1 loop=-1 width=295 height=65></embed><br><br></td></tr></table>[/doHTML] 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" width=348 height=230 autostart="true" loop="true" hidden="false"></center></td></tr></table>[/doHTML] 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" width=348 height=230 quality=high type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></embed></td></tr></table>[/doHTML] 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='[doHTML]<table align=center background="http://i187.photobucket.com/albums/x254/vic2107/3.png" width=352 height=188><tr><td><br><br><br><br><br><br><center><embed src="' Music2='" ShowControls=1 ShowDisplay=0 ShowStatusBar=1 loop=-1 width=295 height=65></embed><br><br></td></tr></table>[/doHTML]'
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='[doHTML]<table align=center background="http://i187.photobucket.com/albums/x254/vic2107/2.png" width=407 height=359><tr><td><br><br><br><br><br><br><center><embed src="' phim2='" width=348 height=230 autostart="true" loop="true" hidden="false"></center></td></tr></table>[/doHTML]'
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>
h́nh như code này ko có tác dụng anh ơi
|