comments, need help?? |
![]() ![]() |
comments, need help?? |
Dec 29 2007, 12:21 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 11 Joined: Jul 2007 Member No: 544,562 |
Well, usually myspace comments say "Display 50 of 4549584". Well on a profile i saw that it said "Display 3 of 45454545". Whats the code to display less comments on the page, so that it appears as ""Display 3 of 45454545"???
please help. |
|
|
|
Dec 29 2007, 10:54 AM
Post
#2
|
|
![]() always<3. ![]() ![]() ![]() ![]() Group: Official Designer Posts: 242 Joined: Mar 2006 Member No: 387,714 |
is that possible without using javascript? you can try using overflow.
http://www.createblog.com/scripts/script.php?id=617 however, you have to change from CODE overflow:auto; to CODE overflow:hidden; but you'd have to change it everytime someone makes a comment on your page. or i guess you can try editing the comments itself? like the height. i'm still a rookie so you can try but i'm not 100% sure. |
|
|
|
Dec 30 2007, 05:27 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 11 Joined: Jul 2007 Member No: 544,562 |
hmm that didn't work. thanks anywayss.
anyone else?? please help. |
|
|
|
Dec 30 2007, 06:06 PM
Post
#4
|
|
![]() always<3. ![]() ![]() ![]() ![]() Group: Official Designer Posts: 242 Joined: Mar 2006 Member No: 387,714 |
oh. wait. do you mean displaying only 3 comments. or it just says "display 3"
|
|
|
|
Dec 30 2007, 06:49 PM
Post
#5
|
|
|
Member ![]() ![]() Group: Member Posts: 11 Joined: Jul 2007 Member No: 544,562 |
yeahh like both, like it displays 3 comments and says "displaying 3 comments" instead of "displaying 50 comments".
|
|
|
|
Dec 31 2007, 05:06 PM
Post
#6
|
|
|
Member ![]() ![]() Group: Member Posts: 11 Joined: Jul 2007 Member No: 544,562 |
does anyone know how??
|
|
|
|
Dec 31 2007, 05:12 PM
Post
#7
|
|
|
AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 |
if you can find a profile with that and you're pretty handy with HTML and such, you could view the source and look through the codes for something that looks like it's doing that.
or you could even give us a couple links and i'm sure somebody would gladly look through the source. maybe they did it themselves and it's a custom comment thing? p.s.-don't double post, just wait. :] |
|
|
|
Dec 31 2007, 08:17 PM
Post
#8
|
|
![]() always<3. ![]() ![]() ![]() ![]() Group: Official Designer Posts: 242 Joined: Mar 2006 Member No: 387,714 |
you can search through google. i found it once but i don't know where the site anymore.
|
|
|
|
Dec 31 2007, 08:23 PM
Post
#9
|
|
![]() Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,918 Joined: Jun 2007 Member No: 538,522 |
The only way to do what you wish to is to specify a length which will show only the first few comments. Something like this:
CODE <style> .friendsAndComments {overflow:hidden; height:900px; width:435px;} .friendsAndComments table {width:100%;} </style> </td></tr></table> </td></tr></table> <div class="friendsAndComments"> <table style="display:none;"><tr><td> <table><tr><td> Changing the pixel height will increase or decrease the amount of comments that are viewable on your Myspace page. |
|
|
|
Dec 31 2007, 10:40 PM
Post
#10
|
|
![]() always<3. ![]() ![]() ![]() ![]() Group: Official Designer Posts: 242 Joined: Mar 2006 Member No: 387,714 |
omgstfu is also asking how to change the number for "Displaying # of # comments".
this will hide it CODE <style> .friendscomments b{display:block;} </style> and then you can create a div with transparent background CODE <div style="background-color:transparent; position:absolute; top:##px; left:##px;">Displaying # of # comments</div> and change the ## to position where you want it to show. also change the # to how many comments are shown. there's one for friends but i don't think it's possible for comments. |
|
|
|
![]() ![]() |