Log In · Register

 
How do I put this music playlist on my DIV layout?
joygurl105
post Jun 15 2008, 07:50 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Jan 2005
Member No: 85,333



this is my playlist code:

CODE
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"><embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.myplaylist.org/mc/mp3player.swf?tomy=http://www.myplaylist.org/mc/config/skins/config_white_shuffle.xml&mywidth=435&myheight=270&skinurl=http://i280.photobucket.com/albums/kk193/Lithas_emotions/Tokio%20Hotel/Logo.jpg&file=http://www.myplaylist.org/loadplaylist.php?playlist=36040775" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.myplaylist.org><img src=http://www.myplaylist.org/mc/images/create_black.jpg border=0></a><a href=http://www.myplaylist.org/standalone/36040775 target=_blank><img src=http://www.myplaylist.org/mc/images/launch_black.jpg border=0></a><a href=http://www.myplaylist.org/download/36040775><img src=http://www.myplaylist.org/mc/images/get_black.jpg border=0></a> </div>


The code works but the player ends up at the top of the layout. How do I make it go to the section I want it to be in?
 
 
Start new topic
Replies (1 - 2)
Jghelfi
post Jun 15 2008, 08:24 PM
Post #2


Senior Senior Member
******

Group: Official Member
Posts: 1,507
Joined: Sep 2007
Member No: 571,541



Just put it in one of these...

its a CONTENT section or box.. it was in the Topic...making a DIV overlay layout...
CODE
<div class="content" style="position: absolute; left:#px;  top:#px; width:#px; height:#px; overflow: auto;"><center>

CONTENT HERE

</center>
</div>


This post has been edited by Da1nonlyjon: Jun 15 2008, 08:25 PM
 
Smarmosaur
post Jun 15 2008, 11:04 PM
Post #3


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



^the playlist is already in a DIV, in case you didn't even look at the freakin code.

anyways. there's two ways to do this.
1. if you have a DIV layout (that's the fancy ones with all the custom boxes and links and such), and you want to position it in a certain spot in that layout, in your codes, there's margin-left and margin-top. this determines how many pixels from the left and top of your screen that the DIV will be placed.
all you need to do is change the auto part behind margin-left and margin-top to pixels.

so they would be...
CODE
margin-left: #px; margin-top:#px;


you'll need to change each # until it's in the spot you want. this takes major trial and error, it may take a few minutes. i would suggest adding by hundreds, then move by 30s or 20s, then get down to 10s and single digits. hopefully that didn't confuse you...sorry if it did!

2. the other alternative is if you either have a normal layout and want it in a specific section, or if you want it in a certain box in a DIV layout. in either case, all you have to do is put this code in the section above or under where you want it. :]
CODE
<embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.myplaylist.org/mc/mp3player.swf?tomy=http://www.myplaylist.org/mc/config/skins/config_white_shuffle.xml&mywidth=435&myheight=270&skinurl=http://i280.photobucket.com/albums/kk193/Lithas_emotions/Tokio%20Hotel/Logo.jpg&file=http://www.myplaylist.org/loadplaylist.php?playlist=36040775" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.myplaylist.org><img src=http://www.myplaylist.org/mc/images/create_black.jpg border=0></a><a href=http://www.myplaylist.org/standalone/36040775 target=_blank><img src=http://www.myplaylist.org/mc/images/launch_black.jpg border=0></a><a href=http://www.myplaylist.org/download/36040775><img src=http://www.myplaylist.org/mc/images/get_black.jpg border=0></a>


hopefully this makes sense. obviously, post or feel free to PM me if you have questions or problems. also, if you post again, add in a link to your page, it will help us help you. wink.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: