Lines Matching refs:el
44 InkWeb.el = function (tag, attributes) {
66 InkWeb.getStyle = function (el, att) {
67 // This method is needed because el.style is only working
69 if ( typeof(el) == "string" )
70 el = document.getElementById(el);
71 var style = el.getAttribute("style");
80 InkWeb.setStyle = function (el, att, val) {
81 if ( typeof(el) == "string" )
82 el = document.getElementById(el);
83 var style = el.getAttribute("style");
90 el.setAttribute( "style", style );
116 if ( ! conf.el.join )
117 conf.to = [ conf.el ];
120 for ( var el,elN=0; el=conf.el[elN]; elN++ ) {
121 if ( typeof(el) == "string" )
122 el = document.getElementById( el );
136 el.setAttribute( att, conf.val[i] );
138 this.setStyle( el, att, conf.val[i] );
147 var el = document.getElementById( startConf );
149 if ( typeof(startConf.el) == "string" )
150 startConf.el = document.getElementById( startConf.el );
151 var el = startConf.el;
153 if ( ! el.inkWebMoving ) {
154 el.inkWebMoving = {
158 var conf = el.inkWebMoving;
170 var startPos = el.getBBox();
173 conf.transform = el.transform.baseVal.consolidate();
175 conf.transform = el.ownerSVGElement.createSVGTransform();
177 el.transform.baseVal.clear();
178 el.transform.baseVal.appendItem(conf.transform);
184 try{ el.ownerSVGElement.forceRedraw() }
185 catch(e){ this.log(e, "this "+el.ownerSVGElement+" has no forceRedraw().") }
186 conf.timeout = setTimeout( 'InkWeb.moveElTo("'+el.id+'")', conf.sleep );
188 delete el.inkWebMoving;