i want a code that hides all my comments except for the last couple.[like 1, 2, or 3] and i still want the view all/add comment thing.
Myspace code for only showing 1, 2, or 3 comments and then hiding the rest.?
%26lt;style%26gt;
.a {hide certain number of comments}
.friendsAndComments {overflow:hidden; height:13000px; width:600px;}
.friendsAndComments table {width:100%;}
%26lt;/style%26gt;
%26lt;/td%26gt;%26lt;/tr%26gt;%26lt;/table%26gt;
%26lt;/td%26gt;%26lt;/tr%26gt;%26lt;/table%26gt;
%26lt;div class="friendsAndComments"%26gt;
%26lt;table style="display:none;"%26gt;%26lt;tr%26gt;%26lt;td%26gt;
%26lt;table%26gt;%26lt;tr%26gt;%26lt;td%26gt;
Copy and paste this code in your "id like to meet section". if its still too many comments showing (which it probably will be cause this is my personalized code) this is what you do. look at the code and you see how it says 13000 px height 300 px width? just make the numbers smaller. like change the height number to 900 instead of 13000. if it still shows too many comments keep changing the number in the code and make the number smaller until you like it. I hope I helped!
Myspace code for only showing 1, 2, or 3 comments and then hiding the rest.?
%26lt;/p%26gt;
%26lt;div style="position:relative; height:400px; overflow:hidden; border:0px;"%26gt;
%26lt;table%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;
%26lt;table%26gt;
%26lt;tr%26gt;
%26lt;td%26gt;%26lt;/DIV%26gt;
all you have to change is the height:400px
go higher then 400 and youll see more of a comment.
go lower and see less of your commenst.
No comments:
Post a Comment