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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -