How can I make the lightbox modal window to display some content inside the page...
something like this:

<a href="" rel="lightmodal">click to view some content</a>

<div rel="lightmodal" style="display:none;">this is the content I'd like to display when the link is clicked</div>

Is this possible?

Comments

graysadler’s picture

Are you trying to have content from the main page appear in the modal window? If so I would use jQuery to copy the HTML from your main page to the lightbox's div when the page loads.

Lead Developer and Founder of StreamRiot.com