In fancybox 2, How can I add a more detailed title below my image ... i would like to have a title and a short description, with possibly some links?
Asked
Active
Viewed 679 times
-1
-
You may want to check this http://stackoverflow.com/a/9611664/1055987 – JFK Mar 10 '12 at 16:15
-
JFK ... this is really useful and answers my question perfectly. I have used that technique of adding in a separate div and using on 'afterLoad' to push it into the title and it works great. Thank you for pointing me to the other reference! – user1104799 Mar 11 '12 at 20:33
1 Answers
0
you can check the documentation of fancybox. FancyBox examples
may be try like this, as taken it from documentaion
$.fancybox( {href : 'yourimage.jpg', title : 'TitileName'} );

Ravi Gadag
- 15,735
- 5
- 57
- 83
-
Sorry for not being clearer. I have read the documentation but i need to be able to add styling and html to the title and the examples and documentation don't illustrate that. Is it ok to put html into the title string ? – user1104799 Feb 19 '12 at 11:05
-
-
Woops ... added a comment in the wrong place and can't see how to cancel it! – user1104799 Mar 11 '12 at 20:30