These days have been studying JS and wrote some public classes. Today, I finally completed the first more interested control, but I haven't conducted code optimization yet.
Example here: http://www.szdw.com.cn/tonton/element/tabstrip.htm