2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: refixed again, removed the old method to put the items, the new method is with top and left instead the margin-top and margin-left. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
cf8f5dc043
commit
4a70cb0c2e
|
@ -1,3 +1,9 @@
|
|||
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: refixed again, removed the old method
|
||||
to put the items, the new method is with top and left instead the margin-top
|
||||
and margin-left.
|
||||
|
||||
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php,
|
||||
|
|
|
@ -204,7 +204,7 @@ function visual_map_print_item($layoutData) {
|
|||
|
||||
$percentile = round($percentile);
|
||||
|
||||
echo '<div id="' . $id . '" class="item percentile_item" style="left: 0px; top: 0px; color: ' . $color . '; text-align: center; position: absolute; ' . $sizeStyle . ' margin-top: ' . $top . 'px; margin-left: ' . $left . 'px;">';
|
||||
echo '<div id="' . $id . '" class="item percentile_item" style="color: ' . $color . '; text-align: center; position: absolute; display: inline-block; ' . $sizeStyle . ' top: ' . $top . 'px; left: ' . $left . 'px;">';
|
||||
echo $text . '<br />';
|
||||
|
||||
ob_start();
|
||||
|
@ -225,7 +225,7 @@ function visual_map_print_item($layoutData) {
|
|||
$height, '', null, false, 1, false, 0, '', 0, 0, true, true);
|
||||
$img = str_replace('>', 'class="image" id="image_' . $id . '" />', $img);
|
||||
|
||||
echo '<div id="' . $id . '" class="item module_graph" style="left: 0px; top: 0px; color: ' . $color . '; text-align: center; position: absolute; display: inline-block; ' . $sizeStyle . ' top: ' . $top . 'px; left: ' . $left . 'px;">';
|
||||
echo '<div id="' . $id . '" class="item module_graph" style="color: ' . $color . '; text-align: center; position: absolute; display: inline-block; ' . $sizeStyle . ' top: ' . $top . 'px; left: ' . $left . 'px;">';
|
||||
echo $text . '<br />';
|
||||
echo $img;
|
||||
echo '</div>';
|
||||
|
|
Loading…
Reference in New Issue