[Laszlo-dev] Could you explain the purpose of clickdiv's?

P T Withington ptw at pobox.com
Tue Feb 17 14:40:23 PST 2009


On 2009-02-13, at 23:06EST, Max Carlson wrote:

> ) There may be side effects from setting __LZclickdiv.className =  
> 'lzclickdiv' instead of 'lzdiv'.  If you're doing this to improve  
> debugging, I'd suggest using a separate class name, maybe  
> 'lzclickdivcontainer'?  See LzInputTextSprite#__setglobalclickable()  
> which shows/hides all divs named 'lzclickdiv' in some cases.

Could one or both of you please write some documentation for the DHTML  
kernel that explains the purpose of clickdivs?

I am unable to reverse-engineer what they are trying to do.  I am  
confused by the fact that there are style classes called lzclickdiv  
and lzinputclickdiv, but they are not assigned to the divs named  
__LZclickdiv and __LZinputclickdiv. Why is __LZclickdiv given a class  
of lzdiv, and __LZinputclickdiv given a class of lzclickdiv? In fact,  
it appears that the class lzinputclickdiv is not used?  Then we have  
another element, named __LZclick, which is sometimes and image and  
sometimes a div, and is also given the class lzclickdiv.

Just a few clues would probably help me to move forward on actually  
getting scrolledittext working in DHTML.


More information about the Laszlo-dev mailing list