php - morquee scroling left (fething from deta) , scroll one by one but all images scroll -
i adding images data in marquee wen direction works fine when direction left images collectively goes right left. need 1 one scroll.
<div id="right"> <td height="auto" align="center" bgcolor="#ffffff" class="index-unwel" > <marquee direction="left" scrollamount="2" height="250" onmouseover="this.stop();" onmouseout="this.start();"> <div align="left" style="width:100% ;"> <span style="text-transform:uppercase;"> <? $qryadv = mysql_query("select * ".videonews." 1"); if(mysql_num_rows($qryadv) > 0) { while($adv = mysql_fetch_assoc($qryadv)) { ?> <a href="<?=$adv['adv_url']?>" target="_blank"><img src="<?=video.$adv['adv']?>" width="100%"></a> <br /> <br /> <? } } else { echo 'no video news found!!!'; } ?> </marquee> </td>
i have used
while($adv = mysql_fetch_array($qryadv))
in-spite of
while($adv = mysql_fetch_assoc($qryadv))
also not successful.
in spite of marquee cycle2 used easy. prodigitalson link downloaded cycle2 jquery.malsup.com/cycle2 suggestion lead me new era.
Comments
Post a Comment