Welcome Guest [Log In] [Register]
Hiện thời Webstie của chúng tôi đang tạm đóng dể sửa chữa nhằm mục đích phục vụ tốt hơn cho nhu cầu của các bạn. Khi mọi công việc sữa chữa hoàn thành chúng tôi sẽ gửi email thông báo đến tất cả các bạn. Mong các bạn vui ḷng ghé lại sau. Thành thật xin lỗi v́ sự cố này.


>> Bạn đă có tài khoản chưa, click vào đây để đăng kư !


Nếu bạn đă là thành viên của L'@mour ™, vui ḷng đăng nhập để tham gia thảo luận. Cảm ơn !

Username:   Password:
Add Reply
Tags Music, Video, Flash, Frame!; BB buttons!
Topic Started: Jan 21 2007, 02:14 AM (2,920 Views)
Jimmy
Member Avatar
__Love__

Code trên c̣n chút lỗi đe73 hum nào anh fix lại cho :ngoaymui:
Posted Image
Offline Profile Quote Post Goto Top
 
Shin
Member Avatar


[doHTML]<table align=center background="http://i187.photobucket.com/albums/x254/vic2107/1.png" width=407 height=359><tr><td><br><br><br><br><br><br><center><embed src="http://www3.socvui.com/VCGuploaded/GameFlashs/megamanzero.swf" 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]
Offline Profile Quote Post Goto Top
 
Ting
No Avatar


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" ( :leyle: ) đượ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 ! :ngoaymui:

Demo:

---> Khi post bài:

Posted Image


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

Posted Image

--> Tag Video:

Posted Image


...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'>&nbsp;<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'>&nbsp;<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'>&nbsp;<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
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create your own social network with a free forum.
« Previous Topic · ..: CODES :.. · Next Topic »
Add Reply