Mam taku otazku: Nevedel by niekto spravit nejaky script aby sa mi na stranke roloval sam text nieco ako titulky. Myslim to tak ze tam bude text a samo sa to bude rolovat postupne dole.
Za odpovede vopred dakujem.
Ypkis: aky normalny tag na to je ?
Viem to len cez JavaSCRIPT.
<head>
<title>SPeeDY99</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<script language="JavaScript" type="text/javascript">
var delai=0; var pix=0; var pixmax=0; var inc=0;
function scrolling(nb,delay,increment) {
pixmax=nb; delai=delay; pix=0; inc=increment
setTimeout("scroll()",delai);
}
function scroll() {
pix=pix+inc;
self.scrollBy(0,inc);
if (pix<pixmax) {setTimeout("scroll()",delai);}
}
</script>
</head>
<body onLoad="scrolling(8000,30,1)">
SPeeDY99<br>
001<br>002<br>003<br>004<br>005<br>006<br>007<br>008<br>009<br>010<br>
011<br>012<br>013<br>014<br>015<br>016<br>017<br>018<br>019<br>020<br>
021<br>022<br>023<br>024<br>025<br>026<br>027<br>028<br>029<br>030<br>
031<br>032<br>033<br>034<br>035<br>036<br>037<br>038<br>039<br>040<br>
041<br>042<br>043<br>044<br>045<br>046<br>047<br>048<br>049<br>050<br>
051<br>052<br>053<br>054<br>055<br>056<br>057<br>058<br>059<br>060<br>
061<br>062<br>063<br>064<br>065<br>066<br>067<br>068<br>069<br>070<br>
071<br>072<br>073<br>074<br>075<br>076<br>077<br>078<br>079<br>080<br>
081<br>082<br>083<br>084<br>085<br>086<br>087<br>088<br>089<br>090<br>
091<br>092<br>093<br>094<br>095<br>096<br>097<br>098<br>099<br>100<br>
101<br>102<br>103<br>104<br>105<br>106<br>107<br>108<br>109<br>110<br>
111<br>112<br>113<br>114<br>115<br>116<br>117<br>118<br>119<br>120<br>
121<br>122<br>123<br>124<br>125<br>126<br>127<br>128<br>129<br>130<br>
131<br>132<br>133<br>134<br>135<br>136<br>137<br>138<br>139<br>140<br>
141<br>142<br>143<br>144<br>145<br>146<br>147<br>148<br>149<br>150<br>
151<br>152<br>153<br>154<br>155<br>156<br>157<br>158<br>159<br>160<br>
161<br>162<br>163<br>164<br>165<br>166<br>167<br>168<br>169<br>170<br>
171<br>172<br>173<br>174<br>175<br>176<br>177<br>178<br>179<br>180<br>
181<br>182<br>183<br>184<br>185<br>186<br>187<br>188<br>189<br>190<br>
SPeeDY99<br>
</body>
Staci si to ulozit ako HTML a potom to to bude rolovat. Tie cisla su tam len na ukazku potom si tam mozes dat co chces a bude ti to rolovat.
Dufam ze ti pomoze.
Pohyb nahoru: <marquee direction="up">text, který má titulkovat</marquee>
Pohyb dolů: <marquee direction="down">text, který má titulkovat</marquee>
<marquee> fachší afaik jen v IE a částešně v Gecku.
Quinix :: Odzkoušel jsem <marquee> a funguje: IE 6, Firefox 1.0, Opera 7.54.