Suche im Forum:
Suchen


Autor Nachricht
Beitrag11.10.2009 um 15:00 (UTC)    
Titel: Scrollbar bei Buttonklick nervt!

Hi!
Ich hab mir grad auf meiner Page ne Download-Seite gemacht!
Sieht auch ganz gut aus. Nur eines stört mich:
Immer wenn man auf den obersten "Mehr"-Button klickt erscheint so ne dumme Scrollbar!
Seht selbst auf http://mirrorclan.de.tl/Downloads.htm nach!
Könnt ihr mir nen Code sagen, der das verhindert?
mfG Jascha
______________
Wenn du denkst, dieses Universum sei schlecht, dann solltest du erstmal eines der anderen sehen!
Beitrag11.10.2009 um 16:39 (UTC)    
Titel:

Hi!

Füge mal der CSS-Klasse, in der dieser Button und der Text sind folgenden Code hinzu:

Zitat:
overflow: hidden;


Gruß,
Willi
______________
Beitrag11.10.2009 um 18:34 (UTC)    
Titel:

Hier einfach ma der Code:
Zitat:
<!-- Clonk -->


<div>

<overflow: hidden;>
<strong><a href=""><img border="0" src="http://img.webme.com/pic/m/mirrorclan/pfeil.png" alt="" /></a><a href=""><font color="#c37300"><a href="http://www.clonkx.de/endeavour/ce4955free.exe"> <font color= "Black">Clonk</font> </a</font></a> </font></a></strong>
<div>
<div>
<div class="spoiler" style="display: none;">
<table cellspacing="1" cellpadding="1" border="0" width="100%">
<tbody>
<tr>
<td>
Ein lustiges Multiplayer-Fun-Game <br>
<a href="http://www.clonk.de/">&rArr;Zum Hersteller</a><br />
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div align="right" class="pre-spoiler="><input type="image" height="19" border="0" width="100" title="mehr" alt="GTA Chinatown Wars" src="http://img.webme.com/pic/m/mirrorclan/mehr.png" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; this.src = 'http://img.webme.com/pic/m/mirrorclan/weniger.png'; this.title = 'weniger' ;} else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.title = 'mehr' ; this.value = 'Play'; this.src = 'http://img.webme.com/pic/m/mirrorclan/mehr.png'; }" style="margin: 0px; padding: 0px; width: 100px; height: 25px; font-size: 10px;" name="button" value="Play" /></div>
</div>
<img alt="" style="background: transparent url(http://img.webme.com/pic/g/gamesframe/spacer.png) repeat-x scroll 0% 0%; width: 658px; height: 2px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" src="http://img.webme.com/pic/g/gamesframe/spacer.png" />
</div>




Dieser Code wiederholt sich nur mit paar veränderten Werten!
______________
Wenn du denkst, dieses Universum sei schlecht, dann solltest du erstmal eines der anderen sehen!
Beitrag11.10.2009 um 22:03 (UTC)    
Titel:

[quote="mirrorclan"]
So sollte es gehen:
Zitat:
<!-- Clonk -->


<div style="overflow:hidden;">

<strong><a href=""><img border="0" src="http://img.webme.com/pic/m/mirrorclan/pfeil.png" alt="" /></a><a href=""><font color="#c37300"><a href="http://www.clonkx.de/endeavour/ce4955free.exe"> <font color= "Black">Clonk</font> </a</font></a> </font></a></strong>
<div>
<div>
<div class="spoiler" style="display: none;">
<table cellspacing="1" cellpadding="1" border="0" width="100%">
<tbody>
<tr>
<td>
Ein lustiges Multiplayer-Fun-Game <br>
<a href="http://www.clonk.de/">&rArr;Zum Hersteller</a><br />
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div align="right" class="pre-spoiler="><input type="image" height="19" border="0" width="100" title="mehr" alt="GTA Chinatown Wars" src="http://img.webme.com/pic/m/mirrorclan/mehr.png" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; this.src = 'http://img.webme.com/pic/m/mirrorclan/weniger.png'; this.title = 'weniger' ;} else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.title = 'mehr' ; this.value = 'Play'; this.src = 'http://img.webme.com/pic/m/mirrorclan/mehr.png'; }" style="margin: 0px; padding: 0px; width: 100px; height: 25px; font-size: 10px;" name="button" value="Play" /></div>
</div>
<img alt="" style="background: transparent url(http://img.webme.com/pic/g/gamesframe/spacer.png) repeat-x scroll 0% 0%; width: 658px; height: 2px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;" src="http://img.webme.com/pic/g/gamesframe/spacer.png" />
</div>


______________
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de