if(typeof config=="undefined") alert("Error:\nThe core tooltip script file 'wz_tooltip.js' must be included first, before the plugin files!"); config. Balloon=false config. BalloonImgPath="http://www.tarif-tower.de/bilder/tooltip" config. BalloonEdgeSize=6 config. BalloonStemWidth=15 config. BalloonStemHeight=19 config. BalloonStemOffset=-7 config. BalloonImgExt="gif"; var balloon=new tt_Extension(); balloon.OnLoadConfig=function() { if(tt_aV[BALLOON]) { balloon.padding=Math.max(tt_aV[PADDING] - tt_aV[BALLOONEDGESIZE], 0); balloon.width=tt_aV[WIDTH]; tt_aV[BORDERWIDTH]=0; tt_aV[WIDTH]=0; tt_aV[PADDING]=0; tt_aV[BGCOLOR]=""; tt_aV[BGIMG]=""; tt_aV[SHADOW]=false; if(tt_aV[BALLOONIMGPATH].charAt(tt_aV[BALLOONIMGPATH].length - 1)!='/') tt_aV[BALLOONIMGPATH]+="/"; return true; } return false; }; balloon.OnCreateContentString=function() { if(!tt_aV[BALLOON]) return false; var aImg, sImgZ, sCssCrn, sVaT, sVaB, sCss0; if(tt_aV[BALLOONIMGPATH]==config.BalloonImgPath) aImg=balloon.aDefImg; else aImg=Balloon_CacheImgs(tt_aV[BALLOONIMGPATH], tt_aV[BALLOONIMGEXT]); sCss0='padding:0;margin:0;border:0;line-height:0;overflow:hidden;'; sCssCrn=' style="position:relative;width:'+tt_aV[BALLOONEDGESIZE]+'px;'+sCss0+'overflow:hidden;'; sVaT='vertical-align:top;" valign="top"'; sVaB='vertical-align:bottom;" valign="bottom"'; sImgZ='" style="'+sCss0+'" />'; tt_sContent='' + '' + '' + '' + '
' + '
' + '' + '' + '' + ''+tt_sContent+'' + '
' + '' + '-balloon.width+iAdd) bdy.style.width=(-balloon.width+iAdd)+"px"; } } function Balloon_PreCacheDefImgs() { if(config.BalloonImgPath.charAt(config.BalloonImgPath.length - 1)!='/') config.BalloonImgPath+="/"; balloon.aDefImg=Balloon_CacheImgs(config.BalloonImgPath, config.BalloonImgExt); } Balloon_PreCacheDefImgs();
' + '' + '
' + '' + '