hide html flash at start page
This commit is contained in:
@@ -8,7 +8,7 @@ function mp_create_div(&$filters) {
|
|||||||
|
|
||||||
foreach ($filters as $key => $filter) {
|
foreach ($filters as $key => $filter) {
|
||||||
$mp_map_div .= '
|
$mp_map_div .= '
|
||||||
<div class="filter_menu">
|
<div class="filter_menu" style="display:none;">
|
||||||
<div class="filter_menu_title" tabindex=0>
|
<div class="filter_menu_title" tabindex=0>
|
||||||
<p>'.$key.'</p>
|
<p>'.$key.'</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
function mp_filter_selection(indexes) {
|
function mp_filter_selection(indexes) {
|
||||||
|
|
||||||
/*
|
|
||||||
* following variable are created by mp_add_to_script.php
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
console.log(indexes);
|
console.log(indexes);
|
||||||
// coordinates.setMap(map);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,12 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
overwrite display:none to avoid html flash at begining
|
||||||
|
<div class="filter_menu" style="display:none;">
|
||||||
|
*/
|
||||||
#ljdp_map_filters .filter_menu {
|
#ljdp_map_filters .filter_menu {
|
||||||
|
display: flex !important;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid #ba197a;
|
border: 1px solid #ba197a;
|
||||||
|
|||||||
Reference in New Issue
Block a user