[Proto-Scripty] Re: Handle an Event or Element in one function (or alias)?

2012-02-26 Thread goldenmean
I don't see any binding going on, so I think you have to be very careful with your use of the term "this". In your second example: tabs.invoke('observe','click', function(evt){ this.setTab(); } ); The term "this" refers to the element, so it works. When you invoke "this.setTab()", you have given

[Proto-Scripty] Re: Determine relative left position for a table cell

2012-02-03 Thread goldenmean
Do you mean to say that you need to know how many pixels the left edge of the table cell is from the left edge of the table itself? Try this example: XYZ var someOffset = $('cell').relativeTo($('container')); var someLeft = someOffset.left; -- You received this message because you are subsc