ich habe auf meiner Seite die Alianz Box von oLdesWorld.de installiert.
Hier der Link:externer Link
Das Ding ist soweit echt super... nur Leider geht diese Funktion nicht im Firefox 3.6.
Kann mir da einer weiterhelfen wie ich es da zum laufen bringen kann.
<?php # Copyright by Manuel Staechele # Support www.ilch.de $tpl_alianz = <<< tpl <script language="JavaScript1.2"> function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",50) } function low(which2){ clearInterval(highlighting) if (which2.style.MozOpacity) which2.style.MozOpacity=0.5 else if (which2.filters) which2.filters.alpha.opacity=50 } function highlightit(cur2){ if (cur2.style.MozOpacity<1) cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1 else if (cur2.filters&&cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } </script> <script language="JavaScript1.2"> function makevisible(cur,which){ strength=(which==0)? 1 : 0.4 if (cur.style.MozOpacity) cur.style.MozOpacity=strength else if (cur.filters) cur.filters.alpha.opacity=strength*100 } </script> <div align="center"> {EXPLODE} </div> {EXPLODE} <a class="box" href="{link}" target="_blank">{title}</a><br /> {EXPLODE} <img src="{banner}" alt="{name}" border="0" style="filter:alpha(opacity=30);-moz-opacity:0.4" onmouseover="high(this)" onmouseout="low(this)"> tpl; defined ('main') or die ( 'no direct access' ); $allyAnzahl = $allgAr['Aanz']; if ( $allgAr['Aart'] == 1 ) { $sqlORDER = 'pos'; } else { $sqlORDER = 'RAND()'; } $allyNameAr = array(); $allyLinkAr = array(); $allyBanaAr = array(); $allyAktAnz = 0; $allyAbf = 'SELECT * FROM `prefix_partners` ORDER BY '.$sqlORDER.' LIMIT 0,'.$allyAnzahl; $allyErg = db_query($allyAbf); if ( db_num_rows($allyErg) > 0) { $tpl = new tpl($tpl_alianz, 3); $tpl->out(0); while($allyRow = db_fetch_object($allyErg)) { $tpl->set("link", $allyRow->link); if ( empty ($allyRow->banner) OR $allyRow->banner == 'http://' ) { $tpl->set("title", $allyRow->name); } else { $tpl->set("title", $tpl->set_ar_get( array("banner" => $allyRow->banner, "name" => $allyRow->name ) , 3 # {EXPLODE} Nr 3 ) ); } $tpl->out(2); } $tpl->out(1); } ?>
Hier auch mal den Code dazu.
Schon mal danke!
Gruß Zeitgeist