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:
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.
官方下载