Gazelle/static/functions/rippy.js
2012-10-27 08:00:09 +00:00

17 lines
357 B
JavaScript

function say() {
ajax.get("ajax.php?action=rippy", function(message) {
if (message) {
$('#rippywrap').raw().style.display = "inline";
$('#rippy-says').raw().innerHTML = message;
$('#bubble').raw().style.display = "block";
} else {
$('#bubble').raw().style.display = "none";
}
});
}
function rippyclick() {
$('.rippywrap').remove();
}