
This user has been denied support.
Anyways back to this.
Here,
Style:
.q-collapsed {
overflow: hidden;
max-height: 150px;
position: relative;
padding-bottom: 25px;
}
.q-collapsed:after {
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
position: absolute;
height: 80px;
content: 'Show More';
bottom: 0px;
left: 1px;
right: 1px;
font-size: 11px;
line-height: 1;
text-align: center;
color: rgb(226, 79, 68);
cursor: pointer;
padding-top: 65px;
background: -webkit-linear-gradient(top, rgba(255, 244, 244, 0) 0%, rgb(244, 244, 244) 70%);
background: -moz-linear-gradient(top, rgba(255, 244, 244, 0) 0%, rgb(244, 244, 244) 70%);
background: -o-linear-gradient(top, rgba(255, 244, 244, 0) 0%, rgb(244, 244, 244) 70%);
background: linear-gradient(to bottom, rgba(255, 244, 244, 0) 0%, rgb(244, 244, 244) 70%);
-webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
}
Script:
jQuery(document).ready(function(x) {
x('blockquote').each(function() {
var a = this,
e = function() {
if (a.offsetHeight > 250) {
x(a).addClass('q-collapsed').click(function() {
x(a).off("click").removeClass('q-collapsed');
});
}
};
e();
x(this).on("elementResized", e).find("img").one("load", e);
});
});
Cuz the
quotes are hardcoded it's a pain to edit files.