Course URL: https:// Instructed by: Rob Percival Price: Students enrolled: 220,902 Skill level: All levels What you’ll learn: HTML, CSS, Java Script, j Query, Bootstrap, Word Press, PHP, My SQL, APIs Course includes: “The course is very well constructed. And Bob is a pro teacher.” *Recommended for beginners* This Udemy course is great for beginners because it focuses primarily on HTML and CSS—the foundation of the web.
It guides me flawlessly through the chapters and I get to practice the lessons again. Once I am done with the chapters, I go to w3and check out the same lesson there. Moreover, this course is the #1-rated HTML5 and CSS3 course in the official Udemy rankings.
Next what we need to do is add an open handler on the modal, which will notice when the modal is opened, load the content with AJAX, dump it into place, and resize the modal. This is a simple example of j Query Ajax, it also highlights j Query’s power and simplicity in identifying areas of your webpages and making dynamic changes to them. In case you missed it, check out last week’s lesson to learn how to fetch the content This lesson is just a taste of the amazing topics you'll learn in our Advanced Foundation Class.
The second is to open the modal with some sort of screen, and then fetch the content and replace the loading screen with the real content. For both approaches to creating an AJAX-based reveal modal, we’ll want to start with an empty modal and a button to launch it. It looks like this: This modal looks essentially the same as a modal without any AJAX at all.
In this lesson you'll learn a simple hands-on example to load AJAX content into the Foundation Reveal Modal after it is opened.
There are 2 different ways we can load the content for the reveal dynamically.
The only difference is that instead of the content you’re going to show, you have some sort of “Loading” state while the content is loading from AJAX.
In this example we have only a simple piece of text, but this could be a spinner, progress bar, or other image. Now you can use j Query AJAX to load content for a Reveal Modal.