(function(window,document){ var cs2d = function(selector,options){ return new cs2d.fn.init(selector,options); }; cs2d.fn = cs2d.prototype = { init : function(selector,options){ var s = this, // 父容器 dom p = cs2d.is_el(selector)?selector:document.query…