I am using this http://fancybox.net/
When I do
$( a.#div1 ).trigger( click )
to popup a fancybox, it gives me this error (using Firebug)
opts.itemArray[opts.itemCurrent] is undefined if (opts.itemArray[opts.itemCurren...[opts.itemCurrent].title.length > 0) { jquery.f...-1.2.1.js (line 345)
Why is that? Can you help?
Thanks.