欢迎来到福编程网,本站提供各种互联网专业知识!

国外Lightbox v2.03.3 最新版 下载

发布时间:2007-10-17 作者: 来源:转载
下面是官方的描述,好多网站实现的图片展示都用的这个效果,非常不错的效果,简单易用SupportItdoesn'tworkatall.Theimageopensupinanewpage.What'swrong?Thisiscommonlycausedbyaconflictbetweenscripts.Checkyourbodytagandlookforanonloadattribute.
下面是官方的描述,好多网站实现的图片展示都用的这个效果,非常不错的效果,简单易用
Support
Itdoesn'tworkatall.Theimageopensupinanewpage.What'swrong?
Thisiscommonlycausedbyaconflictbetweenscripts.Checkyourbodytagandlookforanonloadattribute.Example:

AquickfixtothisproblemistoappendtheinitLightbox()totheonloadattributeasso:

Itdoesn'tworkifIclickanimagelinkbeforethepagehasfinishedloading.
Thescriptisactivatedonlyafterthepagehasfinishedloading.
Theshadowoverlaydoesn'tstretchtocoverfullbrowserwindow.
Removethedefaultmarginandpaddingfromthebodytag.Addbody{margin:0;padding:0;}toyourstylesheet.
CanIinsertlinksinthecaption?
Yes,butyouneedtoconvertquotesandgreaterandlessthansymbolsintotheirhtmlentityequivalents.Forexample:
mylink">Image
CanIdisplayflash,video,orothercontentusingthescript?
Sorry,photosonly.Forothercontent,googleforLightboxmodificationsortryanalternativescriptsuchasCodyLindley'sThickBox.
Canthescriptbecalledfromaniframe?
Ifyou'reusingiframes,trytheLyteboxmodificationwhichhasbettersupport.
CanIusethescriptinacommercialproject?
Yes.ItislicensedundertheCreativeCommonsAttribution2.5License.Adonationwouldbenice,hinthint.
Contact
Fortroubleshooting,featurerequests,andgeneralhelp,postamessageintheLightboxForum.Makesuretoincludedetailsonyourbrowser,operatingsystem,Lightboxversion,andalink(orrelevantcode).Idonothavetimetopersonallyrespondtosupportemails,pleaseusetheforum.

Tosendmeanon-supportrelatednote,emailmeat:lokeshdhakar2007@gmail.com.Thanks.

官方下载

相关推荐