I am trying to load a new URL to an Iframe by calling the next method on fancybox but i have not been able to get it to work.
I know I can close a fancybox within an iframe using
parent.$.fancybox.close();
using parent.$.fancybox.next() however doesn't work
Is there no provision for this or am i doing something wrong
<a href="javascript:void(0)" onclick="goToNext()">next</a>
function goToNext()
{
parent.$.fancybox.next()
}
i resulted to doing this as I could not get the next and prev button to show even after setting the cyclic and showNavArrows options to true