DHTML-02

Back

A simulation of snow ... blue java snow ... why not? ;-))

Just searching a few, diverse sourced java scripts, you can learn what DOM features, attributes, are available used, used for ... such 'code pictures' show what can be done, and this was only looking at .style ...

vmlfw.htm
document.getElementById('ster'+i).style.visibility = 'hidden'; // 5.0 fix
document.getElementById('ster'+i).style.left = posLinks;
document.getElementById('ster0').style.top = (document.body.clientHeight - 20); 
document.getElementById('ster0').style.visibility = 'visible';
positie = parseInt(document.getElementById('ster0').style.top);
scrollu1.htm if (iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
anoclk.htm Od.style.top=window.document.body.scrollTop;
var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
tooltip1.htm
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
rgbslide.htm
else { domDisplay.style.backgroundColor = eval('"#'+r1+r2+g1+g2+b1+b2+'"'); }
shimmer1.htm
document.getElementById(id).style.color = newColour[id]; 
bg-007.htm
bgObject.style.backgroundPosition = "0 " + backgroundOffset;
bg-010.htm document.all["vjeko" + i].style.color = '#' + k;
bg-012.htm starsDiv.all[i].style.background=initialStarColor;
SLIDE03.HTM document.images.SlideShow.style.filter="blendTrans(duration=2)";
ROLL1.HTM obj.style.filter="alpha(opacity="+opacity+")";
obj.style.MozOpacity = opacity + '%';
SCROLL4.HTM ticktext.style.clip = "rect(auto "+cr+"px auto "+cl+"px)";

Back

 

 

 

 

 

Valid HTML 4.01 Transitional