i need to call a function when shadowbox is opened and displayed in my page. I try this:
Shadowbox.open({
content: contentD,
player: "html",
title: "Pubblicazione annunci in corso...",
height: 350,
width: 350,
options: {
modal: true,
onOpen: myOpen
}
});
function myOpen(){
alert( ok );
}
我的问题是 alert( OK)
显示在显示阴影框之前, 我能做什么? 有人能帮我吗?