WordPress.org

Plugin Directory

Changeset 554401


Ignore:
Timestamp:
06/07/12 16:24:39 (23 months ago)
Author:
TimZ
Message:

removed old files

Location:
seekxl-snapr/trunk
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • seekxl-snapr/trunk/js/bubble-min.js

    r68839 r554401  
    1 var lightboxsupport=0;var disappeardelay=250;var verticaloffset=0;var enablearrowhead=1;var arrowheadimg=["http://snapr.seekxl.de/media/arrow_down.gif","http://snapr.seekxl.de/media/arrow_up.gif"];var arrowheadheight=9;var ie=document.all;var ns6=document.getElementById&&!document.all;verticaloffset=(enablearrowhead)?verticaloffset+arrowheadheight:verticaloffset;if(document.all){verticaloffset+=5}function enableTooltips(key,id){var links,i,tooltip,c,snapr,link,href,anchor,para,background,havelightbox;havelightbox=false;if(lightboxsupport&&typeof Lightbox=="function"){if(typeof myLightbox=="undefined"){}havelightbox=true}c=0;if(id==null){links=document.getElementsByTagName("a")}else{links=document.getElementById(id).getElementsByTagName("a")}var size="S";if(typeof seekXLThumbnailSize!="undefined"&&seekXLThumbnailSize!=""&&seekXLShowAll=="true"){size=seekXLThumbnailSize}var maxlength=28;if(havelightbox){disappeardelay+=750}for(i=0;i<links.length;i++){if(links[i].getAttribute("seekxl")||links[i].getAttribute("id")=="prevLink"||links[i].getAttribute("id")=="nextLink"||links[i].getAttribute("id")=="loadingLink"||links[i].getAttribute("id")=="bottomNavClose"||!links[i].getAttribute("href")||!links[i].getAttribute("href").length||!links[i].getAttribute("href").match(/^http/)||links[i].getAttribute("href").match(eval("/"+location.host+"/"))||(seekXLShowAll=="false"&&!(links[i].getAttribute("size")&&links[i].getAttribute("size").length))){continue}c++;if(havelightbox){anchor=document.createElement("a");if(typeof seekXLLogoKey!="undefined"&&seekXLLogoKey!=""){href="http://snapr.seekxl.de?key="+seekXLLogoKey+"&size=L&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}else{href="http://snapr.seekxl.de?size=L&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}anchor.setAttribute("href",href);anchor.setAttribute("title",links[i].getAttribute("href"));anchor.setAttribute("seekxl","true");anchor.setAttribute("rel","lightbox[seekxlbubble]")}tooltip=document.createElement("div");tooltip.id="baloon"+c;tooltip.setAttribute("id","baloon"+c);if(key!=null){}tooltip.className="seekxl_bubble";if(document.all){if(navigator.appName=="Microsoft Internet Explorer"){tooltip.style.margin="0px !important"}}tooltip.setAttribute("class","seekxl_bubble");links[i].setAttribute("rel","baloon"+c);if(links[i].getAttribute("size")&&links[i].getAttribute("size").length){if(links[i].getAttribute("size").toLowerCase()=="t"){tooltip.style.width="100px";size="T";maxlength=12}else{if(links[i].getAttribute("size").toLowerCase()=="s"){tooltip.style.width="200px";size="S";maxlength=28}else{if(links[i].getAttribute("size").toLowerCase()=="m"){tooltip.style.width="400px";size="M";maxlength=57}else{if(links[i].getAttribute("size").toLowerCase()=="l"){tooltip.style.width="640px";size="L";maxlength=77}}}}}else{if(size.toLowerCase()=="t"){tooltip.style.width="100px";maxlength=12}else{if(size.toLowerCase()=="s"){tooltip.style.width="200px";maxlength=28}else{if(size.toLowerCase()=="m"){tooltip.style.width="400px";maxlength=57}else{if(size.toLowerCase()=="l"){tooltip.style.width="640px";maxlength=77}}}}}snapr=document.createElement("img");if(havelightbox){snapr.setAttribute("src","http://snapr.seekxl.de/media/loupe_"+size.toLowerCase()+".gif")}else{snapr.setAttribute("src","http://snapr.seekxl.de/media/space_"+size.toLowerCase()+".gif")}snapr.setAttribute("border","0");para=document.createElement("div");if(typeof seekXLLogoKey!="undefined"&&seekXLLogoKey!=""){background="http://snapr.seekxl.de?key="+seekXLLogoKey+"&size="+size+"&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}else{background="http://snapr.seekxl.de?size="+size+"&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}tooltip.setAttribute("title",background);if(havelightbox&&anchor){anchor.appendChild(snapr);para.appendChild(anchor)}else{para.appendChild(snapr)}tooltip.appendChild(para);link=document.createElement("h2");link.innerHTML=(links[i].getAttribute("href").length>maxlength?links[i].getAttribute("href").substr(0,maxlength-3)+"...":links[i].getAttribute("href"));document.getElementsByTagName("body")[0].appendChild(tooltip)}if(havelightbox){if(document.all){}if(typeof myLightbox!="undefined"){myLightbox.updateImageList()}}initalizetooltip()}function getposOffset(D,C){var B=(C=="left")?D.offsetLeft:D.offsetTop;var A=D.offsetParent;while(A!=null){B=(C=="left")?B+A.offsetLeft:B+A.offsetTop;A=A.offsetParent}return B}function showhide(B,A){dropmenuobj.style.left=dropmenuobj.style.top="-500px";if(A.type=="mouseover"){B.visibility="visible"}}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}function clearbrowseredge(D,B){if(B=="rightedge"){edgeoffsetx=0;var C=ie&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;if(C-dropmenuobj.x<dropmenuobj.contentmeasure){edgeoffsetx=dropmenuobj.contentmeasure-D.offsetWidth}return edgeoffsetx}else{edgeoffsety=0;var A=ie&&!window.opera?iecompattest().scrollTop:window.pageYOffset;var C=ie&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18;dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;if(C-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffsety=dropmenuobj.contentmeasure+D.offsetHeight+(verticaloffset*2)}return edgeoffsety}}function displayballoontip(C,B){if(window.event){event.cancelBubble=true}else{if(B.stopPropagation){B.stopPropagation()}}if(typeof dropmenuobj!="undefined"){dropmenuobj.style.visibility="hidden"}clearhidemenu();dropmenuobj=document.getElementById(C.getAttribute("rel"));if(dropmenuobj.firstChild){var A=dropmenuobj.getAttribute("title");myImage=new Image();myImage.src=A}showhide(dropmenuobj.style,B);dropmenuobj.x=getposOffset(C,"left");dropmenuobj.y=getposOffset(C,"top")+verticaloffset;if(navigator.userAgent.match(/Opera/)){dropmenuobj.y-=4}else{if(document.all){dropmenuobj.y+=7}else{dropmenuobj.y-=3}}if(dropmenuobj.firstChild){dropmenuobj.firstChild.style.backgroundImage="url("+myImage.src+")"}dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(C,"rightedge")+"px";dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(C,"bottomedge")+C.offsetHeight+"px";if(enablearrowhead){displaytiparrow()}}function displaytiparrow(){var A,C;tiparrow=document.getElementById("seekxl_arrowhead");tiparrow.src=(edgeoffsety!=0)?arrowheadimg[0]:arrowheadimg[1];var B=(dropmenuobj.firstChild.filters&&dropmenuobj.firstChild.filters[0])?dropmenuobj.firstChild.filters[0].Strength-1:0;C=(edgeoffsetx!=0)?parseInt(dropmenuobj.style.left)+dropmenuobj.offsetWidth-tiparrow.offsetWidth:parseInt(dropmenuobj.style.left)-1;A=(edgeoffsety!=0)?parseInt(dropmenuobj.style.top)+dropmenuobj.offsetHeight-tiparrow.offsetHeight-B+arrowheadheight+4:parseInt(dropmenuobj.style.top)-arrowheadheight+4;if(navigator.userAgent.match(/Opera/)){}else{if(document.all){if(dropmenuobj.firstChild.filters&&dropmenuobj.firstChild.filters[0]&&edgeoffsety!=0){}A=(edgeoffsety!=0)?parseInt(dropmenuobj.style.top)+dropmenuobj.offsetHeight-tiparrow.offsetHeight-B+arrowheadheight-7:parseInt(dropmenuobj.style.top)-arrowheadheight-6;C=(edgeoffsetx!=0)?parseInt(dropmenuobj.style.left)+dropmenuobj.offsetWidth-tiparrow.offsetWidth-7:parseInt(dropmenuobj.style.left)-6}}tiparrow.style.top=A+"px";tiparrow.style.left=C+"px";tiparrow.style.visibility="visible"}function delayhidemenu(){delayhide=setTimeout("dropmenuobj.style.visibility='hidden'; dropmenuobj.style.left=0; if (enablearrowhead) tiparrow.style.visibility='hidden'",disappeardelay)}function clearhidemenu(){if(typeof delayhide!="undefined"){clearTimeout(delayhide)}}function reltoelement(B){var A=B.getAttribute("rel");return(A!=null&&A!=""&&document.getElementById(A)!=null&&document.getElementById(A).className=="seekxl_bubble")?true:false}function initalizetooltip(){var B=document.getElementsByTagName("a");if(enablearrowhead){tiparrow=document.createElement("img");tiparrow.setAttribute("src",arrowheadimg[0]);tiparrow.setAttribute("id","seekxl_arrowhead");document.body.appendChild(tiparrow)}for(var A=0;A<B.length;A++){if(reltoelement(B[A])){B[A].onmouseover=function(D){var C=window.event?window.event:D;displayballoontip(this,C)};B[A].onmouseout=delayhidemenu}}}function CreateEl(B,C){var A=document.createElement(B);A.className=C;A.style.display="block";return(A)}window.onload=function(){enableTooltips()}; 
     1var lightboxsupport=0;var disappeardelay=250;var verticaloffset=0;var enablearrowhead=1;var arrowheadimg=["http://snapr.seekxl.de/media/arrow_down.gif","http://snapr.seekxl.de/media/arrow_up.gif"];var arrowheadheight=9;var ie=document.all;var ns6=document.getElementById&&!document.all;verticaloffset=(enablearrowhead)?verticaloffset+arrowheadheight:verticaloffset;if(document.all){verticaloffset+=5}function enableTooltips(key,id){var links,i,tooltip,c,snapr,link,href,anchor=null,para,background,havelightbox;havelightbox=false;if(lightboxsupport&&typeof Lightbox=="function"){if(typeof myLightbox=="undefined"){}havelightbox=true}c=0;if(id==null){links=document.getElementsByTagName("a")}else{links=document.getElementById(id).getElementsByTagName("a")}var size="S";if(typeof seekXLThumbnailSize!="undefined"&&seekXLThumbnailSize!=""&&seekXLShowAll=="true"){size=seekXLThumbnailSize}var maxlength=28;if(havelightbox){disappeardelay+=750}for(i=0;i<links.length;i++){if(links[i].getAttribute("seekxl")||links[i].getAttribute("id")=="prevLink"||links[i].getAttribute("id")=="nextLink"||links[i].getAttribute("id")=="loadingLink"||links[i].getAttribute("id")=="bottomNavClose"||!links[i].getAttribute("href")||!links[i].getAttribute("href").length||!links[i].getAttribute("href").match(/^http/)||links[i].getAttribute("href").match(eval("/"+location.host+"/"))||(seekXLShowAll=="false"&&!(links[i].getAttribute("size")&&links[i].getAttribute("size").length))){continue}c++;if(havelightbox){anchor=document.createElement("a");if(typeof seekXLLogoKey!="undefined"&&seekXLLogoKey!=""){href="http://snapr.seekxl.de?key="+seekXLLogoKey+"&size=L&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}else{href="http://snapr.seekxl.de?size=L&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}anchor.setAttribute("href",href);anchor.setAttribute("title",links[i].getAttribute("href"));anchor.setAttribute("seekxl","true");anchor.setAttribute("rel","lightbox[seekxlbubble]")}tooltip=document.createElement("div");tooltip.id="baloon"+c;tooltip.setAttribute("id","baloon"+c);if(key!=null){}tooltip.className="seekxl_bubble";if(document.all){if(navigator.appName=="Microsoft Internet Explorer"){tooltip.style.margin="0px !important"}}tooltip.setAttribute("class","seekxl_bubble");links[i].setAttribute("rel","baloon"+c);if(links[i].getAttribute("size")&&links[i].getAttribute("size").length){if(links[i].getAttribute("size").toLowerCase()=="t"){tooltip.style.width="100px";size="T";maxlength=12}else{if(links[i].getAttribute("size").toLowerCase()=="s"){tooltip.style.width="200px";size="S";maxlength=28}else{if(links[i].getAttribute("size").toLowerCase()=="m"){tooltip.style.width="400px";size="M";maxlength=57}else{if(links[i].getAttribute("size").toLowerCase()=="l"){tooltip.style.width="640px";size="L";maxlength=77}}}}}else{if(size.toLowerCase()=="t"){tooltip.style.width="100px";maxlength=12}else{if(size.toLowerCase()=="s"){tooltip.style.width="200px";maxlength=28}else{if(size.toLowerCase()=="m"){tooltip.style.width="400px";maxlength=57}else{if(size.toLowerCase()=="l"){tooltip.style.width="640px";maxlength=77}}}}}snapr=document.createElement("img");if(havelightbox){snapr.setAttribute("src","http://snapr.seekxl.de/media/loupe_"+size.toLowerCase()+".gif")}else{snapr.setAttribute("src","http://snapr.seekxl.de/media/space_"+size.toLowerCase()+".gif")}snapr.setAttribute("border","0");para=document.createElement("div");if(typeof seekXLLogoKey!="undefined"&&seekXLLogoKey!=""){background="http://snapr.seekxl.de?key="+seekXLLogoKey+"&size="+size+"&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}else{background="http://snapr.seekxl.de?size="+size+"&url="+escape(links[i].getAttribute("href")).replace(/\//g,"%2F")}tooltip.setAttribute("title",background);if(havelightbox&&anchor){anchor.appendChild(snapr);para.appendChild(anchor)}else{para.appendChild(snapr)}tooltip.appendChild(para);link=document.createElement("h2");link.innerHTML=(links[i].getAttribute("href").length>maxlength?links[i].getAttribute("href").substr(0,maxlength-3)+"...":links[i].getAttribute("href"));document.getElementsByTagName("body")[0].appendChild(tooltip)}if(havelightbox){if(document.all){}if(typeof myLightbox!="undefined"){myLightbox.updateImageList()}}initalizetooltip()}function getposOffset(d,c){var b=(c=="left")?d.offsetLeft:d.offsetTop;var a=d.offsetParent;while(a!=null){b=(c=="left")?b+a.offsetLeft:b+a.offsetTop;a=a.offsetParent}return b}function showhide(b,a){dropmenuobj.style.left=dropmenuobj.style.top="-500px";if(a.type=="mouseover"){b.visibility="visible"}}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}function clearbrowseredge(c,a){if(a=="rightedge"){edgeoffsetx=0;var b=ie&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;if(b-dropmenuobj.x<dropmenuobj.contentmeasure){edgeoffsetx=dropmenuobj.contentmeasure-c.offsetWidth}return edgeoffsetx}else{edgeoffsety=0;var b=ie&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18;dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;if(b-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffsety=dropmenuobj.contentmeasure+c.offsetHeight+(verticaloffset*2)}return edgeoffsety}}function displayballoontip(c,b){if(window.event){event.cancelBubble=true}else{if(b.stopPropagation){b.stopPropagation()}}if(typeof dropmenuobj!="undefined"){}dropmenuobj.style.visibility="hidden";clearhidemenu();dropmenuobj=document.getElementById(c.getAttribute("rel"));if(dropmenuobj.firstChild){var a=dropmenuobj.getAttribute("title");myImage=new Image();myImage.src=a}showhide(dropmenuobj.style,b);dropmenuobj.x=getposOffset(c,"left");dropmenuobj.y=getposOffset(c,"top")+verticaloffset;if(navigator.userAgent.match(/Opera/)){dropmenuobj.y-=4}else{if(document.all){dropmenuobj.y+=7}else{dropmenuobj.y-=3}}if(dropmenuobj.firstChild){dropmenuobj.firstChild.style.backgroundImage="url("+myImage.src+")"}dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(c,"rightedge")+"px";dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(c,"bottomedge")+c.offsetHeight+"px";if(enablearrowhead){displaytiparrow()}}function displaytiparrow(){var a,c;tiparrow=document.getElementById("seekxl_arrowhead");tiparrow.src=(edgeoffsety!=0)?arrowheadimg[0]:arrowheadimg[1];var b=(dropmenuobj.firstChild.filters&&dropmenuobj.firstChild.filters[0])?dropmenuobj.firstChild.filters[0].Strength-1:0;c=(edgeoffsetx!=0)?parseInt(dropmenuobj.style.left)+dropmenuobj.offsetWidth-tiparrow.offsetWidth:parseInt(dropmenuobj.style.left)-1;a=(edgeoffsety!=0)?parseInt(dropmenuobj.style.top)+dropmenuobj.offsetHeight-tiparrow.offsetHeight-b+arrowheadheight+4:parseInt(dropmenuobj.style.top)-arrowheadheight+4;if(navigator.userAgent.match(/Opera/)){}else{if(document.all){if(dropmenuobj.firstChild.filters&&dropmenuobj.firstChild.filters[0]&&edgeoffsety!=0){}a=(edgeoffsety!=0)?parseInt(dropmenuobj.style.top)+dropmenuobj.offsetHeight-tiparrow.offsetHeight-b+arrowheadheight-7:parseInt(dropmenuobj.style.top)-arrowheadheight-6;c=(edgeoffsetx!=0)?parseInt(dropmenuobj.style.left)+dropmenuobj.offsetWidth-tiparrow.offsetWidth-7:parseInt(dropmenuobj.style.left)-6}}tiparrow.style.top=a+"px";tiparrow.style.left=c+"px";tiparrow.style.visibility="visible"}function delayhidemenu(){delayhide=setTimeout("dropmenuobj.style.visibility='hidden'; dropmenuobj.style.left=0; if (enablearrowhead) tiparrow.style.visibility='hidden'",disappeardelay)}function clearhidemenu(){if(typeof delayhide!="undefined"){clearTimeout(delayhide)}}function reltoelement(b){var a=b.getAttribute("rel");return(a!=null&&a!=""&&document.getElementById(a)!=null&&document.getElementById(a).className=="seekxl_bubble")?true:false}function initalizetooltip(){var b=document.getElementsByTagName("a");if(enablearrowhead){tiparrow=document.createElement("img");tiparrow.setAttribute("src",arrowheadimg[0]);tiparrow.setAttribute("id","seekxl_arrowhead");document.body.appendChild(tiparrow)}for(var a=0;a<b.length;a++){if(reltoelement(b[a])){b[a].onmouseover=function(d){var c=window.event?window.event:d;displayballoontip(this,c)};b[a].onmouseout=delayhidemenu}}}function CreateEl(b,d){var a=document.createElement(b);a.className=d;a.style.display="block";return(a)}window.onload=function(){enableTooltips()}; 
Note: See TracChangeset for help on using the changeset viewer.