source:
extensions/gally/gally-default/js/gallyjs-ttm.min.js
@
12143
Last change on this file since 12143 was 10736, checked in by , 13 years ago | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[10736] | 1 | /* file: gally-ttm.js - v1.4.0 | minified on 2011/05/01 with http://jscompress.com/ */ |
2 | var gallyTM=null;$(document).ready(function() | |
3 | {gallyTM=new GallyTM();});function GallyTM() | |
4 | {var sTip=null,initTips=function() | |
5 | {if(options.manageTips) | |
6 | {$('#menubar dl:not(#mbTags) dd [title]').not('.sTipOnTop, .sTipOnBottom, .sTipOnLeft, .sTipOnRight').addClass('sTipOnRight');sTip=new simpleTip();$('[title]').each(function() | |
7 | {tipPos=options.manageTipsPos;if($(this).hasClass('sTipOnTop')){tipPos='tipOnTop';} | |
8 | else if($(this).hasClass('sTipOnRight')){tipPos='tipOnRight';} | |
9 | else if($(this).hasClass('sTipOnLeft')){tipPos='tipOnLeft';} | |
10 | else if($(this).hasClass('sTipOnBottom')){tipPos='tipOnBottom';} | |
11 | switch(tipPos) | |
12 | {case'tipOnTop':sTip.doAction('add',this,{targetPos:'top-middle',tipPos:'bottom-middle',offsetY:14,arrowHeight:13,arrowWidth:17,drawArrow:true,arrowImgDir:options.themePath});break;case'tipOnRight':sTip.doAction('add',this,{targetPos:'middle-right',tipPos:'middle-left',offsetX:12,arrowHeight:17,arrowWidth:12,drawArrow:true,arrowImgDir:options.themePath});break;case'tipOnLeft':sTip.doAction('add',this,{targetPos:'middle-left',tipPos:'middle-right',offsetX:12,arrowHeight:17,arrowWidth:12,drawArrow:true,arrowImgDir:options.themePath});break;case'tipOnBottom':sTip.doAction('add',this,{targetPos:'bottom-middle',tipPos:'top-middle',offsetY:12,arrowHeight:12,arrowWidth:17,drawArrow:true,arrowImgDir:options.themePath});break;}});}};initTips();} |
Note: See TracBrowser
for help on using the repository browser.