Hi Team Kriesi,
another challenge for your team ;).
Maybe you can figure out how to. I have a grid with different content and want to make the grid cell
1. clickable and prvide the cell with a slight mouse-over.
Just like the cells in
http://compliments.dk/
Do you have any idea?
Hey!
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your cell and give it a custom CSS class and then add following code to Functions.php file in Appearance > Editor
function avia_clicable_cell(){
?>
<script>
jQuery(window).load(function(){
jQuery(".my-custom-class").click(function() {
window.location = jQuery(this).find("a").attr("href");
return false;
});
});
</script>
<?php
}
add_action('wp_footer', 'avia_clicable_cell');
It will get the link you have in your cell and apply it to whole box
Best regards,
Yigit
Works perfect,
thanks a lot.