On 21/04/2009 15:15, Alberto Poggi wrote:
> Hi to all,
> 
> I have tried to use the plugin "mapselect" in Pmapper version 4.0 beta
> 1 but I can not see the menu of available maps. I've tried this plugin
> in version 3.2 and it works very well.
> I think the problem is in the file map.phtml because the <div id =
> "mapSelectContainer" is not defined in this file . The syntax of
> version 3.2 is not usable in version 4.0 and I can not reproduce the
> correct syntax.
> Someone can help me solve this problem?
> 
> Thank you
> 
> Alberto Poggi


Just add the <div id="mapSelectContainer" /> at the place where you want 
it, either creating you custom PHP function to write the HTML, with 
static HTML, or - most flexible - with Javascript. The latter e.g. 
adding a line to one of the sections

$(document).ready(function() {
     ...
});

like

$('#idOfTheDivWhereToPlaceIt').append($('<div/>').id('mapSelectContainer'));

armin

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to