Prilace
Instant Message
Send Message
|
Posted:
July 10, 2007 4:30 PM
Myspace hasnt updated the default picture link to lead to the View Albums page for artist profiles yet, so this set of code will show you how to hide the default picture and replace it with a default picture that WILL lead to the View Albums page instead of the View All Pictures page.
Make sure to replace the XXXX in the code with your friend ID, and replace the URL in the code with the URL for your default picture.
You will also need to adjust the TOP and MARGIN-LEFT numbers to position it correctly inside of the top left box on your page.
<style>
.a {http://abrax.us/bbz/ArtistAlbumPics.htm}
td td td td.text a {visibility:hidden;}
.contactTable td.text a {visibility:visible;}
.ViewAlbums {position:absolute; left:50%; top:190px; margin-left:-360px;}
</style>
<div class="ViewAlbums">
<a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=XXXX"> <img src="URL"></a>
</div>
|