chlab


Member since 02/09/2010

Name: Chris Leuenberger

Location: Switzerland

Website: http://www.chlab.ch/

3 snippets

1763 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

chlab's Recent JavaScript Snippets



« Prev 1 Next »
It’s pretty straightforward, we loop the existing Views of the ScrollableView and copy each View, replacing the one to be change, to a new array. Then we tell the ScrollableView to use our new Views-array for it’s Views. I hope this helps someon...
0 569 posted 12 years ago by chlab
We create a View with a background color, put a semi-transparent TabbedBar with empty button names on top of it, then add another layer of fully visible labels spaced to fit the TabbedBar beneath it. Everything is then wrapped in one View, which you...
0 631 posted 12 years ago by chlab
I needed to break down a long string today and insert line breaks so I wrote this little function. You can use it to split a long string into chunks of a defined length and get them as an array or join them by a defined character (e.g. <br />)....
0 739 posted 13 years ago by chlab
« Prev 1 Next »