[Mageia-i18n] JQuery idea for words not so well known

Joita Dan-Marian djmarian4u at hotmail.com
Wed Feb 13 12:28:27 CET 2013


Hi,
I was thinking of a JQuery explanation of words that are less used in some languages.Explaining might be harder to do so the English version of a line could be displayed when hovering over the lines which contain those words.Since i don't know how the database is structured, i thought these numbers '+28, +29 ' mean something and can be used to SELECT lines from let's say English.
- a little .js:var mouseX;var mouseY;$(function(){	$(document).mousemove( function(e) {		mouseX = e.pageX; 		mouseY = e.pageY;	});  	$(".en_ver0").hover(function(){		$("#en_ver").css({'top':mouseY,'left':mouseX}).show();	},	function(){		$("#en_ver").fadeOut(500);	});});
- and a little div:<div id="en_ver" style="display:none;position:absolute"><?php 'SELECT en ver +28' ?></div>
Sorry for my bad JQ and php, but i hope someone gets the idea.
Respectfully,Dan. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-i18n/attachments/20130213/e8fc9e7e/attachment.html>


More information about the Mageia-i18n mailing list