开发者

How to use lightbox inline HTML function in drupal?

开发者 https://www.devze.com 2023-01-05 04:43 出处:网络
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 hel

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

精彩评论

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