view _xampp/xampp.js @ 14:ac77748bb813

- Load regex files based on current topic. Only show the regex in this topic. To do that, it needs to lookup a table called 'topic_regex_relation' which has the relation of topic and regex filename in filesystem. - Extractapp UI with some layout modification: button, popup window, responsive (by bootstrap now). It was just for quick prototyping.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 19 Feb 2015 11:07:27 +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;
}