Autor | Zpráva | ||
---|---|---|---|
vopeslik Profil |
#1 · Zasláno: 7. 2. 2011, 18:21:55
Mam fotogalerii, ktera se nevleze do okna a abych videl celou fotku tak ji musim dicky posunout a kdyz prepinam mezi fotkama tak to musim posunout vzdy znovu, chtel bych to tak aby vzdy zustal ten pusovnik na jednom miste a cela galerie byla porad viditelna, neco podobneho jak ma rajce http://martac.rajce.idnes.cz/Leto_2010/#ddddd.jpg proste kdyz prepinam mezi fotkama tak ze mi ten posuvnik porad zuastava na miste, nevim jestli je to dano jako ze posuvnik zustava na miste nebo aby byl viditelny ten div v kterem je ten obrazek, predem dekuji za odpoved
|
||
l564 Profil |
#2 · Zasláno: 7. 2. 2011, 19:37:32
Tady jsem ti to našel :
HTML : <div class=”scrollTableContainer”> <table class=”dataTable” cellspacing=”0″> <thead> <tr> <th>Station</th> <th>Date</th> <th>Status</th> <th>Num.</th> </tr> </thead> <tbody> <tr> <td>KABC</td> <td>09/12/2002</td> <td>Submitted</td> <td>0</td> </tr> <tr> <td>KCBS</td> <td>09/11/2002</td> <td>Lockdown</td> <td>2</td> </tr> … <tr> <td>WRRR</td> <td>02/19/2002</td> <td>Submitted</td> <td>5</td> </tr> </tbody> </table> </div> CSS : div.scrollTableContainer { height: 285px; overflow: auto; width: 970px; margin: 15px 0 0 0; position: relative; } /* The different widths below are due to the way the scroll bar is implamented */ /* All browsers (but especially IE) */ div.scrollTableContainer table { width: 952px; } /* Modern browsers (but especially firefox ) */ html>/**/body div.scrollTableContainer table { width: 970px; } /* Modern browsers (but especially firefox ) */ html>/**/body div.scrollTableContainer table>tbody { overflow: auto; height: 250px; overflow-x: hidden; } div.scrollTableContainer thead tr { position:relative; top: expression(offsetParent.scrollTop); /*IE5+ only*/ /* fixes the header being over too far in IE, doesn’t seem to affect FF */ left: 0px; } /*prevent Mozilla scrollbar from hiding cell content*/ div.scrollTableContainer td:last-child {padding-right: 20px;} |
||
vopeslik Profil |
#3 · Zasláno: 7. 2. 2011, 20:50:40
diky, snad se mi to podari zprovoznit
|
||
vopeslik Profil |
#4 · Zasláno: 8. 2. 2011, 22:16:02
nakonec sem to udelal pomoci identifikatoru id="kotva" a do odkazu <a href="index.html#kotva" > a vyhazuje mi to na okraj toho divu kam sem dal ten id......ale i tak diky za snahu
|
||
Časová prodleva: 13 let
|
0