Having trouble getting the modal window to display content from another link? I'm pretty sure I've connected them correctly using the right classes. This is the basic JavaScript provided by .
jQuery(function ($) {
// Load dialog on page load
//$('#basic-modal-content').modal();
// Load dialog on click
$(' .basic').click(function (e) {
$('#basic-modal-content').modal();
return false;
});});
I've added the basic class to
<li><a href="about me/about me.html" class='basic'>about me</a></li>
and in the external HTML link (about me), I've set a div id of
<div id="basic-modal-content">
<p> Darrien is an industrial & product designer based in Toronto. My creative approach falls along the lines of biomimicry and human-centric design.
I recently graduated from the University of Guelph and am currently pursuing my Masters in Industrial Design at Pratt Institute.
Feel free to contact me just to chat, and be sure to check out some of my work.
</p>
You can find my code in this zip file ()
Any assistance would be greatly appreciated! :)