View Single Post
  #3  
Old 8th February 2012, 16:17
BitFarmer's Avatar
BitFarmer BitFarmer is offline
Senior Member
 
Join Date: Jan 2012
Latvia
Posts: 99
Default
you're code for this looks something like this
Code:
OpenTable(_btindex_video); 
$query = "SELECT * FROM ".$db_prefix."_youtubevideo ORDER BY addtime"; 
$sql = $db->sql_query($query); 
echo "<marquee  onMouseOver=\"this.stop();\" onMouseOut=\"this.start();\" width=\"100%\" direction=\"left\" loop=\"infinite\" scrollamount=\"2\">\n"; 
echo"<table border=\"1\">\n<tr>"; 
while ($row = $db->sql_fetchrow($sql)) { 
$link = str_replace("http://youtube.com/v/","",$row["link"]); 
$name = $row['name']; 
echo"<td style=\"text-align: center;\">\n<a href=\"".$siteurl."/youtube.php?op=show&amp;video=".$row["link"]."\">\n<img title=\"".$name."\" src=\"http://i3.ytimg.com/vi/".$link."/default.jpg\" class=\"vimg120\" qlicon=\"".$link."\" alt=\"".$name."\">\n</a>\n<br />\n<p>$name</p>\n</td>\n"; 
} 
echo"</tr>\n</table>\n"; 
echo "</marquee>\n"; 
CloseTable();
just look for direction=\"left\" in it and change the value to direction=\"right\"
ore direction=\"bottom\" ore what ever
Reply With Quote
The Following User Says Thank You to BitFarmer For This Useful Post:
romano1 (8th February 2012)