Is it possible to assign fbPageOptions such as the afterResize event when a user clicks on a link...something like this:
jQuery(window).load(function()
$("#myLink").click(function()
{
fbPageOptions = { afterResize: function() { showMessage(); }};
showVideo();
})
});
function showVideo()
{
// code to hide a div
// code to show a div
fb.resize(0);
}
function showMessage()
{
alert("afterResize event has fired");
}
I'm trying to do something very similar and i'm not getting the alert message being called from the afterResize event firing.
Any suggestions or is this just not possible?
best regards,
rise4peace