On 10/01/2009 17:47, Aigars V wrote: > Hi. > > I'm new with p.mapper. > > I add my own layer in pmapper_demodata, I get it to appear in TOC and map > window, so far all is great. > > > Now I want to get my hyperlink to work in Result window with my layer, > > I add "RESULT_HYPERLINK" "ID2" to pmapper_demo.map file. > > I tried to change custom.js for my layer and hyperlik, but it doesn't work. > I notice that even if I remove custom.js from javascript folder demodata > hyperlink works without any problem it means that custom.js dont work and it > gets > this wikipedia script from another file (pm_cjs.js). > > how to get custom.js to work ? > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users >
Place the custom.js file eith your modifications in your config directory. Check the source output of map.phtml in your browser (right-click/'View Page Source' in FF) and you can see which JS files are loaded. armin ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users