2011-03-28 14:21:28 +00:00
|
|
|
function say() {
|
2013-03-09 08:00:18 +00:00
|
|
|
ajax.get("ajax.php?action=rippy", function(response) {
|
|
|
|
response = JSON.parse(response);
|
|
|
|
if (response['Message']) {
|
|
|
|
var say = response['Message'];
|
|
|
|
if(response['From']) {
|
|
|
|
say += "<br/><a href='user.php?action=rippy&to=" + response['From'] + "' class='brackets'>Ripback</a>";
|
2012-10-29 08:00:20 +00:00
|
|
|
}
|
2013-03-09 08:00:18 +00:00
|
|
|
$('#rippywrap').raw().style.display = "";
|
|
|
|
$('#rippy-says').raw().innerHTML = say;
|
|
|
|
$('#bubble').raw().style.display = "block";
|
|
|
|
}
|
|
|
|
});
|
2011-03-28 14:21:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function rippyclick() {
|
|
|
|
$('.rippywrap').remove();
|
|
|
|
}
|