Click here to Skip to main content
15,121,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<pre>marquee slides left but it shows all fetched images vertically and slides left.i want these images one  by one moving horizontally. My code is 


PHP
<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 * FROM ".VIDEONEWS." WHERE 1");
    				if(mysql_num_rows($qryAdv) > 0)
    				{
    					while($adv = mysql_fetch_assoc($qryAdv))
    					{
    			  ?>
    			 <a href="<?=$adv['adv_url']?>" target="_blank"><img src="" width="100%"></a> <br /> <br />
    			 
    			  			  		}
    				} else { echo 'NO VIDEO NEWS FOUND!!!'; }
    			  ?>
                  </marquee>
                </span></div></td> </div>
Posted
Updated 4-Jun-15 11:07am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900