[med-svn] r3515 - trunk/community/website/inc

Andreas Tille tille at alioth.debian.org
Sun Jun 21 14:29:24 UTC 2009


Author: tille
Date: 2009-06-21 14:29:22 +0000 (Sun, 21 Jun 2009)
New Revision: 3515

Modified:
   trunk/community/website/inc/style.css
   trunk/community/website/inc/wz_tooltip.js
Log:
Enable better rendering of tooltips


Modified: trunk/community/website/inc/style.css
===================================================================
--- trunk/community/website/inc/style.css	2009-06-20 09:45:55 UTC (rev 3514)
+++ trunk/community/website/inc/style.css	2009-06-21 14:29:22 UTC (rev 3515)
@@ -674,9 +674,22 @@
 	text-align: right;
 	border-bottom: 1px dotted blue;
 	padding: 3px;
-	width: 36ex;
+	width: 28ex;
 }
 
+td.project-icon{
+	text-align: right;
+	border-bottom: 1px dotted blue;
+	padding: 3px;
+	width:10ex;
+}
+
+img.icon{
+	width:10ex;
+	height:10ex;
+	border:2px solid #8CACBB;
+}
+
 /* middle column of header table of a package containing more detailed info about packages */
 td.project-info {
 	text-align: center;
@@ -685,6 +698,11 @@
 	width: 160px;
 }
 
+/* hide tooltips */
+.tooltip {
+	display:none;
+}
+
 div.project-info {
 	text-align: center;
 	background: url(../img/features.png) no-repeat;

Modified: trunk/community/website/inc/wz_tooltip.js
===================================================================
--- trunk/community/website/inc/wz_tooltip.js	2009-06-20 09:45:55 UTC (rev 3514)
+++ trunk/community/website/inc/wz_tooltip.js	2009-06-21 14:29:22 UTC (rev 3515)
@@ -46,7 +46,7 @@
 //===================  GLOBAL TOOLTIP CONFIGURATION  =========================//
 var tt_Debug	= true		// false or true - recommended: false once you release your page to the public
 var tt_Enabled	= true		// Allows to (temporarily) suppress tooltips, e.g. by providing the user with a button that sets this global variable to false
-var TagsToTip	= true		// false or true - if true, HTML elements to be converted to tooltips via TagToTip() are automatically hidden;
+var TagsToTip	= false		// false or true - if true, HTML elements to be converted to tooltips via TagToTip() are automatically hidden;
 							// if false, you should hide those HTML elements yourself
 
 // For each of the following config variables there exists a command, which is
@@ -75,7 +75,7 @@
 config. FadeOut			= 100
 config. FadeInterval	= 30		// Duration of each fade step in ms (recommended: 30) - shorter is smoother but causes more CPU-load
 config. Fix				= null		// Fixated position, two modes. Mode 1: x- an y-coordinates in brackets, e.g. [210, 480]. Mode 2: Show tooltip at a position related to an HTML element: [ID of HTML element, x-offset, y-offset from HTML element], e.g. ['SomeID', 10, 30]. Value null (default) for no fixated positioning.
-config. FollowMouse		= true		// false or true - tooltip follows the mouse
+config. FollowMouse		= false		// false or true - tooltip follows the mouse
 config. FontColor		= '#000044'
 config. FontFace		= 'Verdana,Geneva,sans-serif'
 config. FontSize		= '8pt'		// E.g. '9pt' or '12px' - unit is mandatory
@@ -475,11 +475,13 @@
 	if(!window.tt_HideSrcTags || window.tt_HideSrcTags.done)
 		return;
 	window.tt_HideSrcTags.done = true;
+/*
 	if(!tt_HideSrcTagsRecurs(tt_body))
 		tt_Err("There are HTML elements to be converted to tooltips.\nIf you"
 				+ " want these HTML elements to be automatically hidden, you"
 				+ " must edit wz_tooltip.js, and set TagsToTip in the global"
 				+ " tooltip configuration to true.", true);
+ */
 }
 function tt_HideSrcTagsRecurs(dad)
 {




More information about the debian-med-commit mailing list