开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜