xhells21
07-25-2016, 03:00 AM
Hi Forums!
I have added a scroll-bar to signatures that exceed a 250px limit.
Though, I really like the way this works, Q #1: is it possible to hide the scrollbars when this limit has not been reached? See image below:
http://image.prntscr.com/image/47b1cb5dd65e4c4abdbe815250f37907.png
Quesion 2: The scrollbar for width always shows as well, is it possible to only show the side scroll-bar?
Code used:
.signaturecontainer {
max-height:250px;
_height: expression(this.scrollHeight > 250? "250px" : "auto" );
overflow:scroll;
}
Any help is appreciated! Thank you.
I have added a scroll-bar to signatures that exceed a 250px limit.
Though, I really like the way this works, Q #1: is it possible to hide the scrollbars when this limit has not been reached? See image below:
http://image.prntscr.com/image/47b1cb5dd65e4c4abdbe815250f37907.png
Quesion 2: The scrollbar for width always shows as well, is it possible to only show the side scroll-bar?
Code used:
.signaturecontainer {
max-height:250px;
_height: expression(this.scrollHeight > 250? "250px" : "auto" );
overflow:scroll;
}
Any help is appreciated! Thank you.