view _xampp/xampp.js @ 16:fb948097de39

fix bug: Edittaglist is working on Firefox. fix bug: name of regex used to show with strange <span id="transmark"></span> showing only on FF but not Saf. Change it to use "document.getElementById(id).textContent to get the pure text string.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 20 Feb 2015 16:39:08 +0100
parents b12c99b7c3f0
children
line wrap: on
line source

function o(x,m)
{
	if(light==x)return;
	document.images[light+1].src="img/"+lightm+"_off.gif";
	light=x;
	lightm=m;
}

function h(t)
{
	if(typeof last == "undefined")
		last=document.anchors[0];
		
	last.className='n';
	t.className='nh';
	t.blur();
	last=t;
}

function l(n,m)
{
	document.images[n+1].src="img/"+m+"_on.gif";
}

function d(n,m)
{
	if(light==n)return;
	document.images[n+1].src="img/"+m+"_off.gif";
}

function c(u)
{
	parent.content.location=u;
}