How can I set fancyBox's contents dynamically?
- by alex
I have tried
$('.selector').fancybox({
scrolling : 'no',
titleShow : false,
type : 'inline',
content : '<p>hello</p>'
But it did not work
I have also tried adding the option
onComplete: function() {
…