Help - Search - Members - Calendar
Full Version: Showing friends & comments in Div
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
NexusP
I created my myspace layout using Divs..

I have a comment area with just the comments showing, but i would like to add my friends there.. How should i modify the following code to do this..

My site is www.myspace.com/justkof

[/b]About Me
CODE
<style type="text/css">
.btext {display:none;}
.contacttable {display:none;}
.lightbluetext8 {display:none;}
.nametext {display:none;}
.orangetext15 {display:none;}
.redlink {display:none;}
.whitetext12 {display:none;}
.hidethem {visibility:hidden; display:none;}
.comments {width:#px; overflow: none;}
.comments table {background-color: transparent;margin-top: -3px;}
.comments td {font-color: FFFFFF; font-size: 11px; font-family: verdana; background-color: A3AEB0}
table table td.text table td.text tbody table tbody td table td {display: none;}
td.text td.text table table table, td.text td.text table br, td.text td.text table .orangetext15, td.text td.text .redlink, td.text td.text span.btext {display:none;}
td.text td.text table {background-color:transparent;}
td.text td.text table td, td.text td.text table {height:0;padding:0;border:0;}
td.text td.text table table td {padding:3;}
td.text td.text table table br {display:inline;}
td.text td.text table td {font-size:0pt;}td.text td.text {height:0;}td.text td.text table b, td.text td.text table table td {font-size:8pt;}
.profile {
background-color:6a898e;
border: none;
padding: 20px;
position:absolute;
left:50%;
margin-left:-400px;
top:155px;
height:650px;
width:800px;
z-index:1;
}
.layout {
background-color:6a898e;
border:none;
padding: 18px;
position:absolute;
left:50%;
margin-left:-405px;
top:155px;
z-index:2;
}
.aboutme {
background-color:A3AEB0;
border:none;
font-family:verdana;
font-size:11px;
font-weight:none;
color:black;
padding: none;
position:absolute;
left:50%;
margin-left:-5px;
top:254px;
z-index:3;
height:200px;
width:350px;
overflow:auto;
}

.info {
background-color:A3AEB0;
border:none;
font-family:verdana;
font-size:11px;
font-weight:bold;
color:black;
padding: none;
position:absolute;
left:50%;
margin-left:-5px;
top:510px;
z-index:3;
height:175px;
width:350px;
overflow:auto;
}
.commentbox {
position:absolute;
left:50%;
margin-left:-368px;
height:200px;
width:345px;
top:842px;
z-index:3;
}
.mp3 {
position:absolute;
left:50%;
margin-left:-15px;
top:780px;
z-index:3;
}

body {
background-color:6a898e;
}
table tr td {
background-color:6a898e;
}
</style>



[b]I'd Like to meet

CODE
<div class="aboutme"><b>First, let me start by saying that i am officialy a Crackspace addict.  I swear i can kick this habit anytime.  Really i can. Really.  
<br></br>
Now on to the purpose of you wasting precious minutes of your life reading my drivel..  I am Kofi Barnes, you can Just call me Kof (you thought that there was a deeper meaning behind the JutKof moniker didn't you?). I am a straight and single 28 year old african american guy. I am on here to showcase my talents as well as meet and greet some new, and old friends.
<br></br>
I currently reside in Brooklyn NY. I am presently employed as IT Consultant for a non-profit organization (I know the feeling).
<br></br>
I have an ever increasing passion for Web and Graphics Design.  My next mission is to nurture my love for photography.  No mission is ever over. I recently graduated from TCI with an Associate’s in Networking (Better late then never).
<br></br>
I make it my business to focus on all potential opportunities.  I know that I can't do it all, but who said I couldn't try? </b>
<br><br>
<font size = 2><b>My Specs?</b></font size> <br>
Sign: Aqurius <br>
Build: Slim (less to love)
<br><br>
<B><font size = 2>Music..</font size> Now Listing To… </B><br>
Nasir Jones, Ms. On and On Badu, Outkast, Zion I, Mark Farina, Thievery Corporation, Jimpster, Julie Dexter, The Roots, Jill Scott, Sade, Cold Play (that’s right, I said it). Kanye West, Common.
<br><br>
Genres that I delve into:</b> Some Rock, Hard Rock, Jazz Blends, Neo Soul Blends, Selective Hip-Hop (no overly ignent stuff). Deep House, Ambient,Afro Beat..

<br><br>
<b><font size = 2>Movies..</font size> Joints that i can watch over and over and....</b><br>
Five Deadly Venoms, The Storm Troopers, Beetlejuice, Starship Troopers, Love and Basketball (yeah I said it, that's my joint), Les Miserables, Higher Learning, Platoon, Red Dawn, Cooley High, The Warriors, Blade Runner, Leon (Aka The Professional, Dark City, Shuan of the Dead, Usual Suspects...
<br><br>
<b><font size = 2>Television</font size></b> couch Potato Mode <br>
Lost, Seinfeld, The Wire, 24, chappell's show, The Daily Show, Wild -N- Out, Martin, Fresh Prince, CowBoy Bebop,Batman Series (one on fox).
<br><br>
<b><font size = 2>Books</font size></b> All that I read is technical stuff and tidbits of information pertaining to nothing and everything online just to say, “I Knew That” (I really should expand my selection).
<br><br>
<b><font size = 2>Heroes</font size></b>    My pops... That dude did it all and he's still going. Musician, Craftsman, Audio Engineer, Computer Technician, Dancer. I can only attempt to add of to his level of sophitication.
</font size>
</div>

<div class="info">
<center><b><font size = 3>Current Projects</font size></b>
<br> <font size = 1>(All Graphics and Web Development was done by me except Amped The Magzine, which was a collaborative effort in which i contributed through graphics consultation and web development)</font size>
<br><br>
<a href="http://www.ampedmag.com" alt="Visit Amped The Magazine" target="_blank"><img src="http://www.ampedmag.com/kof/amped.jpg" height="110" width="150"  border="0"></a>
<a href="http://www.stevewallacemusic.com" alt="stevewallacemusic.com" target="_blank"><img src="http://www.ampedmag.com/kof/SteveWallace.jpg" height="94" width="150"  border="0"></a>
<br><br>
<a href="http://www.theycallmeletha.com" alt="theycallmeletha.com" target="_blank"><img src="http://www.ampedmag.com/kof/letha.jpg" height="110" width="150"  border="0"></a>
<a href="http://www.officialflavaz.com" alt="officialflavaz.com" target="_blank"><img src="http://www.ampedmag.com/kof/OF.jpg" height="112" width="150"  border="0"></a>
<a href="http://www.soundmindz.org" alt="soundmindz.com" target="_blank"><img src="http://www.ampedmag.com/kof/soundmindz.jpg" height="110" width="150"  border="0"></a>
<br><br><br></br>
<b><font size = 3>Coming Soon</font size></b>
<br><br>
<a href="http://www.supremearsenal.com" alt="supremearsenal.com" target="_blank"><img src="http://www.ampedmag.com/kof/Supreme.jpg" height="110" width="150"  border="0"></a>
<a href="http://www.cliquecalm.com" alt="cliquecalm.com" target="_blank"><img src="http://www.ampedmag.com/kof/clique.jpg" height="106" width="150"  border="0"></a>
<br><br>
<a href="http://www.ampedmag.com/kof/brownstonelarge.jpg" alt="Brownstone Stationery" target="_blank"><img src="http://www.ampedmag.com/kof/brownstone.jpg" height="94" width="150"  border="0"></a>
<br><br>
</center>
</div>

<div class="layout">
<img src="http://www.ampedmag.com/kof/kof.jpg" width="780" height="1289" border="0" alt="" usemap="#kof_Map">
<map name="kof_Map">
<area shape="poly" alt="Block User" coords="707,859, 708,869, 753,868, 753,849, 706,851" href="http://collect.myspace.com/index.cfm?fuseaction=block.blockUser&userID=80509782" target="_self">
<area shape="poly" alt="View All Pictures" coords="627,859, 629,878, 692,869, 692,859" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=80509782" target="_self">
<area shape="poly" alt="Add to Group" coords="569,869, 572,878, 618,878, 613,859" href="http://groups.myspace.com/index.cfm?fuseaction=groups.addtogroup&friendID=80509782" target="_self">
<area shape="poly" alt="Forward to Friend" coords="491,869, 491,887, 560,878, 558,869" href="http://mail.myspace.com/index.cfm?fuseaction=mail.forward&friendID=80509782&f=forwardprofile" target="_self">
<area shape="poly" alt="Send Message" coords="418,875, 418,887, 478,885, 483,885, 481,869" href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=80509782" target="_self">
<area shape="poly" alt="Add to Friends" coords="745,559, 753,575, 745,592, 466,600, 453,589, 463,572" href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=80509782" target="_self">
</map></DIV>

<DIV class="commentbox"><center> <form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"> <input type="hidden" name="friendID" value="80509782"><textarea name="f_comments" cols="40" rows="8">Hit me up</textarea><br> <input type="submit" value="Comment"> <input type="reset" value="Clear"></form><br> </center> <style type="text/css"> textarea {background-color:889C9D; background-image:url(); border-width:1px; border-style:solid; border-color:black; color:$ttc; font-family:;} input {background-color:black; border-width:1px; border-style:solid; border-color:black; color:white; font-family:;} </style></center>
</DIV>

<div class=mp3><center><embed allowScriptAccess="never" allowNetworking="internal" enableJavaScript="false"                                                       src="http://www.myflashfetish.com/player.swf?myid=443589" menu="false" quality="best" scale="noscale" bgcolor="#ffffff" wmode="transparent" width="218" height="150" name="MyFlashFetish.com" align="middle" allowScriptAccess="never" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></center></div>

<div class="comments" style="overflow:auto; width: 680px; height:230px; position: absolute; top:1150px; margin-left: -320px;z-index:3; background-color:transparent;"><center><table><table><tbody><tr><td><table></center></div>

<DIV class="comments"><table><tr><td><table><tr><td>
freeflow
Take this out:
QUOTE
td.text td.text table table table, td.text td.text table br, td.text td.text table .orangetext15, td.text td.text .redlink, td.text td.text span.btext {display:none;}
NexusP
Thanks.. Taking out what you suggested only allowed for the view friends link to show.

CODE
table table td.text table td.text tbody table tbody td table td {display: none;}
td.text td.text table table table, td.text td.text table br, td.text td.text table .orangetext15, td.text td.text .redlink, td.text td.text span.btext {display:none;}


I had to take out a bit more code to view actual friends.. This info should come in handy for future projects, but I decided to use a view friends button instead.. I wan't to keep the layout as clean as possible..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.