开发者

Using lightbox2 to display text instead of images

开发者 https://www.devze.com 2023-01-27 12:53 出处:网络
I am trying to use lightbox2 to display a block of text after clicking a heading element: something like

I am trying to use lightbox2 to display a block of text after clicking a heading element:

something like

<a href="something"><h3>name</h3></a>

I have used lightbox for i开发者_如何学编程mages with captions but this time I would like the caption to come up without an associated image after clicking a name on a webpage.

Thanks for any replies.


I don't think that lightbox2 is made for such a thing, why don't you try http://fancybox.net/ this one works 100%.

0

精彩评论

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