I heard lightbox several day ago.It's a femous ajax programme.It can show a thumb/thumbnail's original size as if you click on the thumb and the webpage needn't be fresh in the whole process,very cool,isn't it?I think this blog need such a programme,after all,it's a picture blog.And I wish my readers could appreciate beautiful pics more conveniently:p
Setup lightbox is easy,you can download the whole file(.zip) from the official site,then upload the important/core file(like lightbox.js,close.gif,loading.gif and so on) to your own space.Don't forget change the route,it's necessary!!
Next,add the below code in your header :
Last,when you insert single image,use code like this:
when you insert a group images,use code like this:
here is a test image,enjoy lightbox:p
No comments:
Post a Comment