Ich mal wieder
und zwar ich bin auf Erweiterte Memberlist (1.2) gestoßen dies funktioniert auch super!
jetzt hab ich in der datei
<script type="text/javascript"> function Klappen(Id) { var KlappText = document.getElementById('Lay'+Id); var KlappBild = document.getElementById('Pic'+Id); var jetec_Minus="inhalt/codeschnipsel/minus.gif", jetec_Plus="inhalt/codeschnipsel/plus.gif"; if (KlappText.style.display == 'none') { KlappText.style.display = 'block'; KlappBild.src = jetec_Minus; } else { KlappText.style.display = 'none'; KlappBild.src = jetec_Plus; }} </script>
dieses Würde ich gerne in die team.htm einbauen (hab ich auch getan)
aber irrgendwie will das nicht so wie ich
teams.htm
<script type="text/javascript"> function Klappen(Id) { var KlappText = document.getElementById('Lay'+Id); var KlappBild = document.getElementById('Pic'+Id); var jetec_Minus="inhalt/codeschnipsel/minus.gif", jetec_Plus="inhalt/codeschnipsel/plus.gif"; if (KlappText.style.display == 'none') { KlappText.style.display = 'block'; KlappBild.src = jetec_Minus; } else { KlappText.style.display = 'none'; KlappBild.src = jetec_Plus; }} </script> <table width="100%" cellpadding="3" border="0" cellspacing="1" class="border"> <tr class="Cdark"> <td colspan="6" valign="bottom" align="center">{show}</td> </tr> </table> {EXPLODE} {EXPLODE} <tr class="{class}"> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/user.png" />Nick:</div> <div id="" class="user_details_right"><a href="index.php?user-details-{uid}">{name}</a></div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/titel.png" />Benutzerrang:</div> <div id="" class="user_details_right">{USERTITEL}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/srank.png" />Squadrang:</div> <div id="" class="user_details_right">{posi}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/land.png" />Land:</div> <div id="" class="user_details_right">{staat}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/status2.png" />Status:</div> <div id="" class="user_details_right">{status}</div> <div class="clear"></div> </tr> {EXPLODE} <div class="clear"></div> <tr class="{class}"> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/user.png" />Nick:</div> <div id="" class="user_details_right">{name}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/status.png" />Rang:</div> <div id="" class="user_details_right">{posi}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/status.png" />Land:</div> <div id="" class="user_details_right">{staat}</div> <div class="clear"></div> <div id="" class="user_details_left"><img alt="" src="include/images/userdetails/titel.png" />Status:</div> <div id="" class="user_details_right">{status}</div> <div class="clear"></div> <div id="" class="user_details_right"><a href="index.php?user-details-{uid}">{_lang_more}</a></div> </tr> {EXPLODE} <br />
wenn mir da ggf. jemand behilflich sein kann wäre ich dankbar
achso:
das ist die "grund datei"
memb_list.htm
<script type="text/javascript"> function Klappen(Id) { var KlappText = document.getElementById('Lay'+Id); var KlappBild = document.getElementById('Pic'+Id); var jetec_Minus="inhalt/codeschnipsel/minus.gif", jetec_Plus="inhalt/codeschnipsel/plus.gif"; if (KlappText.style.display == 'none') { KlappText.style.display = 'block'; KlappBild.src = jetec_Minus; } else { KlappText.style.display = 'none'; KlappBild.src = jetec_Plus; }} </script> <table width="100%" border="0" cellspacing="1" cellpadding="3" class="border"> <tr class="Chead"> <td> <div id="links" style="width:50%; float:left;">{_lang_name}</div> <div id="rechts" style="width:50%; float:left; text-align:right;">Userinfos</div> </td></tr>{EXPLODE} <tr class="{CLASS}"> <td> <div id="links" style="width:50%; float:left;"><a href="javascript:Klappen({UID})"><img border="0" src="include/images/icons/plus.gif"></a> <a href="index.php?user-details-{UID}"><b>{NAME}</b></a></div> <div id="rechts" style="width:50%; float:left; text-align:right;"><a href="index.php?user-mail-{UID}"><img border="0" src="include/images/icons/mail.gif"></a> <a href="{SITE}" target="_blank"><img border="0" src="include/images/icons/page.gif"></a> <img src="http://status.icq.com/online.gif?icq={ICQ}&img=5"></div> <div id="Lay{UID}" style="display: none; width:100%; clear:left;"><hr> <table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr> <td align="center">{AVATA}</td> <td align="center"><b>{_lang_rank}</b><br/>{RANG}</td> <td align="center"><b>{_lang_group}</b><br/>{GRUPE}</td> <td align="center"><b>{_lang_regtime}</b><br/>{DATE}</td> <td align="center"><b>{_lang_posts}</b><br/>{POSTS}</td> </tr> </table> </div> </td></tr>{EXPLODE} </table> <br /> <div align="center">{SITELINK} <form method="GET" action="index.php"><input type="hidden" name="user" value="" /><input type="text" name="filtername" size="15" value="{filtername}" /> <input class="button" type="submit" value="{_lang_filter}" /></form> </div> <p> </p>
betroffene Homepage: anonymous-clan.eu/page/index.php?user