OnLoad Click or Trigger embed lightbox

Wednesday, July 2, 2014

When I get on one of my pages I want an lightbox to be loaded. I cant figure out how to make it happen.

Part of the jQuery:

<script src=""></script>
<script type="text/javascript" src="jss/jquery.js"></script>
<script src=''></script>
$(document).ready(function() {

The image/link that should be clicked automaticly:

<img class="foo" src="imgs/logo-growpact.png"data-rel='fh5-light-box-demo' data-href='' data-width='1280' data-height='720' data-title='Rootcage'></a>