src/polemictweet/static/js/event.js
changeset 1 5a91860c5535
child 6 f3ba7e0bed68
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/polemictweet/static/js/event.js	Fri Feb 08 18:00:04 2013 +0100
@@ -0,0 +1,23 @@
+function init_events(){
+	$j("#translate_title").hide();
+	$j("#translate_description").hide();
+	$j("#translate_program").hide();
+	$j("#translate_event_image").hide();
+	
+	$j("#displayTranslateDescription").click(function(){
+		$j("#translate_description").slideToggle("fast");
+	});
+	
+	$j("#displayTranslateProgram").click(function(){
+		$j("#translate_program").slideToggle("fast");
+	});
+	
+	$j("#displayTranslateTitle").click(function(){
+		$j("#translate_title").slideToggle("fast");
+	});
+	
+	$j("#displayTranslateEventImage").click(function(){
+		$j("#translate_event_image").slideToggle("fast");
+	});
+		
+}
\ No newline at end of file