訪客留言 (881)
|
|
kahappy36 於 2010-05-05 10:01 PM 發表:
c0mmEnT =]
=]嘉
|
|
lolo3789may9 於 2010-05-05 09:01 AM 發表:
★c[]mm3nT=)
|
|
rose228 於 2010-05-02 12:14 PM 發表:
cm =]
|
|
lolo3789may9 於 2010-04-14 10:07 AM 發表:
Comment ♥
|
|
miyuki4d05 於 2010-04-07 09:28 PM 發表:
c0mm3nt`=]
|
|
lolo3789may9 於 2010-04-07 04:02 PM 發表:
$(function() {
$("#sharing2 .share").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .share .facebook").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .share .email").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .add_to_playlist").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .add_to_playlist").click(function() {
if (!logged_in) prompt_login();
});
$("#sharing2 .add_buzz").click( function () {
alert('buzz');
});
$("#sharing2 .share .facebook").click( function () {
facebook(location.href, sharing_title);
return false;
});
$("#sharing2 .share .email").click( function () {
email_to_friend(video_id);
return false;
});
$("#sharing2 a.favourite_it_now").click(function(){
if (!logged_in) prompt_login();
else {
var m = $(this).siblings(".message");
$.ajax({
url: "/wsapi/ws_vdo_rating.php",
data: {
'video_id': $(this).attr('video_id'),
'action': 'add',
'user_login': user_login
},
success: function(d){
d = jQuery.trim(d);
if (d == "1") show_message_for(3, m, "成功推介");
else if (d == "2") show_message_for(3, m, "已成功推介");
},
dataType: "text",
cache: false
});
}
});
function facebook(link, title) {
if (!logged_in) prompt_login();
//else window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(link)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436');
else window.open('/wsapi/facebook_share.php?u='+encodeURIComponent(link)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436');
}
function email_to_friend(video_id) {
if (!logged_in) prompt_login();
else window.open('/wsapi/share.php?video_id=' + video_id, 'email_to_friend', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=626,height=436');
}
function show_message_for(seconds, target, message) {
target.html(message).fadeIn("slow", function() {
setTimeout(function() { target.fadeOut("slow"); }, seconds*1000);
});
}
});
|
|
lolo3789may9 於 2010-04-07 01:09 AM 發表:
cM'★
記緊Re我cm.
=] |
|
lolo3789may9 於 2010-04-05 01:33 PM 發表:
♥比個comment=]♥你
|
|
lolo3789may9 於 2010-04-04 05:56 PM 發表:
兒童節快樂!!!
cOmMeNt |
|
tortoise988 於 2010-04-02 09:22 PM 發表:
路過...
c0mm3nt |
[ 發表留言 ]
[ 返回 xKent 的個人主頁 ]