Menu icon Foundation
Reaveal

I start with foundation. I'm using version 3.2
I will wish to display the popup "Reaveal" loading the page, not by clicking on the button.
Thank you for your help

Here is the code (javascript) I use :

$(document).ready(function() {
    $("#buttonForModal").click(function() {
		$("#myModal").reveal();
	});
});

Reavealonload

I start with foundation. I'm using version 3.2
I will wish to display the popup "Reaveal" loading the page, not by clicking on the button.
Thank you for your help

Here is the code (javascript) I use :

$(document).ready(function() {
    $("#buttonForModal").click(function() {
		$("#myModal").reveal();
	});
});
Jacob Brooks about 5 years ago

I had a need for this a while back, after a lot of searching I came across a solution. If you add the lines:

   <script>
  $('#myModal').foundation('reveal', 'open');
  </script>

Right before the closing body tag it should do the trick. In my case I left the ID as "myModal" in yourcase the modal might be named different, just make sure those match up.

Hope that helps.