1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
<script type="text/javascript"> function scrolling2(ulId, speed) {
this.container2 = document.getElementById(ulId); this.container2.Scroller2 = this; this.speed2 = speed;
this.scroll2 = function() { var c = this.container2.firstChild; var first = null; while (c) { if (c.tagName == 'LI') { first = c; break; } c = c.nextSibling; } var nodeSize = 80; var px = 0; nodeSize = first.clientHeight; if (first.style.marginLeft != '') { px = parseInt(first.style.marginLeft); } first.style.marginLeft = ( px - 1 ) + 'px'; if ( parseInt(first.style.marginLeft) <= -(nodeSize) ) { first.style.marginLeft = '-200px'; this.container2.removeChild(first); this.container2.appendChild(first); } setTimeout('document.getElementById(\'' + this.container2.id + '\').Scroller2.scroll2()', this.speed2); }
setTimeout('document.getElementById(\'' + ulId + '\').Scroller2.scroll2()', this.speed2);
} </script> <div class="aviso"> <? $quer = mysql_query("select * from chamada where publicado = 's'"); $totc = mysql_num_rows($quer); if ($totc > 0 ) { ?> <div class="col-md-9 nopl"> <div class="caviso"> <div class="col-md-2 nopd"> <div class="dark"> IMPORTANTE </div> </div> <div class="col-md-10">
<marquee behavior="scroll" direction="left" onmouseover="this.stop()" onmouseout="this.start()" style="padding-top:10px" > <? while ($lt=mysql_fetch_array($quer)){ ?> <? if ($lt['link'] != '') {?> <a href="<?= $lt['link']?>" class="cinza" target="_blank"><?= $lt['texto']?></a> <? } else { ?> <? } ?> <?= $lt['texto']?> <? } ?> </marquee> </div> <div class="clearfix"></div> </div><!-- /caviso --> </div><!-- /col 9 --> <? } ?> <div class="col-md-2 pull-right nopdr"> <div class="relogio"> <img src="images/icon-clock.png" /> <span id="timer"></span> </div> </div><!-- /col2 --> <div class="clearfix"></div> </div><!-- /aviso -->
|