How to use lightbox inline HTML function in drupal?
I have successfully installed lightbox module in drupal and now using it for 'sign in' page. It is working fine. Now i want to use it for 'Inline HTML' but i don't know how to do that. Please help me out.
I'm using the following code:
<p><a rel="lightmodal" href="#example">Test</a></p>
<div style="display: none">
<div id="example">Hello</div>
</div>
But this code is showing the entire page in the 开发者_Go百科lightbox whereas i just to see "Hello" inside the lightbox.
Please help me out.
I think you have to use rel="lightbox", not lightmodal. Try that.
精彩评论