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,921 Views)
Jimmy
Member Avatar
__Love__

...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[/Music] 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[/video]  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[/flash]  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='[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>
Posted Image
Offline Profile Quote Post Goto Top
 
jun
Member Avatar
_=@Đang học Desigh@=_

bỏ footer đúng hôn :ngoaymui:
Không kư nữa.......
chờ làm xong 4rum ai thích th́ kí......
Offline Profile Quote Post Goto Top
 
Jimmy
Member Avatar
__Love__

jun
Jan 22 2007, 01:20 PM
bỏ footer đúng hôn :ngoaymui:

...À! anh cứ wuen^ cái zu. này, các bạn nhét nó zo^ Footer ngheng, Thanks Jun nhắc nhở :leyle:
Posted Image
Offline Profile Quote Post Goto Top
 
tienmanhvna
Member Avatar
Rough - Ngọc Thô

:cry: Code hay vậy mà web em bị xung đột code rùi .Hix , tiếc quá :ngoaymui:
Offline Profile Quote Post Goto Top
 
bachlong
No Avatar
Dark Angle

Ḿ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

Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums with no limits on posts or members.
Go to Next Page
« Previous Topic · ..: CODES :.. · Next Topic »
Add Reply