var from = 0;
$("#more_btn").click('function(){
var els = $("ul li");
els.slice(from, from + 6).show(500);
from += 6;
if(els.length >= from) $(this).attr('disabled', 'disabled');
}');
select * from slides where id > $cur_id limit 1
select * from slides where id < $cur_id order by desc limit 1
$('document').ready(function () {
$('#loading').on("click",function (event) {
event.preventDefault();
var ids = $("textarea[name='text']").val();
var name= $("input[name='name']").val();
var btn = $(this);btn.button('loading');
$.ajax({
url: "say/add",
cache: false,
data: { text: ids, name:name },
type: "POST",
success: function(html) { $('#say').html(html);}
}).always(function () {
btn.button('reset')
});
return false;
});
});
public static function getUrlOfFrame($url)
{
//deleted =)
}
public static function getOG($url)
{
//too deleted =)
}