Log In · Register

 
Top banner - flash?
apache13
post Apr 10 2009, 12:40 PM
Post #1


Member
**

Group: Member
Posts: 23
Joined: Apr 2009
Member No: 722,925



Hey guys – I have very limited knowledge of css. Spent the last few days doing tutorials learning how to customize myspace pages for profile 1. Now I have my first myspace client and the code for the top banner does not work. My original code works great in the about me section in myspace profile 1. With this new client it is profile 2 and it has to be pasted in the css section. Question is how do I change the image line to embed the flash swf? Appreciate the help - Here is the script for css to get an image as the top banner.

CODE
div.contentTop {
height: 500px;
background-repeat: no-repeat;
background-position: top center;
background-image:url(url);
}
Reason for edit: Please use [ ]s instead of <>s when using code tags. - Mike
 
 
Start new topic
Replies (1 - 5)
apache13
post Apr 10 2009, 03:05 PM
Post #2


Member
**

Group: Member
Posts: 23
Joined: Apr 2009
Member No: 722,925



Thanks for the fast reply :) I am still confused how to embed the swf - here is my try

CODE
div.basicInfoModule {padding-top:260px;}
.topbanner {position:absolute; top:210px; left:50%; margin-left:-460px;}

<p class="topbanner"><div class="header"><center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="600" width="100%">
  <param name="allowScriptAccess" value="never" />
  <param name="allowNetworking" value="internal" />
  <param name="movie" value="url.swf" />
  <param name="wmode" value="transparent" />
  <param name="quality" value="high" />
<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="url.swf" height="600" width="100%" wmode="transparent" quality="high" />
</object>
</center></div>

<div class="masthead"><span></span></div>
 
apache13
post Apr 11 2009, 04:00 PM
Post #3


Member
**

Group: Member
Posts: 23
Joined: Apr 2009
Member No: 722,925



YOU ROCK!!! It is showing up but the wrong size and over the profile picture section - take a look www.myspace.com/465244323
 
Mickey
post Apr 11 2009, 05:04 PM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Look for this in your stylesheet codes:

CODE
.topbanner {position:absolute; top:400px; left:50%; margin-left:-460px;}

Replace it with this:

CODE
.topbanner {position:absolute; top:400px; left:50%; margin-left:-375px; text-align:center;}

Play around with the value of the top attribute until it's positioned where you want it. Also, look for this bit of code in your About Me section:

CODE
<p class="topbanner"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="500" width="100%">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.imediastudios.com/lmyspace/slide.swf" />
<param name="wmode" value="transparent" />
<param name="quality" value="high" />

<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.imediastudios.com/lmyspace/slide.swf" height="500" width="100%" wmode="transparent" quality="high" />
</object></p>

Replace both height values with 191 and see if that helps. Scroll to the right and you'll see underlined text, if you don't know what I mean.
 
apache13
post Apr 11 2009, 11:51 PM
Post #5


Member
**

Group: Member
Posts: 23
Joined: Apr 2009
Member No: 722,925



That worked out great :) Thanks for all the help!!!!!
 
manny-the-dino
post Apr 11 2009, 11:56 PM
Post #6


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved
 

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