limit number of items on profile page too; add show more back to Frost mobile; some show more fixes

This commit is contained in:
Zach Prezkuta 2012-08-26 15:21:26 -06:00
parent 0765ab5203
commit c681e69794
8 changed files with 39 additions and 21 deletions

View file

@ -350,7 +350,7 @@
/* autocomplete @nicknames */
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
/*var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; });
var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; });
var bimgcount = bimgs.length;
if (bimgcount) {
@ -363,12 +363,12 @@
});
} else {
collapseHeight();
}*/
}
});
}
/* function collapseHeight() {
function collapseHeight() {
$j(".wall-item-body").each(function() {
if($j(this).height() > 310) {
if(! $j(this).hasClass('divmore')) {
@ -377,7 +377,7 @@
}
}
});
}*/
}
function imgbright(node) {
$j(node).removeClass("drophide").addClass("drop");

File diff suppressed because one or more lines are too long

View file

@ -1347,6 +1347,11 @@ input#dfrn-url {
max-width: 280px;
}
.divgrow-showmore {
display: block;
clear: both;
}
.wall-item-title {
float: left;

View file

@ -4,7 +4,7 @@
* Name: Frost--mobile version
* Description: Like frosted glass
* Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
* Version: Version 0.2.9
* Version: Version 0.2.10
* Author: Zach P <techcity@f.shmuz.in>
* Maintainer: Zach P <techcity@f.shmuz.in>
*/
@ -27,5 +27,6 @@ function frost_mobile_init(&$a) {
$a->videowidth = 250;
$a->videoheight = 200;
$a->theme_thread_allow = false;
$a->force_max_items = 10;
}