jQuery custom lighbox
jQuery custom lighbox
Out of context: Reply #26
- Started
- Last post
- 30 Responses
- acescence0
again, i would consolidate everything into one "open" function. get rid of the var open = anonymous function on line 59 and make that a separate function. pass all of the stuff you need to that function as arguments, as you have it all available to you right there. then when the image actually loads, show the div that contains the text you've already set back in your open function.