Help - Search - Members - Calendar
Full Version: Mp3 into Site
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Exasrite
Hello,

As I am fairly new to making websites, editing websites and stuff, I can't seem to find out the following.
I've downloaded an Mp3 player for websites and I have got it to work in a html file with ONLY this in the script, and I have made a design with Photoshop.

Now in the design I've made a square part where I want the mp3 player to be in, and to be fully functional in, it's located in a table..

This is the part of the script;

***This is the Mp3 player part***
<script type="text/javascript" src="mp3/swfobject.js"></script>
<p align="middle" id="player2"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to use this player.</p>
<div align="right">
<script type="text/javascript">
var s2 = new SWFObject("mp3/mp3player.swf", "mp3/playlist.xml", "240", "135", "7");
s2.addVariable("file","mp3/playlist.xml");
s2.addVariable("backcolor","0x00000");
s2.addVariable("frontcolor","0xFFFFFF");
s2.addVariable("lightcolor","990000");
s2.addVariable("displayheight","0");
s2.write("player2");
</script>

***This is the Design part***
<table id="Table_01" width="800" height="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="images/Test_01.jpg" width="800" height="218" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="images/Test_02.jpg" width="104" height="382" alt=""></td>
<td>
<img src="images/Test_03.jpg" width="468" height="334" alt=""></td>
<td rowspan="2">
<img src="images/Test_04.jpg" width="228" height="382" alt=""></td>
</tr>
<tr>
<td>
<img src="images/Test_05.jpg" width="468" height="48" alt=""></td>
</tr>
</table>


I was wondering if anyone could help me get these in eachother, I would be very pleased by this.
Thanks in forward, Tim.
Christian J
QUOTE(Exasrite @ Jul 5 2007, 09:27 PM) *

CODE
<p align="middle" id="player2"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to use this player.</p>
<div align="right">


There's no closing tag to that DIV (if you need the DIV in the first place).

QUOTE
I was wondering if anyone could help me get these in eachother, I would be very pleased by this.

Why not paste the player code into the table where you want it?

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.