TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,828
  • Total Topics: 21,286
  • Online today: 59
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 63
  • Total: 64
  • @rjen

Today In History Question

Started by Mitch, March 15, 2006, 08:49:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mitch


elpvn

#11
Hix, It scroll all of one: theÃ,  scroll bar and the content of blockÃ,  :o

Then I have made correct it by this code

$my_height = auto;
$today = mktime();
$today_day = date("j", $today);
$today_month = date("n", $today);

$request = db_query("SELECT pn_yid, pn_content FROM nuke_ephem WHERE pn_did=$today_day AND pn_mid=$today_month ORDER BY pn_yid ASC", __FILE__, __LINE__);
if (mysql_num_rows($request) > 0)

Ã,   {echo '<marquee bgcolor="transparent" scrollamount="2" direction="up" loop="true" width="100%" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>';

Ã,  Ã,  Ã, 
Ã,  Ã,  Ã,  Ã,  echo '<div style="height: '.$my_height.'ex; overflow: auto;">';
while($row = mysql_fetch_assoc($request)){
echo '<b>' . $row['pn_yid'] . '</b> - ' . $row['pn_content'] . '<br />';
}
Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  echo '</div>';
Ã,  Ã,  Ã,  Ã,  echo '</marquee>';Ã,  Ã,  Ã,  Ã,  Ã, 
mysql_free_result($request);
Ã,  }


It has fixedÃ, and work fine :laugh:

This website is proudly hosted on Crocweb Cloud Website Hosting.