<script type="text/javascript"> $(window).load(function(){ $("a[data-gal^='prettyVideo']").prettyPhoto({animation_speed:'normal',theme:'facebook',slideshow:false, autoplay_slideshow: false}); $("a[data-gal^='prettyVideo_1']").prettyPhoto({animation_speed:'normal',theme:'facebook',slideshow:false, autoplay_slideshow: false}); $("a[data-gal^='prettyVideo_2']").prettyPhoto({animation_speed:'normal',theme:'facebook',slideshow:false, autoplay_slideshow: false}); }); </script>
$(window).load(function(){ <?php require "config.php"; $query = "SELECT * FROM videodetails where album='" . $_GET['album'] . "'"; $result = mysql_query($query); $nume=mysql_num_rows($result); $i=0; while ($row = mysql_fetch_array($result)) { $val="prettyVideo" . $i; $i=$i+1; ?> $("a[data-gal^='"+<?php echo($val); ?>+"']").prettyPhoto({animation_speed:'normal',theme:'facebook',slideshow:false, autoplay_slideshow: false}); <?php } ?> }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)