| |
Changes to Body |
- | .skype_tb_injection {
| + | <br />
|
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 11px; BACKGROUND: no-repeat 0px 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WORD-SPACING: normal; BORDER-LEFT: 0px; CURSOR: hand; COLOR: #333333; TEXT-INDENT: 0px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; WHITE-SPACE: nowrap; LETTER-SPACING: 0px; HEIGHT: 16px! important; TEXT-ALIGN: left; WORD-WRAP: break-word
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_injectionIn {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 11px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_m.compat.gif) repeat-x 0px 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; CURSOR: hand; COLOR: #333333; TEXT-INDENT: 0px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica, sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important; TEXT-ALIGN: left
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_innerText {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 11px; BACKGROUND: none transparent scroll repeat 0% 0%; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; CURSOR: hand; COLOR: #333333! important; TEXT-INDENT: 0px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica, sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important; TEXT-ALIGN: left
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_img {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; LETTER-SPACING: 0px; POSITION: relative; TOP: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_img2 {
| + | |
- | BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: white 1px solid; DISPLAY: inline! important; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: white 1px solid; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: white 1px solid; LETTER-SPACING: 0px; POSITION: relative; TOP: 1px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgFlag {
| + | |
- | BORDER-RIGHT: white 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: white 0px solid; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: no-repeat 7px 2px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: white 0px solid; WIDTH: 24px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: white 0px solid; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 15px
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgFlagAct {
| + | |
- | BORDER-RIGHT: white 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: white 0px solid; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: no-repeat 8px 3px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: white 0px solid; WIDTH: 24px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: white 0px solid; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 15px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgA {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 33px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgS {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s.compat.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 6px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgS_stat {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s_stat.compat.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 1px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgS_noflag {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s_noflag.compat.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 6px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgS_stat_noflag {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s_stat_noflag.compat.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 6px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgR {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_r.compat.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 19px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | .skype_tb_injection .skype_tb_imgRfax {
| + | |
- | BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; DISPLAY: inline! important; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9px; BACKGROUND: url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_r.compat_fax.gif) no-repeat 0px 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; WIDTH: 19px; LINE-HEIGHT: normal; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-STYLE: normal; FONT-FAMILY: Tahoma,Verdana,Arial,Helvetica,sans-serif; LETTER-SPACING: 0px; HEIGHT: 16px! important
| + | |
- | }
| + | |
- | #skype_menu {
| + | |
- | BORDER-RIGHT: #666666 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #666666 1px solid; PADDING-LEFT: 5px; Z-INDEX: 101; BACKGROUND: #ffffe1; LEFT: 0px; VISIBILITY: hidden; PADDING-BOTTOM: 3px; MARGIN: 0px; FONT: menu; BORDER-LEFT: #666666 1px solid; WIDTH: auto; CURSOR: pointer; COLOR: #333333; PADDING-TOP: 3px; BORDER-BOTTOM: #666666 1px solid; POSITION: absolute; TOP: 0px
| + | |
- | }
| + | |
- | #skype_dropdown {
| + | |
- | BORDER-RIGHT: #666666 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #666666 1px solid; PADDING-LEFT: 2px; Z-INDEX: 101; BACKGROUND: #ffffff; LEFT: 0px; VISIBILITY: hidden; PADDING-BOTTOM: 2px; MARGIN: 0px; FONT: menu; BORDER-LEFT: #666666 1px solid; WIDTH: auto; CURSOR: hand; COLOR: #333333; PADDING-TOP: 2px; BORDER-BOTTOM: #666666 1px solid; POSITION: absolute; TOP: 0px
| + | |
- | }
| + | |
- | #skype_frame {
| + | |
- | DISPLAY: none; Z-INDEX: 100; LEFT: 0px; MARGIN: 0px; POSITION: absolute; TOP: 0px
| + | |
- | }
| + | |
- | body {margin:8px} .tr-field {font:normal x-small arial}var skype_tb_tool=null, skype_curid=0, skype_menu=null, skype_frame=null, skype_hintActive=false, skype_overflag=false;
| + | |
- | function skype_checkStyle() {
| + | |
- | var o = document.getElementById('skype_tb_style');
| + | |
- | if(o == null)
| + | |
- | alert('DEBUG: we are not here!');
| + | |
- | else
| + | |
- | alert('DEBUG: we are here! Path:\n' + o.href);
| + | |
- | }
| + | |
- | function skype_tb_init(t) {
| + | |
- | skype_tb_tool=t;
| + | |
- | }
| + | |
- | function skype_tb_createFlag(params) {
| + | |
- | var o = document.createElement('DIV');
| + | |
- | o.setAttribute("id","skype_menu");
| + | |
- | o.innerHTML="\u0054\u0068\u0065\u0020\u0064\u0069\u0061\u006c\u0069\u006e\u0067\u0020\u0070\u0072\u0065\u0066\u0069\u0078\u0020\u0066\u006f\u0072\u0020\u0074\u0068\u0069\u0073\u0020\u006e\u0075\u006d\u0062\u0065\u0072\u0020\u0063\u0061\u006e\u006e\u006f\u0074\u0020\u0062\u0065\u0020\u0063\u0068\u0061\u006e\u0067\u0065\u0064";
| + | |
- | return o;
| + | |
- | }
| + | |
- | function skype_tb_showFlagHint(obj,id) {
| + | |
- | skype_tb_showHint(obj,id,'',skype_tb_createFlag,true);
| + | |
- | }
| + | |
- | function skype_tb_Drop(obj,id,params) {
| + | |
- | if(skype_tb_tool) {
| + | |
- | var x=0, y=0, z=0, attr=0;
| + | |
- | if(obj) {
| + | |
- | var pos=skype_tb_calcSpanPos(obj,1); x=pos[0]; y=pos[1]; z=pos[2]; attr=pos[3];
| + | |
- | }
| + | |
- | skype_tb_tool.ShowDropdownMenu(document,id,x,y,z,attr);
| + | |
- | }
| + | |
- | }
| + | |
- | function skype_tb_SwitchDrop(obj,id,params) { //-- show/hide the menu depending on the current visibility state
| + | |
- | try {
| + | |
- | if(event)
| + | |
- | event.cancelBubble=true;
| + | |
- | skype_tb_Drop(obj,id,params);
| + | |
- | } catch(e) {
| + | |
- | window.status = e;
| + | |
- | }
| + | |
- | }
| + | |
- | function skype_tb_stopEvents() {
| + | |
- | if(event)
| + | |
- | event.cancelBubble=true;
| + | |
- | return false;
| + | |
- | }
| + | |
- | function skype_tb_CalcInnerPos(obj) {
| + | |
- | var brd=obj.getBoundingClientRect();
| + | |
- | var pcx=brd.left, pcy=brd.top;
| + | |
- | //-- check IE version major number
| + | |
- | var re = /MSIE (\d+).(\d+)/;
| + | |
- | navigator.appVersion.search(re);
| + | |
- | var navMajVer = RegExp.$1;
| + | |
- | //-- calc the position and show it
| + | |
- | bNew=(navMajVer>=6 && document.compatMode!="BackCompat");
| + | |
- | var docelem = (bNew) ? document.documentElement : document.body;
| + | |
- | var scrollY=docelem.scrollTop, scrollX=docelem.scrollLeft;
| + | |
- | var my=pcy+scrollY, mx=pcx+scrollX, mby=docelem.clientHeight+scrollY, mbx=docelem.clientWidth+scrollX;
| + | |
- | if(my>mby) my=mby;
| + | |
- | if(my<scrollY) my=scrollY;
| + | |
- | if(mx>mbx) mx=mbx;
| + | |
- | if(mx<scrollX) mx=scrollX;
| + | |
- | return Array(mx,my);
| + | |
- | }
| + | |
- | function skype_tb_showHint(obj,id,params,createHintFunc,showAbove) {
| + | |
- | if(event)
| + | |
- | event.cancelBubble=true;
| + | |
- | skype_hintActive=true;
| + | |
- | // if(skype_menu && skype_menu.style.visibility!="hidden" && skype_curid==id)
| + | |
- | // return;
| + | |
- | skype_curid=id;
| + | |
- | //-- hide any show currently hint
| + | |
- | skype_tb_hideHint(true);
| + | |
- | skype_hintActive=true;
| + | |
- | //-- create tooltip's div
| + | |
- | skype_menu = createHintFunc(params);
| + | |
- | document.body.appendChild(skype_menu);
| + | |
- | skype_menu.style.visibility="visible";
| + | |
- | //-- create underlying frame
| + | |
- | skype_frame=document.createElement('IFRAME');
| + | |
- | skype_frame.setAttribute("id","skype_frame");
| + | |
- | skype_frame.src="about:blank";
| + | |
- | skype_frame.frameBorder=0;
| + | |
- | skype_frame.scrolling='no';
| + | |
- | document.body.appendChild(skype_frame);
| + | |
- | //-- calc inner pos
| + | |
- | var oip=skype_tb_CalcInnerPos(obj);
| + | |
- | var mx=oip[0], my=oip[1];
| + | |
- | skype_menu.style.left=mx;
| + | |
- | //-- show above or under
| + | |
- | if(showAbove) {
| + | |
- | skype_menu.style.top=my-obj.clientHeight;
| + | |
- | var mbrd=skype_menu.getBoundingClientRect();
| + | |
- | if(mbrd.bottom>pcy)
| + | |
- | skype_menu.style.top=(my-obj.clientHeight)-(mbrd.bottom-pcy);
| + | |
- | } else {
| + | |
- | skype_menu.style.top=my+obj.clientHeight;
| + | |
- | }
| + | |
- | //-- pose the frame right under the tooltip
| + | |
- | skype_frame.style.left=skype_menu.style.left;
| + | |
- | skype_frame.style.top=skype_menu.style.top;
| + | |
- | skype_frame.style.height=skype_menu.clientHeight+2;
| + | |
- | skype_frame.style.width=skype_menu.clientWidth+2;
| + | |
- | skype_frame.style.display="block";
| + | |
- | }
| + | |
- | function skype_tb_hideHintWait() {
| + | |
- | if(!skype_menu)
| + | |
- | return;
| + | |
- | skype_hintActive=false;
| + | |
- | setTimeout('skype_tb_hideHint(false);',1000);
| + | |
- | }
| + | |
- | function skype_tb_hideHint(force) {
| + | |
- | if(!force && skype_hintActive)
| + | |
- | return;
| + | |
- | skype_hintActive=false;
| + | |
- | if(skype_menu) {
| + | |
- | document.body.removeChild(skype_menu);
| + | |
- | skype_menu=null;
| + | |
- | }
| + | |
- | if(skype_frame) {
| + | |
- | document.body.removeChild(skype_frame);
| + | |
- | skype_frame=null;
| + | |
- | }
| + | |
- | skype_tb_tool.HideDropdownMenu();
| + | |
- | }
| + | |
- | function skype_tb_setBack(obj,color) {
| + | |
- | if(obj && obj.tagName=='TR')
| + | |
- | obj.lastChild.style.backgroundColor = color;
| + | |
- | }
| + | |
- | function skype_tb_onDropOver(obj) {
| + | |
- | skype_hintActive=true;
| + | |
- | skype_tb_setBack(obj,"#DFDFDF");
| + | |
- | }
| + | |
- | function skype_tb_onDropOut(obj) {
| + | |
- | skype_tb_hideHintWait();
| + | |
- | skype_tb_setBack(obj,"");
| + | |
- | }
| + | |
- | function skype_tb_doRunCMD(link,id,obj,lvl) {
| + | |
- | var x=0, y=0, z=0;
| + | |
- | if(obj) {
| + | |
- | var pos=skype_tb_calcDropPos(obj,lvl); x=pos[0]; y=pos[1]; z=pos[2];
| + | |
- | }
| + | |
- | document.location.href="about:blank"+"/skype_tb/"+link+"/"+id+"/"+x+"/"+y+"/"+z;
| + | |
- | }
| + | |
- | function skype_tb_runCMD(link) {
| + | |
- | skype_tb_hideHint(true);
| + | |
- | skype_tb_doRunCMD(link,skype_curid,null);
| + | |
- | }
| + | |
- | function skype_tb_doHandleChdial(obj,edyn,id,lvl) {
| + | |
- | if(event)
| + | |
- | event.cancelBubble = true;
| + | |
- | // if(edyn)
| + | |
- | skype_tb_doRunCMD('chdial',id,obj,lvl);
| + | |
- | // else
| + | |
- | // skype_tb_showFlagHint(obj,id);
| + | |
- | }
| + | |
- | function skype_tb_calcDropPos(obj,lvl) {
| + | |
- | return skype_tb_calcObjPos(obj,lvl,'skype_tb_droppart');
| + | |
- | }
| + | |
- | function skype_tb_calcSpanPos(obj,lvl) {
| + | |
- | return skype_tb_calcObjPos(obj,lvl,'softomate_highlig');
| + | |
- | }
| + | |
- | function skype_tb_calcObjPos(obj,lvl,prefix) {
| + | |
- | if(!event)
| + | |
- | return Array(0,0,0);
| + | |
- | var objPos=event.srcElement;
| + | |
- | var brd=objPos.getBoundingClientRect();
| + | |
- | var cx=event.clientX-brd.left, cy=event.clientY-brd.top;
| + | |
- | var sx=event.screenX-cx, sy=event.screenY-cy;
| + | |
- | while(objPos.id.substr(0,17) != prefix) {
| + | |
- | var brd1=objPos.getBoundingClientRect();
| + | |
- | objPos=objPos.parentElement;
| + | |
- | var brd2=objPos.getBoundingClientRect();
| + | |
- | sx+=brd2.left-brd1.left;
| + | |
- | sy+=brd2.top-brd1.top;
| + | |
- | }
| + | |
- | //Maq: need normal resolve
| + | |
- | var attr=0;//objPos.getAttribute('IamRTL')
| + | |
- | var brd=objPos.getBoundingClientRect();
| + | |
- | var h=brd.bottom-brd.top;
| + | |
- | sy+=h;
| + | |
- | return Array(sx,sy,1,attr);
| + | |
- | }
| + | |
- | function doSkypeFlag(obj,id,state,edyn,fw,fax) {
| + | |
- | var fobj=obj.all['skype_tb_img_f'+id];
| + | |
- | if(!fobj)
| + | |
- | return;
| + | |
- | switch(state) {
| + | |
- | case 0: //-- inactive
| + | |
- | fobj.className='skype_tb_imgFlag';
| + | |
- | obj.parentElement.all['skype_tb_img_r'+id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_r.compat'+(fax?'_fax':'')+'.gif)';
| + | |
- | skype_overflag=false;
| + | |
- | break;
| + | |
- | case 1: //-- active
| + | |
- | fobj.className='skype_tb_imgFlagAct';
| + | |
- | obj.parentElement.all['skype_tb_img_r'+id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_ra.compat'+(fax?'_fax':'')+'.gif)';
| + | |
- | obj.style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_a.compat.flex.w'+fw+'.gif)';
| + | |
- | skype_overflag=true;
| + | |
- | break;
| + | |
- | case 2: //-- pushed
| + | |
- | // if(edyn) {
| + | |
- | obj.style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_a.compat.flex.w'+fw+'.gif)';
| + | |
- | skype_overflag=true;
| + | |
- | // }
| + | |
- | break;
| + | |
- | }
| + | |
- | }
| + | |
- | function skype_tb_imgOnOff(mobj,state,id,bflex,fw,nof,fax) {
| + | |
- | if(mobj) {
| + | |
- | var dobj=mobj.all['skype_tb_droppart_'+id];
| + | |
- | switch(state) {
| + | |
- | case 0: //-- inactive
| + | |
- | if(dobj)
| + | |
- | dobj.style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_a.compat.flex.w'+fw+'.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_a.compat.stat.w'+fw+'.gif)';
| + | |
- | mobj.all['skype_tb_img_s'+id].style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s'+nof+'.compat.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_s_stat'+nof+'.compat.gif)';
| + | |
- | mobj.all['skype_tb_text' +id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_m.compat.gif)';
| + | |
- | mobj.all['skype_tb_img_r'+id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/inactive_r.compat'+(fax?'_fax':'')+'.gif)';
| + | |
- | skype_overflag=false;
| + | |
- | break;
| + | |
- | case 1: //-- active
| + | |
- | if(dobj && (!skype_overflag || !bflex))
| + | |
- | dobj.style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_a.compat.flex.w'+fw+'.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_a.compat.stat.w'+fw+'.gif)';
| + | |
- | mobj.all['skype_tb_img_s'+id].style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_s'+nof+'.compat.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_s_stat'+nof+'.compat.gif)';
| + | |
- | mobj.all['skype_tb_text' +id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_m.compat.gif)';
| + | |
- | if(!skype_overflag)
| + | |
- | mobj.all['skype_tb_img_r'+id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/active_r.compat'+(fax?'_fax':'')+'.gif)';
| + | |
- | break;
| + | |
- | case 2: //-- pushed
| + | |
- | if(!skype_overflag) {
| + | |
- | if(dobj)
| + | |
- | dobj.style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_a.compat.flex.w'+fw+'.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_a.compat.stat.w'+fw+'.gif)';
| + | |
- | mobj.all['skype_tb_img_s'+id].style.backgroundImage=(bflex)?'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_s'+nof+'.compat.gif)':'url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_s_stat'+nof+'.compat.gif)';
| + | |
- | mobj.all['skype_tb_text' +id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_m.compat.gif)';
| + | |
- | mobj.all['skype_tb_img_r'+id].style.backgroundImage='url(file://C:/Users/Bob/AppData/Local/Temp/__SkypeIEToolbar_Cache/e70d95847a8f5723cfca6b3fd9946506/static/pushed_r.compat'+(fax?'_fax':'')+'.gif)';
| + | |
- | }
| + | |
- | break;
| + | |
- | }
| + | |
- | }
| + | |
- | if(state != 1)
| + | |
- | skype_tb_hideHintWait();
| + | |
- | }
| + | |
- | function skype_tb_checkVis(obj) {
| + | |
- | //-- count fully hidden as visible (??)
| + | |
- | if(!obj || obj.parentElement==obj.document.body)
| + | |
- | return true;
| + | |
- | var brd=obj.getBoundingClientRect();
| + | |
- | var brdPar=obj.parentElement.getBoundingClientRect();
| + | |
- | //alert('brd.top=' + brd.top + '; brdPar.bottom=' + brdPar.bottom + '; brdPar.right=' + brdPar.right + '; brd.right=' + brd.right);
| + | |
- | //var vis = (brd.top<brdPar.bottom) && (brdPar.right-brd.right>
| + | |
- | =-3);
| + | |
- | var vis = (brd.top<brdPar.bottom) && ((brdPar.right-brdPar.left)-(brd.right-brd.left)>
| + | |
- | =0);
| + | |
- | //-- additional check if durex info is available
| + | |
- | if(vis)
| + | |
- | try {
| + | |
- | var durex=obj.getAttribute("durex");
| + | |
- | if(durex != null && durex > 0)
| + | |
- | {
| + | |
- | //vis = (brd.top<brdPar.bottom) && (durex-brd.right>
| + | |
- | =-3);
| + | |
- | vis = (brd.top<brdPar.bottom) && (durex-(brdPar.right-brdPar.left)>
| + | |
- | =0);
| + | |
- | }
| + | |
- | } catch(e) {
| + | |
- | }
| + | |
- | return vis;
| + | |
- | }
| + | |
- | function skype_tb_checkVisFull(obj) {
| + | |
- | if(!obj || obj.parentElement==obj.document.body)
| + | |
- | return true;
| + | |
- | var brd=obj.getBoundingClientRect();
| + | |
- | var brdPar=obj.parentElement.getBoundingClientRect();
| + | |
- | var vis=(brd.bottom<=brdPar.bottom);
| + | |
- | return vis;
| + | |
- | }
| + | |
- | function skype_tb_swapSpansIfNeed(obj,cid) {
| + | |
- | var tobj=obj.all['skype_tb_text'+cid],
| + | |
- | robj=obj.all['skype_tb_img_r'+cid];
| + | |
- | var tbrd=tobj.getBoundingClientRect(),
| + | |
- | rbrd=robj.getBoundingClientRect();
| + | |
- | var cst=obj.currentStyle.direction;
| + | |
- | obj.setAttribute('IamRTL','0')
| + | |
- | if(cst=="ltr" && tbrd.left<=rbrd.left)
| + | |
- | return;
| + | |
- | //-- swap internal spans
| + | |
- | obj.setAttribute('IamRTL','1')
| + | |
- | var cl=obj.childNodes.length;
| + | |
- | for(var i=0; i<cl/2; ++i) {
| + | |
- | var cobj=obj.childNodes[i];
| + | |
- | var swobj=obj.childNodes[cl-1-i];
| + | |
- | cobj.swapNode(swobj);
| + | |
- | }
| + | |
- | }
| + | |
- | function skype_tb_makeVisOne(curspan) {
| + | |
- | var s0='',s1='',ss='';
| + | |
- | var cid=curspan.id.substring(20,curspan.id.length);
| + | |
- | skype_tb_swapSpansIfNeed(curspan,cid);
| + | |
- | if(skype_tb_checkVis(curspan))
| + | |
- | return;
| + | |
- | var txtobj=curspan.all['skype_tb_innerText'+cid];
| + | |
- | ss=txtobj.innerText;
| + | |
- | while(txtobj) {
| + | |
- | s0=txtobj.innerText;
| + | |
- | s1=s0.substr(0,s0.length/2) + '...';
| + | |
- | txtobj.innerText=s1;
| + | |
- | if(s0==s1 || skype_tb_checkVis(curspan))
| + | |
- | break;
| + | |
- | }
| + | |
- | //-- return text back if still not visible and text is the shortest
| + | |
- | // 2.2.0.101 Maq: Disabled. Now: if not visible, its stay as shortest
| + | |
- | // if(s0==s1 && !skype_tb_checkVis(curspan))
| + | |
- | // txtobj.innerText=ss;
| + | |
- | //-- remove the injection fully if full visibility has not been reached
| + | |
- | if(!skype_tb_checkVisFull(curspan)) {
| + | |
- | var txt=curspan.context;
| + | |
- | curspan.outerHTML=txt;
| + | |
- | }
| + | |
- | }
| + | |
- | function skype_tb_makeVisAll() {
| + | |
- | var allspans=document.body.getElementsByTagName("SPAN");
| + | |
- | for(var i=0;i<allspans.length;++i) {
| + | |
- | var curspan=allspans[i];
| + | |
- | if(!(curspan.scopeName=="SKYPE" && curspan.id.substr(0,20)=="softomate_highlight_"))
| + | |
- | continue;
| + | |
- | skype_tb_makeVisOne(curspan);
| + | |
- | }
| + | |
- | }
| + | |
| <table border="0" width="100%">
| | <table border="0" width="100%">
|
| <tbody>
| | <tbody>
|
| Users Now Offers Three Membership Packages</strong></a> </li>
| | Users Now Offers Three Membership Packages</strong></a> </li>
|
| </ul>
| | </ul>
|
- | <a name="madcap_dita"></a>
| + | <a name="madcap_dita" title="madcap_dita"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
|
| |
|
| </p>
| | </p>
|
- | <a name="adoption_member"></a>
| + | <a name="adoption_member" title="adoption_member"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
| Adoption TC Page</a>
| | Adoption TC Page</a>
|
| </p>
| | </p>
|
- | <a name="tutorialslides"></a>
| + | <a name="tutorialslides" title="tutorialslides"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
|
| |
|
| </p>
| | </p>
|
- | <a name="dq"></a>
| + | <a name="dq" title="dq"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
|
| |
|
| </p>
| | </p>
|
- | <a name="atoz"></a>
| + | <a name="atoz" title="atoz"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
|
| |
|
| </p>
| | </p>
|
- | <a name="survey"></a>
| + | <a name="survey" title="survey"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|
| DITA Tools Survey here.</a>
| | DITA Tools Survey here.</a>
|
| </p>
| | </p>
|
- | <a name="new_member_policy"></a>
| + | <a name="new_member_policy" title="new_member_policy"></a>
|
| <hr />
| | <hr />
|
| <p class="featuretitle">
| | <p class="featuretitle">
|