bambinou
04-11-2010, 08:11 AM
Hi,
I have existing code on my page:
window.open("<?=$path["webroot"]?>ecommerce/VOTE.html",null,"height=50,width=400,status=yes,toolbar=no,menubar=no,location=no");
And this nice Jquery window:
<img src="<?=$artist_img_path?>listen.gif" style="cursor:pointer" onclick="javascript:listen('<?=$myrow[0]?>')" > <a href='#' class='confirm' style="text-decoration:none;"><img src="<?=$artist_img_path?>Free.gif" style='border:0px;'>
</a>
</div>
<div id='confirm'>
<div class='header'><span>Confirm</span></div>
<p class='message'></p>
<div class='buttons'>
<div class='no simplemodal-close'>Close</div>
<div id='confirm_yes' class='yes'>Open Account</div>
</div>
</div>
<script type='text/javascript' src='<?=$path['webroot']?>js/jquery.js'></script>
<script type='text/javascript' src='<?=$path['webroot']?>js/jquery.simplemodal.js'>
</script>
<script type='text/javascript' src='<?=$path['webroot']?>js/confirm.js'></script>
}
If there a way to have this jquery script inside the window.open()?
Thank you,
BamBam
I have existing code on my page:
window.open("<?=$path["webroot"]?>ecommerce/VOTE.html",null,"height=50,width=400,status=yes,toolbar=no,menubar=no,location=no");
And this nice Jquery window:
<img src="<?=$artist_img_path?>listen.gif" style="cursor:pointer" onclick="javascript:listen('<?=$myrow[0]?>')" > <a href='#' class='confirm' style="text-decoration:none;"><img src="<?=$artist_img_path?>Free.gif" style='border:0px;'>
</a>
</div>
<div id='confirm'>
<div class='header'><span>Confirm</span></div>
<p class='message'></p>
<div class='buttons'>
<div class='no simplemodal-close'>Close</div>
<div id='confirm_yes' class='yes'>Open Account</div>
</div>
</div>
<script type='text/javascript' src='<?=$path['webroot']?>js/jquery.js'></script>
<script type='text/javascript' src='<?=$path['webroot']?>js/jquery.simplemodal.js'>
</script>
<script type='text/javascript' src='<?=$path['webroot']?>js/confirm.js'></script>
}
If there a way to have this jquery script inside the window.open()?
Thank you,
BamBam
