Hey everybody,
I am struggling with something on the website I am building right now. I have a split screen and I want on one side (left side) a Project Thumbnail Grid and open the projects on the right side. For this I created a Iframe on the right side and I added this custom code to open the projects in the Iframe :
<script>
jQuery(document).on('click', '.thumb', function(e){
e.preventDefault();
var url = jQuery(this).attr('href');
jQuery("#project-frame").attr('src', url);
});
</script>
But I first thought that my code wasn't working, then I realized that it is working only when I press the Ctrl or Cmd while clicking on a thumbail...
Actually it is only this part who doesn't work properly :
e.preventDefault();
I am working on chrome but the issue also happen in firefox...
Here is the link of the website page : [http://www.ark.amsterdam/category/projects]
Does someone got a similar issue ? or can someone help me fixing this ?
Thank you