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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 08:18:44 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

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: