开发者

opening html using jquery lightbox [closed]

开发者_运维百科 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to open html page using j-query light box .


I'd recommend colorbox. It's the best IMO http://colorpowered.com/colorbox/

For implementation just use jquery to attach colorbox to a link or other element's click event

e.g.

$('#yourlink').colorbox(); 

Make sure the HREF of your link is set to the page you want to open e.g.

<a href="yourhtml.html" id="yourlink">Open Lightbox</a>

Update 26/11/2011:

I'm now using Fancybox instead. It's got a lot of powerful configuration options and works just as well as colorbox.


Here is a script you want.

http://jquery.com/demo/grey/

You can download it from

http://jquery.com/demo/grey/greybox.tar

Also these are others

http://www.enthropia.com/labs/ibox/

http://jquery.com/demo/thickbox/

http://planetozh.com/projects/lightbox-clones/


If you want to open anything other than images with jquery-lightbox (http://www.github.com/krewenki/jquery-lightbox), you can't. I'll second the recommendation for colorbox.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜