Hopsel: Bildschrimhöhe zuteilen

Beitrag lesen

Hi Peter!

Trotzdem kann man doch nachschauen, wie das dort gemacht wurde...
Dazu muss ich die JS erstmal haben ;)

Aha... Und?
http://www.huddletogether.com/projects/lightbox/lightbox.js

Und wie?

document.getElementById("fader").style.height = document.all.docHeight.offsetHeight;
if(navigator.appName.indexOf("Microsoft Internet Explorer") != -1) document.getElementById("fader").style.height = screen.height-17;


> docHeight:  
> `<body id="docHeight" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="Init()">`{:.language-html}#  

Ich hätte nicht fragen sollen... =)  
  
Vielleicht solltest du dir den Lightbox-Code doch noch anschauen.  
  
MfG H☼psel

-- 
"It's amazing I won. I was running against peace, prosperity, and incumbency."  
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001  
  
[Selfcode](http://community.de.selfhtml.org/fanprojekte/selfcode.htm): ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)