Closed GoogleCodeExporter closed 9 years ago
This is a support question and not an issue with SimpleModal.
Please use http://stackoverflow.com or http://forum.jquery.com to ask these
types of
questions.
In general, you just need to modify the JS to use something like the id of a
link to
determine which content to display.
Example:
<a href='#' class='modal-links' id='content1'>content1</a>
<a href='#' class='modal-links' id='content2'>content2</a>
<a href='#' class='modal-links' id='content3'>content3</a>
<div id='modal_content1'>modal content1</div>
<div id='modal_content2'>modal content2</div>
<div id='modal_content3'>modal content3</div>
$('a.modal-links').click(function () {
$('modal_' + this.id).modal();
return false;
});
Original comment by emartin24
on 23 Feb 2010 at 4:17
Original issue reported on code.google.com by
davidde...@gmail.com
on 25 Jan 2010 at 1:38