AJAX CODE:
<script type="text/javascript">
$(document).ready(function(){
var options = {
language: "zh-CN",
players: ["iframe", "img"]
};
Shadowbox.init(options);
$("#jiandu").change(function(){
var id = $("#jiandu").val();
$.ajax({
type: "Get",
url: "get_menu.php?id=" + id,
success: function(result){
if (result != '') {
$("#show").html(result);
// return relust:"
click Shadowbox.setup(options);
}
}
});
});
})
</script>
QUESTION:
when i click the url,the shadowbox doesn't opened with the "width:500" .
how should i do ?