How to leave the% div with% s with the same size as the div result777
?
<script>
$( "#result777" ).load(function() {
if ( $("#publicidade").height() == "390px"){
var altura3 = $("#publicidade").height();
}
else
{
var altura3 = "390px";
}
});
</script>
<script>
$( document ).ready(function() {
$('#result777').slimScroll({
position: 'right',
color: '#748392',
height: altura3,
width: '310px',
railVisible: true,
alwaysVisible: false,
railColor: '#fff',
});
});
</script>