Files
2019-04 Update Mailversand
Archiv
Auswertung
admin
FCKeditor
anschreiben
anschreiben_kehl
import
livesearch
livesearch2
overlib
testFrame-Dateien
BabelFish.js
ajaxcontentmws.js
arrow.gif
calendarmws.js
calendarmws_lang.js
cornerBL.gif
cornerBR.gif
cornerTL.gif
cornerTR.gif
edgeB.gif
edgeL.gif
edgeR.gif
edgeT.gif
exit.gif
flower.gif
iframecontentmws.js
license.html
loading.gif
objectcontentmws.js
oval.gif
overlibCompat.js
overlibConfig.txt
overlibmws.js
overlibmws_bubble.js
overlibmws_crossframe.js
overlibmws_debug.js
overlibmws_draggable.js
overlibmws_exclusive.js
overlibmws_filter.js
overlibmws_function.js
overlibmws_hide.js
overlibmws_iframe.js
overlibmws_modal.js
overlibmws_overtwo.js
overlibmws_print.js
overlibmws_regCore.js
overlibmws_scroll.js
overlibmws_shadow.js
overlibmwslogo.gif
print.gif
pushpin.gif
quotation.gif
semitrans.gif
showCalendar.gif
sprintf.js
square.gif
test.htm
testFrame.html
prints
#anz_anm.php
#bereiche.php
#fehlende_pu.php
#liste_pu.php
#pu_standorte.php
#puzuweisung.php
#sperrzeiten.php
.4
Vorgehensweise.txt
adm_anleg.php
adm_bearb.php
adminrechte.php
adminrechte_del.php
aenderung.php
ag_tage_admin.php
ag_tage_admin_alt.php
ag_tage_admin_neu.php
agzuweisung.php
ajax.js
anmschluss.php
anschreiben.zip
arr.php
ausland_mit_agstandort.php
ausnahme.php
auswertung_anz_teilnehmer.php
bearbeiten.php
bearbeiten_alt.php
bearbeiten_neu.php
ch_attr.php
daten_pruefen_admin.php
datenblatt.php
datenblatt_kehl.php
datenblatt_kehl_alt.php
datenblatt_kehl_neu.php
datenblatt_lubu.php
datenblatt_lubu_alt.php
datenblatt_lubu_neu.php
datenvergleich.php
datenvergleich_alt.php
datenvergleich_erst.php
datenvergleich_neu.php
datenverleich.php
dst_bearb.php
expo_auslandsstellen.php
expo_jahrgangsstatus.php
fehlende_ant.php
fehlende_sozuweisung.php
fehlender_standort.php
fehlender_standort_alt.php
fehlender_standort_neu.php
func_get_vert_block.php
func_mail_att.php
func_printqueue_antrag.php
hauptframe.htm
hauptframe_jahr.php
historie.php
historie_alt.php
historie_neu.php
index.php
jahrgang.php
jahrgangsstatus.php
jahrgangsstatus_verkuerzt.php
jquery-1.9.1.js
kennwortwechsel_admin.php
liste_w.php
livesearch2.php
livesearch_dst.php
livesearch_stud.php
login_log.php
logout_admin.php
mail.php
mail_zusage.php
menuframe.php
offene_aendant.php
offene_beurteilung.php
offene_erstant.php
pdf_gen.php
pdf_gen_alt.php
pdf_gen_ges_akte.php
pdf_gen_ges_kehl.php
pdf_gen_ges_lubu.php
pdf_gen_ges_mail.php
pdf_gen_kehl.php
pdf_gen_kehl_alt.php
pdf_gen_kehl_neu.php
pdf_gen_mail.php
pdf_gen_mail_einzel.php
pdf_gen_neu.php
pdf_gen_so_zuw.php
pdf_gen_so_zuw_alt.php
pdf_gen_so_zuw_neu.php
praxisstellen_admin.php
praxisstellen_admin_alt.php
sozuweisung.php
sozuweisung_alt.php
sozuweisung_neu.php
stan_admin_anleg.php
stan_admin_bearb.php
stan_admin_del.php
stan_useronline.php
standort_erfassen.php
standorte_2014.php
stelle_in_bw_mit_ag_standort_ausserhalb_bw.php
stud_bearb.php
test.php
test1.php
topframe.htm
ungestellte_ant.php
vert_bereich.php
zuweisung_mail.php
balance_img
fancybox
images
js
mail
standort
stud
#pdf_gen.php
#pdf_gen_alt.php
#pdf_gen_ges_lubu.php
#pdf_gen_kehl.php
#pdf_gen_kehl_alt.php
#pdf_gen_kehl_neu.php
#pdf_gen_neu.php
++ Printqueue zurücksetzen.txt.lnk
.gitignore
Auswertung_besuchte Stellen der Studs - alle Jahrgänge.sql
Auswertung_besuchte Stellen der Studs.sql
Pflicht.sql
Trigger.sql
VIEW_stan_zuw_so.sql
VIEW_stan_zuw_so_neu.sql
anz_anm.php
bearbeiten_neu.php
historie.php
historie_alt.php
historie_neu.php
index.php
index_db.php
index_ldap.php
ldap_info.php
ldap_info_hsnet.php
login.css
menuframe.php
styles_pc.css
test.html
umzugsverguetung.sql
stellenantrag_neu/admin/overlib/overlibmws_bubble.js

200 lines
6.6 KiB
JavaScript
Executable File

/*
overlibmws_bubble.js plug-in module - Copyright Foteos Macrides 2003-2007. All rights reserved.
For support of the BUBBLE feature.
Initial: July 26, 2003 - Last Revised: January 1, 2007
See the Change History and Command Reference for overlibmws via:
http://www.macridesweb.com/oltest/
Published under an open source license: http://www.macridesweb.com/oltest/license.html
*/
OLloaded=0;
var OLbubbleCmds='bubble,bubbletype,adjbubble';
OLregCmds(OLbubbleCmds);
// DEFAULT CONFIGURATION
if(OLud('bubble'))var ol_bubble=0;
if(OLud('bubbletype'))var ol_bubbletype='';
if(OLud('adjbubble'))var ol_adjbubble=0;
// END CONFIGURATION
if(typeof OLbubbleImages=='undefined')
var OLbubbleImages='flower,oval,square,pushpin,quotation,roundcorners';
if(typeof OLbubbleImageDir=='undefined')var OLbubbleImageDir='./';
OLregisterImages('flower,oval,square,pushpin,quotation,roundcorners',OLbubbleImageDir);
var OLimgWidth=[250,330,144,202,200];
var OLimgHeight=[150,160,190,221,66];
var OLcontentWidth=[200,250,130,184,190];
var OLcontentHeight=[80,85,150,176,46];
var OLpadLeft=[30,40,7,9,5];
var OLpadTop=[25,48,10,34,4];
var OLarwTipX=[180,50,51,9,19];
var OLarwTipY=[148,5,180,221,64];
var OLbI,OLbContentWd=OLcontentWidth;
var o3_bubble=0,o3_bubbletype='',o3_adjbubble=0,OLbubbleHt=0;
function OLloadBubble(){
OLload(OLbubbleCmds);OLbubbleHt=0;
}
function OLparseBubble(pf,i,ar){
var k=i,t=OLtoggle;
if(k<ar.length){
if(Math.abs(ar[k])==BUBBLE){t(ar[k],pf+'bubble');return k;}
if(ar[k]==BUBBLETYPE){OLparQuo(ar[++k],pf+'bubbletype');return k;}
if(Math.abs(ar[k])==ADJBUBBLE){t(ar[k],pf+'adjbubble');return k;}}
return -1;
}
function OLchkForBubbleEffect() {
if(o3_bubble){o3_bubbletype=(o3_bubbletype)?o3_bubbletype:'flower';
for(var i=0;i<OLbTypes.length;i++){if(OLbTypes[i]==o3_bubbletype){OLbI=i;break;}}
// disable inappropriate parameters
o3_bgcolor=o3_fgcolor='';
o3_border=o3_base=0;
o3_fgbackground=o3_bgbackground=o3_cgbackground=o3_background='';
o3_cap='';
if(o3_sticky)o3_noclose=1;
o3_fullhtml=0;
if(OLshadowPI)o3_shadow=0;
if(o3_bubbletype!='roundcorners'){
o3_width=OLbContentWd[OLbI];
o3_hpos=RIGHT;
o3_vpos=BELOW;
o3_vauto=0;
o3_hauto=0;
o3_wrap=0;
o3_nojusty=1;}}
return true;
}
function OLregisterImages(imgStr,path) {
if(typeof imgStr!='string')return;
path=(path&&typeof path=='string')?path:'.';
if(path.charAt(path.length-1)=='/')path=path.substring(0,path.length-1);
if(typeof OLbTypes=='undefined')OLbTypes=imgStr.split(',');
if(typeof OLbubbleImg=='undefined'){
OLbubbleImg=new Array();
for(var i=0;i<OLbTypes.length;i++){
if(OLbubbleImages.indexOf(OLbTypes[i])<0)continue;
if(OLbTypes[i]=='roundcorners'){
OLbubbleImg[i]=new Array();
var o=OLbubbleImg[i];
o[0]=new Image();o[0].src=path+'/cornerTL.gif';
o[1]=new Image();o[1].src=path+'/edgeT.gif';
o[2]=new Image();o[2].src=path+'/cornerTR.gif';
o[3]=new Image();o[3].src=path+'/edgeL.gif';
o[4]=new Image();o[4].src=path+'/edgeR.gif';
o[5]=new Image();o[5].src=path+'/cornerBL.gif';
o[6]=new Image();o[6].src=path+'/edgeB.gif';
o[7]=new Image();o[7].src=path+'/cornerBR.gif';
}else{
OLbubbleImg[i]=new Image();OLbubbleImg[i].src=path+'/'+OLbTypes[i]+'.gif';}}}
}
function OLgenerateBubble(content) {
if(!o3_bubble)return;
if(o3_bubbletype=='roundcorners')return OLdoRoundCorners(content);
var ar,X,Y,fc=1.0,txt,sY,bHtDiff,bPadDiff=0,bLobj,bCobj;
var bTopPad=OLpadTop,bLeftPad=OLpadLeft;
var bContentHt=OLcontentHeight,bHt=OLimgHeight;
var bWd=OLimgWidth,bArwTipX=OLarwTipX,bArwTipY=OLarwTipY;
bHtDiff=fc*bContentHt[OLbI]-(OLns4?over.clip.height:over.offsetHeight);
if(o3_adjbubble){
fc=OLresizeBubble(bHtDiff,0.5,fc);
ar=OLgetHeightDiff(fc);
bHtDiff=ar[0];
content=ar[1];}
if(bHtDiff>0)bPadDiff=(bHtDiff<2)?0:parseInt(0.5*bHtDiff);
Y=(bHtDiff<0)?fc*bTopPad[OLbI]:fc*bTopPad[OLbI]+bPadDiff;
X=fc*bLeftPad[OLbI];
Y=Math.round(Y);
X=Math.round(X);
o3_width=fc*bWd[OLbI];
OLbubbleHt=fc*bHt[OLbI];
txt='<img src="'+OLbubbleImg[OLbI].src+'" width="'+o3_width+'" height="'
+(bHtDiff<0?OLbubbleHt-bHtDiff:OLbubbleHt)+'" />'+(OLns4?'<div id="bContent">':
'<div id="bContent" style="position:absolute; top:'+Y+'px; left:'+X+'px; width:'
+fc*OLbContentWd[OLbI]+'px; z-index:1;">')+content+'</div>';
OLlayerWrite(txt);
if(OLns4){
bCobj=over.document.layers['bContent'];
if(typeof bCobj=='undefined')return;
bCobj.top=Y;
bCobj.left=X;
bCobj.clip.width=fc*OLbContentWd[OLbI];
bCobj.zIndex=1;}
if(fc*bArwTipY[OLbI]<0.5*fc*bHt[OLbI])sY=fc*bArwTipY[OLbI];
else sY= -(fc*bHt[OLbI]+20);
o3_offsetx -=fc*bArwTipX[OLbI];
o3_offsety +=sY;
}
function OLdoRoundCorners(content) {
var txt,wd,ht,o=OLbubbleImg[OLbI];
wd=(OLns4)?over.clip.width:over.offsetWidth;
ht=(OLns4)?over.clip.height:over.offsetHeight;
txt='<table cellpadding="0" cellspacing="0" border="0">'
+'<tr><td align="right" valign="bottom"><img src="'+o[0].src+'" width="14" height="14"'
+(OLns6?' style="display:block;"':'')+' /></td><td valign="bottom"><img src="'+o[1].src
+'" height="14" width="'+wd+'"'+(OLns6?' style="display:block;"':'')
+' /></td><td align="left" valign="bottom"><img src="'+o[2].src+'" width="14" height="14"'
+(OLns6?' style="display:block;"':'')+' /></td></tr>'
+'<tr><td align="right"><img src="'+o[3].src+'" width="14" height="'+ht+'"'
+(OLns6?' style="display:block;"':'')+' /></td><td bgcolor="#ffffcc">'+content
+'</td><td align="left"><img src="'+o[4].src+'" width="14" height="'+ht+'"'
+(OLns6?' style="display:block;"':'')+ '/></td></tr>'+'<tr><td align="right" valign="top">'
+'<img src="'+o[5].src+'" width="14" height="14" /></td><td valign="top"><img src="'+o[6].src
+'" height="14" width="'+wd+'" /></td><td align="left" valign="top"><img src="'+o[7].src
+'" width="14" height="14" /></td></tr></table>';
OLlayerWrite(txt);
o3_width=wd+28;
OLbubbleHt=ht+28;
}
function OLresizeBubble(h1,dF,fold){
var df,h2,fnew,alpha,cnt=0;
while(cnt<2){
df= -OLsignOf(h1)*dF;
fnew=fold+df;
h2=OLgetHeightDiff(fnew)[0];
if(Math.abs(h2)<11)break;
if(OLsignOf(h1)!=OLsignOf(h2)){
alpha=Math.abs(h1)/(Math.abs(h1)+Math.abs(h2));
if(h1<0)fnew=alpha*fnew+(1.0-alpha)*fold;
else fnew=(1.0-alpha)*fnew+alpha*fold;
}else{
alpha=Math.abs(h1)/(Math.abs(h2)-Math.abs(h1));
if(h1<0)fnew=(1.0+alpha)*fold-alpha*fnew;
else fnew=(1.0+alpha)*fnew-alpha*fold;}
fold=fnew;
h1=h2;
dF*=0.5;
cnt++;}
return fnew;
}
function OLgetHeightDiff(f){
var lyrhtml;
o3_width=f*OLcontentWidth[OLbI];
lyrhtml=OLcontentSimple(o3_text);
OLlayerWrite(lyrhtml)
return [f*OLcontentHeight[OLbI]-((OLns4)?over.clip.height:over.offsetHeight),lyrhtml];
}
function OLsignOf(x){
return (x<0)? -1:1;
}
OLregRunTimeFunc(OLloadBubble);
OLregCmdLineFunc(OLparseBubble);
if(OLns4)
document.write(
'<style type="text/css">\n<!--\n#bContent{position:absolute;left:0px;top:0px;width:1024}\n'
+'-->\n<'+'\/style>');
OLbubblePI=1;
OLloaded=1;