Sorry, sorry, sorry. Nejak mi tam ve spech vypadlo par dolacu... :) Takze znovu: /* <!-- $bkg[]='./pix/img_0.jpg'; $bkg[]='./pix/img_1.jpg'; # .... $bkg[]='./pix/img_n.jpg'; # $css[]='./sty/style_0.css'; $css[]='./sty/style_1.css'; # .... $css[]='./sty/style_n.css'; # kratsi by bylo filenames pixu a/nebo css nacist cyklem, jsou-li v rade $b=count($bkg)-1; $c=count($css)-1; srand((double)microtime()*1e6); # a pak <style ....> @import url(<?echo $css[rand(0,$c)];?>); # a/nebo body{background-image:url(<?echo $bkg[rand(0,$b)];?>);background-repeat:repeat-y;} </style> # a/nebo <body ......... background=<?echo $bkg[rand(0,$b)];?>> --> */ pako Paco. ______________________________________________________________________ Reklama: Co davaji v TV? http://tv.seznam.cz
This archive was generated by hypermail 2.1.2 : 16. 06. 2002, 22:14 CEST