Salo replace the custom.js with the one from here
http://svn.pmapper.net/trac/export/1234/trunk/pmapper/config/default/custom.js and then swap the comments for lines 14/15. If you need some more specific you need to modify the code accordingly. armin On 20/11/2011 17:44, salo wrote: > > Thanks Serge, > > But really, I want is to show the following funtion (custom.js) as a > pmapper's dialog box, please help me! > > > // Sample Hyperlink function for result window > openHyperlink: function(layer, fldName, fldValue) { > switch(layer) { > case 'mpios': > //if (fldName == 'CITY_NAME') { > window.open('http:/' + '/en.wikipedia.org/wiki/' + > fldValue, 'wikiquery'); > //} > break; > > default: > alert ('See function openHyperlink in custom.js: ' + layer + > ' - ' + fldName + ' - ' + fldValue); > } > }, > > --- > > Salo > > Sypou wrote: >> >> Hi Salo, >> >> To do that, you need to check and know how pmapper deals with the dialog >> box. >> >> You can give it a try by adding the same functions and scripts let's say >> similar to help. >> >> - pm.pmapper.js in javascript/src -> add dialog (line 242) >> and >> open dialog (line 360) >> - js_config in config/default -> Tool link elements (line >> 196) >> - language_en in incphp/locale -> depending on the language you use >> - yourfile.phtml under your main site folder -> you can refer to the >> help.phtml >> >> Hope it can help. >> >> Serge >> >> >> >> On Fri, Nov 18, 2011 at 5:45 PM, salo<e_ramire...@yahoo.es> wrote: >> >>> >>> Hello everyone, >>> >>> I want to open a hiperlink in same dialog box that pmapper use to open >>> search, help, etc. >>> >>> Please help me! >>> >>> Thanks! >>> >>> Salo. >>> >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--tp32865640p32865640.html >>> Sent from the pmapper users mailing list archive at Nabble.com. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> All the data continuously generated in your IT infrastructure >>> contains a definitive record of customers, application performance, >>> security threats, fraudulent activity, and more. Splunk takes this >>> data and makes sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-novd2d >>> _______________________________________________ >>> pmapper-users mailing list >>> pmapper-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>> >> >> >> >> -- >> Serge >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users