Menu icon Foundation

My Posts


My Comments

Damian Smith commented on Damian Smith's post over 5 years

Ok I have fixed it. The modal needs to be above the reveal modal link for some reason.

 <div id="myModal" class="reveal-modal" data-reveal>
  <img src="http://placehold.it/800x600" />
  <a class="close-reveal-modal">&#215;</a>
</div>   

<a href="#" data-reveal-id="myModal" data-reveal>View map</a>

<script src="js/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script type="text/javascript"> 
    $(document).foundation();
</script> 

Damian Smith commented on Damian Smith's post over 5 years

Just noticed this in the console:

Uncaught TypeError: Cannot read property 'bg_class' of undefined
(anonymous function)
jQuery.event.dispatch
elemData.handle

Posts Followed

No Content

Following

    No Content

Followers

My Posts


My Comments

You commented on Damian Smith's post over 5 years

Ok I have fixed it. The modal needs to be above the reveal modal link for some reason.

 <div id="myModal" class="reveal-modal" data-reveal>
  <img src="http://placehold.it/800x600" />
  <a class="close-reveal-modal">&#215;</a>
</div>   

<a href="#" data-reveal-id="myModal" data-reveal>View map</a>

<script src="js/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script type="text/javascript"> 
    $(document).foundation();
</script> 

You commented on Damian Smith's post over 5 years

Just noticed this in the console:

Uncaught TypeError: Cannot read property 'bg_class' of undefined
(anonymous function)
jQuery.event.dispatch
elemData.handle

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content