Skip to content

Instantly share code, notes, and snippets.

@zoranf
Created June 10, 2013 19:26
Show Gist options
  • Save zoranf/5751481 to your computer and use it in GitHub Desktop.
Save zoranf/5751481 to your computer and use it in GitHub Desktop.
// Flipbox
$(".flipbox-container").mouseover(function(){
$(this).flippy({
verso:"<div id='Flipbox'>Test</div>",
direction:"LEFT",
duration:"750",
onFinish: function() {
console.log("test");
$("#Flipbox").html("");
$("#Flipbox").html("test");
$("#test").append("HELLO");
}
});
});
extends layout
block vsebina
#content
#test test div
for game in games
a(href='/lobby/#{game.name}')
img(src='#{game.image}', id="flipbox", class="flipbox-container")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment