|
MARQUEE ile kayan haber kutusu yapmak, news ticker, news scroller
|
|
09-20-2011, 02:56 PM
Mesaj: #1
|
|||
|
|||
|
MARQUEE ile kayan haber kutusu yapmak, news ticker, news scroller
Örnek Kod:
<marquee style="height: 120px; width: 200px; background-color: rgb(255, 255, 255); font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);" direction="up" behavior="scroll" scrollamount="1" onmouseover="this.stop();" onmouseout="this.start();"> <? include("config.php"); $link= mysql_connect($dbHost, $dbUser, $dbPass); mysql_select_db($dbName,$link); $query = "SELECT * FROM haberler ORDER by id DESC"; $result = mysql_query($query, $link); while ($newArray = mysql_fetch_array($result)) { $id= $newArray['id']; $tarih= $newArray['tarih']; $haberbasligi= $newArray['baslik']; $habericerigi=$newArray['icerik']; echo "<font color=blue>" . $tarih . "</font>" . "<br>"; echo $haberbasligi . "<br>"; echo $habericerigi . "<br><br><br>"; } ?> </marquee> jquery ile yapılan çoğu ticker uygulaması IE9 'da problem oluşturduğu için en kesin yol javascript kullanmadan MARQUEE ile yapmak. En basit HTML anlatımı: <marquee style="border: thin solid rgb(0, 0, 0); height: 120px; width: 200px; background-color: rgb(255, 255, 255); font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);" direction="up" behavior="scroll" scrollamount="1" onmouseover="this.stop();" onmouseout="this.start();"> MARQUEE scrolling text<br /><br /> <a href="http://interestingwebs.blogspot.com/">Link to my blog</a></marquee> MARQUEE için ayrıntılı bilgi alabileceğiniz link: Guests cannot see links in the messages. Please register to forum by clicking href="member.php?action=register">here to see links. Özdemir Şarman aka (Charmant-zavanetratan) |
|||
'MARQUEE ile kayan haber kutusu yapmak, news ticker, news scroller' Konusunu PaylaÅŸ |

Arama
Üye Listesi
Takvim
Yardım












