Hi,
I’m busy upgrading my Google Maps plug-in and one of the things that I want to do is the developer can decide the width of the map by using either
px or *%*, irrespective of the region template the developer for the plug-in.
Currently I define the Map as follows:
SYS.HTP.p ( '<div id="'
|| p_region.static_id
|| '_map" style="width:'
|| l_width
|| 'px; height:'
|| l_height
|| 'px"</div>'
);
Now I though the change would be simple enough. I replace *| 'px; height:'* with *|| '; height:'* in the code above and have the developer add either the
px or *%* in
l_width
But it does not work; when I enter *%* the map is not shown at all.
The html code generated by Apex shows
<td class="tbl-main" width="100%"><div id="R2153213947910908_map" style="width:90%;height:500px"</div></td>
What am I doing wrong ???
Kind regards
Johannes