Project

General

Profile

Bug #41327

Updated by Simon Schaufelberger about 5 years ago

this code does NOT work; 
 <pre> 
	 jsInline { 
		 10 = TEXT 
		 10.value ( 
			 jquery(document).ready(function($) { 
				 $('.pagination li').hover( 
					 function(){$(this).not('.current').find('em').stop().animate({left: "0px"}, 300)}, 
					 function(){$(this).not('.current').find('em').stop().animate({left: "-270px"}, 300)} 300) 
				 ); 
			 }); 
		 ) 
	 } 
 </pre> 
 but this one does (notice the last line): 
 <pre> 
	 jsInline { 
		 10 = TEXT 
		 10.value ( 
			 jquery(document).ready(function($) { 
				 $('.pagination li').hover( 
					 function(){$(this).not('.current').find('em').stop().animate({left: "0px"}, 300)}, 
					 function(){$(this).not('.current').find('em').stop().animate({left: "-270px"}, 300)});}); 300));}); 
		 ) 
	 } 
 </pre> 
 i guess TYPO3 somehow interprets the last closing brackets as the closing bracket for the 10.value which is really strange.

Back