I'm building a webpage at the moment with a content switcher than will contain a lightbox. my problem at the moment is that the lightbox works on load, but when I switch content and switch back again it doesn't function.
I'm assuming that I will need to reload the code once I switch back to the content with the lightbox in it. is there a way that I can have the jQuery script run once on load (initial page) and then reload itself every time I switch back to the content? the link to switch con开发者_运维知识库tent is an image. Can anybody help me? I can't seem to get a click function to work.
精彩评论