view _xampp/xampp.js @ 17:82f8c6bd2b69

add new tag will based on the current topic_id, insert new element into (1)taglist table and (2)topic_tag_relation table
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 20 Feb 2015 17:57:02 +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;
}