Pagina 1 van 1

Music Button Onderaan !

Geplaatst: 11 apr 2005, 17:08
door MaartenBosmans

Code: Selecteer alles

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the 
	Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected. 

	The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
</td>
        </tr>
        <tr> 
          <td width="100%" class="gborder"></td>
        </tr>
        <tr> 
          <td width="100%"><a href="http://www.skaidon.co.uk" style="font-size:10px;" target="_blank">Design by SkaidonDesigns</a> | <a href="http://www.olate.com/styles" style="font-size:10px;" target="_blank">Distributed by Olate</a></td>
        </tr>
      </table></td>
    <td class="right"></td>
  </tr>
  <tr> 
    <td align="left" class="bottom"><img name="index_r7_c1" src="templates/Aliens/images/index_r7_c1.gif" width="42" height="42" border="0" id="index_r7_c1" alt="" /></td>
    <td width="100%" class="bottom">&nbsp;</td>
    <td align="right" class="bottom"><img name="index_r7_c3" src="templates/Aliens/images/index_r7_c3.gif" width="42" height="42" border="0" id="index_r7_c3" alt="" /></td>
  </tr>
</table>
<script language="JavaScript"><!--
function musicOff() {
document.midi.stop()
}
function musicOn() {
document.midi.play()
}
function changeButton() {
if (document.onoff.B1.value=='Music Off') {
document.onoff.B1.value='Music On';
musicOff()
}
else {
document.onoff.B1.value='Music Off';
musicOn()
  }
}
//--></script>
<form name="onoff"
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="Music Off" name="B1" onClick="changeButton()" style="color: #55AE3A; background-color: #000000; font-family: Tahoma; font-size: 7pt" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)">
<embed name="midi" src="Music/xXx.wma" width="0" height="0" loop="true" hidden>
</form>
</center>
</body>
</html>
Ik wil onderaan een music button net zoals op men website, maar hij verschijnt bovenaan het forum ?? Dit is toch footer...Mja ik ben een newb. Wat heb ik nu weer verkeerd gedaan ?? :roll:

Geplaatst: 11 apr 2005, 17:15
door Bas
Het moet binnen de table.

Dus zo:

Code: Selecteer alles

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
   We request you retain the full copyright notice below including the link to www.phpbb.com.
   This not only gives respect to the large amount of time given freely by the developers
   but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
   reason) retain the full copyright we request you at least leave in place the
   Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
   to include even this then support on our forums may be affected.

   The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
</td>
        </tr>
        <tr>
          <td width="100%" class="gborder"></td>
        </tr>
        <tr>
          <td width="100%"><a href="http://www.skaidon.co.uk" style="font-size:10px;" target="_blank">Design by SkaidonDesigns</a> | <a href="http://www.olate.com/styles" style="font-size:10px;" target="_blank">Distributed by Olate</a></td>
        </tr>
      </table></td>
    <td class="right"></td>
  </tr>
  <tr>
    <td align="left" class="bottom"><img name="index_r7_c1" src="templates/Aliens/images/index_r7_c1.gif" width="42" height="42" border="0" id="index_r7_c1" alt="" /></td>
    <td width="100%" class="bottom">&nbsp;</td>
    <td align="right" class="bottom"><img name="index_r7_c3" src="templates/Aliens/images/index_r7_c3.gif" width="42" height="42" border="0" id="index_r7_c3" alt="" /></td>
  </tr>
   <tr>
    <td colspan="3">
<script language="JavaScript"><!--
function musicOff() {
document.midi.stop()
}
function musicOn() {
document.midi.play()
}
function changeButton() {
if (document.onoff.B1.value=='Music Off') {
document.onoff.B1.value='Music On';
musicOff()
}
else {
document.onoff.B1.value='Music Off';
musicOn()
  }
}
//--></script>
<form name="onoff"
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="Music Off" name="B1" onClick="changeButton()" style="color: #55AE3A; background-color: #000000; font-family: Tahoma; font-size: 7pt" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)">
<embed name="midi" src="Music/xXx.wma" width="0" height="0" loop="true" hidden>
</form>
</center></td></tr>
</table>
</body>
</html>
Probeer dat eens.