Site url: http://www.aybilgi.net
MemHT version: 4.0
Hosting OS: Linux,
i have a marquee i want to use in my block i tryed a lot time it ist't working. but it is working simplu like that " <marquee>text here </marquee> " but if i use like that...
if (stristr(htmlentities($_SERVER['PHP_SELF']), "block_tags.php")) {
die("<table style='padding: 2px; border: 1px solid #999; background-color: #EEE; font-family: Verdana; font-size: 10px;' align='center'><tr><td><b>Error:</b> This file cannot be opened directly!</td></tr></table>");
}
global $dblink;
echo "<div align='justify'>";
$result = $dblink->get_list("SELECT tag,COUNT(tag) AS tot FROM memht_tags GROUP BY tag ORDER BY RAND() LIMIT 200");
foreach ($result as $row) {
$tag = outCode($row['tag']);
$num = intval($row['tot']);
if ($num<=1) { $dim = "xs"; }
else if ($num<=5) { $dim = "s"; }
else if ($num<=20) { $dim = "m"; }
else if ($num<=50) { $dim = "l"; }
else { $dim = "xl"; }
echo " <marquee align="middle" scrollamount="1" height="90" width="20%" direction="down"scrolldelay="1"> <span style='padding: 0 2px;' class='$dim'><a href='index.php?page=tags&op=list&tag=".urlencode($tag)."' title='$tag'>$tag </a></span> </marquee> n";
}
echo "</div>";
it isn't working?
this is code
<marquee align="middle" scrollamount="1" height="30" width="100%" direction="down"scrolldelay="1">text</marquee>
is someone help me?