diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2013-09-28 15:12:03 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2013-09-28 15:12:03 -0700 |
commit | 3b95d4aec6334b0e18eed433120fd549eaa5fa36 (patch) | |
tree | dc849b8a5e5414cda9bd7836a7b356f4948015c1 /doc/Viewing Large Images with Seadragon and Pythonhtml_files/w.js | |
download | cpan-explorer-master.tar.gz |
import cpan-explorer master
Diffstat (limited to '')
-rw-r--r-- | doc/Viewing Large Images with Seadragon and Pythonhtml_files/w.js | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/Viewing Large Images with Seadragon and Pythonhtml_files/w.js b/doc/Viewing Large Images with Seadragon and Pythonhtml_files/w.js new file mode 100644 index 0000000..5944dc0 --- /dev/null +++ b/doc/Viewing Large Images with Seadragon and Pythonhtml_files/w.js @@ -0,0 +1,48 @@ +function st_go(a){var i,u=document.location.protocol+'//stats.wordpress.com/g.gif?host='+escape(document.location.host)+'&rand='+Math.random();for(i in a){u=u+'&'+i+'='+escape(a[i]);}u=u+'&ref='+escape(document.referrer);document.open();document.write("<img id=\"wpstats\" src=\""+u+"\" alt=\"\" />");document.close();} +function ex_go(a){var i,u=document.location.protocol+'//stats.wordpress.com/g.gif?v=wpcom2&rand='+Math.random();for(i in a){u=u+'&'+i+'='+escape(a[i]);}document.open();document.write("<img id=\"wpstats2\" src=\""+u+"\" alt=\"\" style=\"display:none\" />");document.close();} +function re_go(a){var i,u=document.location.protocol+'//stats.wordpress.com/g.gif?rand='+Math.random();for(i in a){u=u+'&'+i+'='+escape(a[i]);}document.open();document.write("<img id=\"wpstats\" src=\""+u+"\" alt=\"\" style=\"display:none\" />");document.close();} + +function clicktrack(e){var t;if(e){t=e.target;}else{t=window.event.srcElement;}linktrack(t,500);} +function contexttrack(e){var t;if(e){t=e.target;}else{t=window.event.srcElement;}linktrack(t,0);} +function linktracker_init(b,p){ + _blog=b; + _post=p; + _host=document.location.host?document.location.host:document.location.toString().replace(/^[^\/]*\/+([^\/]*)(\/.*)?/,'$1'); + if(document.body){document.body.onclick=clicktrack;document.body.oncontextmenu=contexttrack;}else if(document){document.onclick=clicktrack;document.oncontextmenu=contexttrack;}else{} +} +function linktrack(a,d){try{ + if (!a||a==null) return; + while (a.nodeName != "A") { + if ( typeof a.parentNode == 'undefined' ) return; + a = a.parentNode; + if ( !a ) return; + } + b=a; + while (b.nodeName != "BODY") { + if ( typeof a.parentNode == 'undefined' ) return; + b = b.parentNode; + if ( b.id == 'wpcombar' ) return; + } + if(a.href.match(eval('/^(http(s)?:\\/\\/)?'+_host+'/'))) return; + if(a.href.match(eval('/^javascript/'))) return; + var bh=a.href; + var pr=document.location.protocol||'http:'; + var r=(typeof a.rel != 'undefined')?escape(a.rel):'0'; + var b=(typeof _blog != 'undefined')?_blog:'0'; + var p=(typeof _post != 'undefined')?_post:'0'; + //var x=document.createElement('IMG'); + var src=pr+'//stats.wordpress.com/c.gif?b='+b+'&p='+p+'&r='+r+'&u='+escape(bh)+"&rand="+Math.random(); + if ( a.className.match('flaptor') ) { + var fx=function(c){return c.replace(/flaptor\s*/, '')}; + var f='b'+_blog+'p'+_post+' '+fx(a.className); + var links=document.getElementsByTagName('A'); + for ( i=0; i<links.length; i++ ) { + if ( links[i].className.match('flaptor') ) + f=f+' '+fx(links[i].className); + } + src=src+'&f='+f; + } + var x=new Image(1,1); + x.src = src; + if(d){var now=new Date();var end=now.getTime()+d;while(true){now=new Date();if(now.getTime()>end){break}}} +}catch(e){}} |