removed frontbox again

This commit is contained in:
Øyvind Bakkeli committed 2011-07-21 13:16:55 +02:00
1 parent 8ab5ce5170
commit e99c4bf95f
6 files changed
-1451

No files matched your search

-118
View File
@@ -1,118 +0,0 @@
/* images are blocky under internet explorer when downsized
I must apply a global rule, otherwise behavior is random
*/
img{
-ms-interpolation-mode:bicubic;
}
span.frontbox {
display:none;
}
/* by default for all elements defined by the script :*/
#fbox_bg, #fbox_progress, #fbox_fg, #fbox_content, #fbox_spacer, #fbox_bar, #fbox_title, #fbox_sys, #fbox_content_img, #fbox_content_iframe {
margin:0px;
padding:0px;
border-width:0px;
}
/* for strict mode */
#fbox_content_img, #fbox_content_iframe {
display:block;
}
/* now working with absolute positionned elements */
#fbox_bg, #fbox_progress, #fbox_fg {
position: absolute;
top: 0px;
left: 0px;
}
#fbox_bg{
z-index:998;
background-color: #000000;
}
#fbox_progress {
z-index:999;
}
#fbox_fg {
z-index:1000;
background-color:#999999;
padding:5px;
border:solid #000000 1px;
}
/* non positionned elements */
#fbox_fg_inner {
background-color:#FFFFFF;
}
#fbox_content {
padding:3px;
}
#fbox_spacer {
height:3px;
overflow:hidden;
background-image:url(spacer.gif);
font-size:8px; /* ie5 bug */
}
#fbox_bar td{
padding:3px 8px; /*v,h*/
color:black;
font-size: 12px;
font-weight:normal;
line-height: 1.45;
font-family:Arial, Helvetica, sans-serif;
}
#fbox_sys, #fbox_navig {
white-space:nowrap;
}
#fbox_sys {
float:right;
}
#fbox_title {
float:left;
background-color:whitesmoke;
text-align:justify;
}
a#fbox_resize_a:link, a#fbox_resize_a:hover, a#fbox_resize_a:visited {
text-decoration: none;
color:#999999;
font-weight: bold;
}
a#fbox_close_a:link, a#fbox_close_a:hover, a#fbox_close_a:visited {
text-decoration: none;
color:#999999;
font-weight: bold;
}
#fbox_navig {
margin-top:3px;
clear:left;
float:left;
}
a#fbox_prev_a:link, a#fbox_prev_a:hover, a#fbox_prev_a:visited {
text-decoration: none;
color:#999999;
font-weight: bold;
}
a#fbox_next_a:link, a#fbox_next_a:hover, a#fbox_next_a:visited {
text-decoration: none;
color:#999999;
font-weight: bold;
}
-12
View File
@@ -1,12 +0,0 @@
function fbox_conf(){};
fbox_conf.prototype = {
disable_fadin:false,
//---------------------------------
progress_src : 'indicator.gif',
nbsp_count: 4, //IE5 ...
close_txt : 'Lukk vindu uten å lagre',
max_txt: 'Maksimer',
min_txt: 'Minimer',
prev_txt: '« Forrige',
next_txt: 'Neste »'
}
-1
View File
@@ -1 +0,0 @@
function fbox_engine(){if(typeof(fbox_conf)!="function"){return;}var j,an;var ag,d,al;var n,A;var Z;var u=0;var o;var K,H;var R,V,am;var x,Q,aa;var G,O;var S,I,v;var T,l,ae;var aq;var ab;var ac=0,aj=0,f=0,ao=0;var t=false;var M=false;var p;var P=null;var ak="";var B,g;var N=false;var D=[];function Y(){return false;}function r(at){return;}function b(at){if(!at){return"";}at=at.replace(/^\s*(\S*(\s+\S+)*)\s*$/,"$1");return(at);}function w(at){return document.getElementById(at);}function m(at){return document.createElement(at);}function k(av,au,at){if(av.addEventListener){av.addEventListener(au,at,false);return true;}if(av.attachEvent){av.detachEvent("on"+au,at);return av.attachEvent("on"+au,at);}return false;}function c(av,au,at){if(av.removeEventListener){av.removeEventListener(au,at,false);return true;}if(av.detachEvent){return av.detachEvent("on"+au,at);}return false;}function ar(ay){var aw=false;function at(){if(!aw){aw=true;ay();}}if(window.ActiveXObject){var au;var av=null;var ax;au=document.createElement("div");ax=function(){var az;az=false;try{au.doScroll("left");}catch(aA){az=true;}if(!az||aw){if(av){window.clearInterval(av);av=null;}au=null;at();}};av=window.setInterval(ax,30);}else{if(document.addEventListener){document.addEventListener("DOMContentLoaded",at,false);}}k(window,"load",at);}function F(){var at=document.documentElement;this.left=window.pageXOffset||(at&&at.scrollLeft)||K.scrollLeft;this.top=window.pageYOffset||(at&&at.scrollTop)||K.scrollTop;}function C(){var az=document.documentElement;var au,aB,ax;var ay,at,aC;var aA=0,aw=0;var av;au=az?az.clientHeight:0;aB=K.clientHeight?K.clientHeight:0;ax=window.innerHeight?window.innerHeight:0;ay=az?az.clientWidth:0;at=K.clientWidth?K.clientWidth:0;aC=window.innerWidth?window.innerWidth:0;if(au&&aB&&ax){if(au==aB){aA=aC;aw=ax;}else{if(aB<au){av=au;au=aB;aB=av;}if(at<ay){av=ay;ay=at;at=av;}aw=aB<=ax?aB:au;aA=at<=aC?at:ay;}}else{if(au){aA=ay;aw=au;}else{aA=at;aw=aB;}}this.width=aA;this.height=aw;}function ad(aw){var ax=null;var aA=0;var at=0;var az=null;function av(aD){if(aD>=100){aw.style.opacity="";aw.style.filter="";aw.style.display="";}else{if(aD<=0){aw.style.display="none";aw.style.opacity=0;aw.style.filter="alpha(opacity=0)";}else{aw.style.opacity=aD*0.01;aw.style.filter="alpha(opacity="+aD+")";aw.style.display="";}}}function ay(aE){var aD=ax?true:false;if(aD){window.clearInterval(ax);ax=null;}at=0;aE=aE-0;if(!isNaN(aE)){aA=aE;av(aE);}return aD;}function aB(){if(at===0){ay();}else{if((at>0&&aA>=az)||(at<0&&aA<=az)){ay();aA=az;}}av(aA);}function aC(){if((at>0&&aA<az)||(at<0&&aA>az)){av(aA);aA+=at;return true;}aB();return false;}function au(aG,aD,aF,aE){if(Z){ay(aD);return;}if(!ay()){aA=aG;}az=aD;at=aF;if(aC()){ax=window.setInterval(aC,aE);}}this.halt=ay;this.animate=au;this.redisplay=aB;}function h(av){if(!av){Q.innerHTML="";Q.style.overflow="hidden";return;}var au=null;if(P.type===0){var at=m("a");at.href="#";au=P.objImg;au.id="fbox_content_img";au.style.border="0px";at.appendChild(au);Q.appendChild(at);}else{if(P.type==3){av='<iframe src="'+P.src+'" id="fbox_content_iframe" frameborder="0" ></iframe>';}else{if(typeof(av)!="string"){av="";}}Q.innerHTML=av;if(P.type==3){au=w("fbox_content_iframe");}}Q.style.overflow="auto";if(au){au.style.width=P.width+"px";au.style.height=P.height+"px";}}function af(at){var aw,av,au,ax;for(av=0;av<D.length;av++){au=document.getElementsByTagName(D[av]);for(aw=0;aw<au.length;aw++){ax=au[aw];if(ax.fbox_doNotFixVisibility){continue;}if(at){ax.fbox_visibilty_backup=ax.style.visibility;ax.style.visibility="hidden";}else{ax.style.visibility=ax.fbox_visibilty_backup;}}}}function X(){var at=new C();var av,au;if(N){R.style.position="fixed";av=au=0;}else{var aw=new F();R.style.position="absolute";av=aw.left;au=aw.top;}R.style.left=av+"px";R.style.top=au+"px";R.style.width=at.width+"px";R.style.height=at.height+"px";B.redisplay();}function e(){B.halt(0);X();af(true);B.animate(0,77,10,70);u=u|2;}function U(){u=u&(~2);B.halt(0);af(false);}function J(){var at=new C();var av=(at.width-V.offsetWidth)>>1;var au=(at.height-V.offsetHeight)>>1;if(N){V.style.position="fixed";}else{var aw=new F();V.style.position="absolute";av=aw.left+av;au=aw.top+au;}V.style.left=av+"px";V.style.top=au+"px";}function y(){var aw=false;var ax=new F();var at=new C();x.style.display="";var av=(at.width-x.offsetWidth)>>1;var au=(at.height-x.offsetHeight)>>1;g.redisplay();if(N){if(av<=0||au<=0){aw=false;x.style.position="absolute";}else{aw=true;x.style.position="fixed";}}if(av<=0){if(!t){t=true;av=ax.left+av;if(av<0){av=0;}x.style.left=av+"px";}}else{t=false;if(!aw){av=ax.left+av;}x.style.left=av+"px";}if(au<=0){if(!M){M=true;au=ax.top+au;if(au<0){au=0;}x.style.top=au+"px";}}else{M=false;if(!aw){au=ax.top+au;}x.style.top=au+"px";}}function z(at){var aA=P.width;var au=P.height;var ax=b(P.title)?true:false;var ay=P.next||P.prev?true:false;var aC=false;if(!at){aC=ax||ay;}else{if(at==1){aC=true;}}if(aC&&aA<200){aA=200;}if(aC){aa.style.visibility="visible";Line truncated
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B