|
|
|
|
|
<marquee width="100%" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1" scrollAmount="1" scrollDelay="27" truespeed="true">
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/sport.xml";
$rssreader->viewas="horz";
$rssreader->item_descr=0;
$rssreader->imagecount = "99";
$rssreader->imagewidth = "16";
$rssreader->imageheight = "16";
$rssreader->feed();
?>
</marquee>
|
|
<marquee width="100%" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1" scrollAmount="1" scrollDelay="27" truespeed="true">
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/sport.xml";
$rssreader->viewas="horz";
$rssreader->item_descr=0;
$rssreader->imagecount = "0";
$rssreader->imagewidth = "16";
$rssreader->imageheight = "16";
$rssreader->imageuri = "http://www.rssthai.com/images/icon_star.gif";
$rssreader->feed();
?>
</marquee>
|
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/car.xml";
$rssreader->viewas="list";
$rssreader->rowcount=5;
$rssreader->item_descr=0;
$rssreader->feed();
?> |
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/it.xml";
$rssreader->item_descr=0;
$rssreader->viewas="list";
$rssreader->ultag=true;
$rssreader->rowcount=5;
$rssreader->imageuri="http://www.rssthai.com/images/star.gif";
$rssreader->feed();
?>
|
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/travel.xml";
$rssreader->item_descr=0;
$rssreader->viewas="column";
$rssreader->columncount=1;
$rssreader->imagecount = "2";
$rssreader->imagealter= "http://www.rssthai.com/images/icon_dot.gif";
$rssreader->imagealign = "absmiddle";
$rssreader->feed();
?>
|
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/it.xml";
$rssreader->item_descr=0;
$rssreader->viewas="column";
$rssreader->rowcount=6;
$rssreader->columncount=3;
$rssreader->imagecount = 6;
$rssreader->imagealign = "center";
$rssreader->feed();
?>
|
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/it.xml";
$rssreader->item_descr=0;
$rssreader->viewas="column";
$rssreader->rowcount=4;
$rssreader->columncount=2;
$rssreader->imagecount = 6;
$rssreader->imagealign = "left";
$rssreader->feed();
?>
|
|
|
<?
require_once("./rssthai/rssthaireader.php");
//ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/entertain.xml";
$rssreader->item_descr=1;
$rssreader->viewas="column";
$rssreader->rowcount=4;
$rssreader->columncount=1;
$rssreader->imagecount = 4;
$rssreader->imagealign = "left";
$rssreader->feed();
?>
|
|
<marquee width="100%" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1" scrollAmount="1" scrollDelay="27" truespeed="true" direction="up">
<?
require_once("./rssthai/rssthaireader.php"); //ã¹Ë¹éÒà´ÕÂǡѹãËéãÊèà¾Õ§¤ÃÑé§à´ÕÂÇ
$rssreader = new rssthai;
$rssreader->rssuri="http://www.rssthai.com/rss/it.xml";
$rssreader->item_descr=0;
$rssreader->viewas="column";
$rssreader->rowcount=6;
$rssreader->columncount=2;
$rssreader->imagecount = 6;
$rssreader->imagealign = "left";
$rssreader->imagewidth = "48";
$rssreader->imageheight = "51";
$rssreader->feed();
?>
</marquee>
|
|
- à»ÅÕè¹»ÃÐàÀ·¢èÒÇ
scrip ·Ø¡áºº¨ÐÁÕ¡ÒÃàÅ×Í¡»ÃÐàÀ·¢Í§¢èÒÇ
$rssreader->rssuri="http://www.rssthai.com/rss/sport.xml";
¡ÒèÐàÅ×Í¡»ÃÐàÀ·¢èÒǹÑé¹à¾Õ§á¤èà»ÅÕ蹤èҢͧµÑÇá»Ã¹Õé(ÊèǹÊÕ¹Óéà§Ô¹)ä»à»ç¹¤èÒÍ×è¹æµèÒÁ»ÃÐàÀ·¢èÒǹÑé¹ àªè¹
µÑÇÍÂèÒ§
$rssreader->rssuri="http://www.rssthai.com/rss/it.xml"; //¢èÒÇ it
$rssreader->rssuri="http://www.rssthai.com/rss/stock.xml"; //¢èÒÇ ËØé¹
......¢èÒèÇ»ÃÐàÀ·Í×è¹.....
- ÂèÍ-¢ÂÒ ÃÙ»¢èÒÇ
à»ÅÕ蹤èҢͧµÑÇá»ÃÊͧµÑǹÕé ä»à»ç¹¢¹Ò´µÒÁµéͧ¡Òà ¤èÒà»ç¹ pixcel
µÑÇÍÂèÒ§
$rssreader->imagewidth = 16;
$rssreader->imageheight = 16;
- ·ÓãËé¢èÒÇÇÔè§àÃçÇ¢Öé¹
<marquee width="100%" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1" scrollAmount="1" scrollDelay="27" truespeed="true">
...................
</marquee
script ¢Ø´¹Õéãªéà¾×èÍàÅ×è͹ text ¤èÒ¤ÇÒÁàÃçǹÑé¹¢Öé¹ÍÂÙè¡Ñº¤èҢͧµÑÇá»Ã scrollDelay «Öè§àÃÒÊÒÁÒöà»ÅÕè¹ä´é(¨Ò¡µÑÇÍÂèÒ§¤×Í 27)
- à»ÅÕè¹ÃÙ»¢èÒÇâ´ÂãªéÃÙ»Í×è¹á·¹ÃÙ»¢èÒÇ·Ñé§ËÁ´
à»ÅÕ蹤èҢͧµÑÇá»Ã imageuri
¡ÒáÓ˹´¤èÒ ¤×Í ãÊè path ·ÕèÊÒÁÒöÍéÒ§¶Ö§ÃÙ»·Õè¨Ð¹ÓÁÒáÊ´§á·¹ÃÙ»¢èÒÇä´é
µÑÇÍÂèÒ§
$rssreader->imageuri = "http://www.rssthai.com/images/star.gif";
- ¶éÒÍÂÒ¡ä´é description ¢Í§¢èÒÇÁÒáÊ´§´éÇÂ
à¾Õ§á¤èà»ÅÕ蹤èҢͧ item_descr ä»à»ç¹ 1
µÑÇÍÂèÒ§
$rssreader->item_descr=1;
- à¾ÔèÁ¨Ó¹Ç¹¢èÒÇ
à¾Õ§á¤èà»ÅÕ蹤èҢͧ rowcount ä»à»ç¹¨Ó¹Ç¹·Õèµéͧ¡ÒÃ
µÑÇÍÂèÒ§
$rssreader->rowcount=5;
- à¾ÔèÁ¨Ó¹Ç¹ÃÙ»¢èÒÇ
à¾Õ§á¤èà»ÅÕ蹤èҢͧ imagecount ä»à»ç¹¨Ó¹Ç¹·Õèµéͧ¡ÒÃ
µÑÇÍÂèÒ§
$rssreader->imagecount = 1;
¡Ó˹´¤èÒÍ×è¹æ à¾ÔèÁàµÔÁ ...
|