If some body can answer.
<script type="text/javascript">
$(document).ready(function(){
//alert("Before..");
$('#myGallery').galleryView({
panel_width: 960,
panel_height: 424,
frame_width: 160,
frame_height: 70,
panel_scale: "nocrop",
frame_opacity: 0.6,
pause_on_hover: true
});
//alert("AFter....");
$('#homeGallery').innerfade({
speed:900,
timeout: 8000
});
});
</script>
above is the code it is not working
if I remove the alert(“before.”) it will work.
This could be an issue with some required parts of the document not having been loaded yet. After you have dismissed the dialog, they have and the code works.
Have you tried using
document.loadinstead ofdocument.ready?