Platinum Partner

Determine Screen Height

// description of your code here

..normally


var h = document.documentElement.scrollHeight;


..however in some cases (safari 3) you may have to find where something is on the screen and generate the actual screen size around that

if (($('lightbox_bottom').cumulativeOffset().top+30) > document.documentElement.scrollHeight) {
  $('sBg').style.height=$('lightbox_bottom').cumulativeOffset().top+30+'px';
}
else {
  $('sBg').style.height=document.documentElement.scrollHeight+'px';
}


30 being the height of the bottom element your using to judge.
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}