Hide Friends and Comments:
<style>
.friendSpace {display:none}
.friendsComments {display:none}
</style>
Hide only Friends:<style>
{! Hide Friend Space !}
.friendSpace {display:none}
</style>
Next re-create what you want to keep.If all you want is a link, to view your friends, create one.
This can be done several ways.
The quick easy way is to add this to the end of the "To Meet" section:
<a href="http://friends.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=6221">View All Friends</a>
Replace Tom's Friend ID (6221) with your own. You can replace the View All Friends with any text you want.Or, you can create a custom table, just under your bio section, which neatly displays a link to view your friends, and even a header if you want, very similar to what would be left behind if you did a "Hide all of friend space except header and link".
Put this code at the end of your Bio Section:
<span class="off">!--Create Custom Table Under Meet Table With a Custom Link --!</span>
</td></tr></table>
</td></tr></table>
<br>
<table style="border:1px green solid; width:435px; "><tr><td>
<a href="http://friends.myspace.com/index.cfm?fuseaction=user.viewfriends&friendID=6221">Click Here to View My Friends</a>
</td></tr></table>
<table style="display:none"><tr><td>
<table><tr><td>
<span class="off">!^^END CUSTOM BLOCK ^^!</span>
(Change Tom's friend id, 6221, to your own. Change color and border as desired. For no border change 1px to 0px.)OR, if you must, you can remove everything except the friends area header and bottom link to view all friends.
But I think it looks much better if you just remove these, and put in your own link (as shown above).

2 comments:
This code messes up the hotspots (imagemaps)
i.e.
www.myspace.com/markymusicpage
the logo at hte bottom is suppose to be clickable, and so is his mouth.
Thanks a lot for this information i really needed to hide my comments and friends list on myPage
Post a Comment