Hi,
many thanks, for the support.
cheers
Pedro
The attributes as they are written field:
Car,
or
Boat
or
Car, Boat
The code is this:
HTML:
<div style="display: {expression/expr4};"><a href="https://www.quicksilver-boats.com/media/391646/755-sundeck-running-268_original_hero_2000x1125.jpg?anchor=center&mode=crop&width=616&height=347&rnd=132161251460000000">{Equipment}</a></div>
<div style="display: {expression/expr3};"><a href="https://www.esmadrid.com/sites/default/files/styles/content_type_full/public/editorial/coches_compartidos_madrid.jpg?itok=gTSAwa66">{Equipment}</a></div>
HTML - but table incorporated.
<table style="width:100%;">
<tbody>
<tr style="display:{expression/expr4}"> <td style="width:200px; text-align:left; background-color:#302f2f; padding:5px"><a href="https://www.quicksilver-boats.com/media/391646/755-sundeck-running-268_original_hero_2000x1125.jpg?anchor=center&mode=crop&width=616&height=347&rnd=132161251460000000">{Equipment}</a> </td> </tr>
<tr style="display:{expression/expr3}"> <td style="width:200px; text-align:left; background-color:#302f2f; padding:5px"><a href=" https://www.esmadrid.com/sites/default/files/styles/content_type_full/public/editorial/coches_compartidos_madrid.jpg?itok=gTSAwa66 ">{Equipment}</a> </td> </tr>
</tbody></table>
Arcade:
Expression/expr3
//show_car
var arrName = Split($feature.Equipment, ",")
for (var i in arrName) {
if(arrName[i]=="car") {return "block"}
}
return "none"
Expression/expr4
/show_boat
var arrName = Split($feature.Equipment, ",")
for (var i in arrName) {
if(arrName[i]=="boat") {return "block"}
}
return "none"