Opening Reveal Modal On Document Ready

Developer
Size
1,787 Kb
Views
14,168

How do I make an opening reveal modal on document ready?

Opening Reveal Modal On Document Ready. The solution for the issue posed here: http://foundation.zurb.com/forum/posts/3287-reveal-modal-window-on-page-load. What is a opening reveal modal on document ready? How do you make a opening reveal modal on document ready? This script and codes were developed by Wing-Hou Chan on 03 December 2022, Saturday.

Opening Reveal Modal On Document Ready Previews

Opening Reveal Modal On Document Ready - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Opening Reveal Modal On Document Ready</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel='stylesheet prefetch' href='https://cdn.foundation5.zurb.com/foundation.css'>
</head>
<body> <div id="myModal" class="reveal-modal" data-reveal> <h2>Awesome. I have it.</h2> <p class="lead">Your couch. It is mine.</p> <p>Im a cool paragraph that lives inside of an even cooler modal. Wins</p> <a class="close-reveal-modal">&#215;</a>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdn.foundation5.zurb.com/foundation.js'></script> <script src="js/index.js"></script>
</body>
</html>

Opening Reveal Modal On Document Ready - Script Codes JS Codes

$(document).foundation();
$(document).ready(function(){$('#myModal').foundation('reveal', 'open')});
Opening Reveal Modal On Document Ready - Script Codes
Opening Reveal Modal On Document Ready - Script Codes
Home Page Home
Developer Wing-Hou Chan
Username winghouchan
Uploaded December 03, 2022
Rating 3.5
Size 1,787 Kb
Views 14,168
Do you need developer help for Opening Reveal Modal On Document Ready?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Wing-Hou Chan (winghouchan) Script Codes
Create amazing SEO content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!