Browse Source

added function placePicXY

Thomas Thümmler 3 years ago
parent
commit
adad440691
1 changed files with 8 additions and 0 deletions
  1. 8 0
      SDS_status_functions.php

+ 8 - 0
SDS_status_functions.php

@@ -9,6 +9,14 @@
 	}
 	
 
+	function placePicXY($posY, $posX, $pic, $sizex, $sizey, $title)
+	{
+		echo '<div title="' . $title . '" style="position:absolute; top:' . $posY . 'px; left:' . $posX . 'px">';
+		echo '<img src="pics/' . $pic . '" width="' . $sizex . '" height="' . $sizey . '">';
+		echo '</div>';
+	}
+
+
 	function placePicWithLink($posY, $posX, $pic, $size, $title, $link)
 	{
 		echo '<a href="https://adei-katrin.kaas.kit.edu/adei/#module=graph&db_server=virtual&db_name=srctree&db_group=-3&control_group=-3&db_mask=all&experiment=-&window=86400&module=graph&virtual=srctree&srctree=' . $link . '" target="_blank">';