myspace 2.0 show only last comment
Show only Last Comment in Myspace 2.0
I highly recommend upgrading to myspace 2.0. This task, and most others, are so much easier in myspace 2.0
Place the following code in the CSS area of Customize Profile:
{! show only most recent comment code by Eileen xiii.us !}
div.commentsModule div.moduleBody ul.moduleList li {display:none;}
div.commentsModule div.moduleBody ul.moduleList li:first-child {display:block}
.i {display:none;}
{! end code to show only most recent comment !}
If you found my code useful, you can help others who search for this solution in google, by adding the following block to your about me or interests area.
This will not show a visible link on your myspace page, it will only be visible to those who read your code.
<a class=i href="http://xiii.us/ms1/">myspace 2.0 show only last comment</a>
If you want to show fewer then 50 comments, but show more then one, it is a bit trickier.
Myspace removes any attempt to use the + within the css area, which would have been idea for this task.
IE does not recognize the nth child selector and most people use IE.
If you want to show X pixels worth of comments, that is easy.
This is still superior to the similar technique used in myspace 1.0 because we can really start measuring at the top of the actual comments, eliminating the need to know the height of anything above the actual comments.
The following code will show 200px worth of actual comments (not including any of the headers).
{! show fewer then 50 comments code by Eileen xiii.us !}
div.commentsModule div.moduleBody ul.moduleList {height:200px; overflow:hidden;}
.i {display:none;}
{! end code to show only most recent comment !}
Change the 200 to the px height of comments you want to show.
7 Comments:
hello... hapi blogging... have a nice day! just visiting here....
is there a code to show all comments
omg please help !!!
my upcoming events are away!!!?? =S
Please help
xcarmen66@yahoo.de
There's an even easier way to do this - When you're in the customise profile section, you can edit the settings of the comments module. There, you can choose how many comments to display (1 - 50) :)
hi.. just dropping by here... have a nice day! http://kantahanan.blogspot.com/
Great code to upgrade of Myspace and this post is just like a magic i personally feeling so good because i am a regular MySpace user!
so, thanks for helping me a lot..
- J.
Web Designing
Thanks for sharing.
Post a Comment
Due to Excessive Spam, I have turned on comment moderation.
Links to this post:
Create a Link
<< Home