Dear Armin! Thanks for this script! Only one question - what is hypLinkL[3] stands for? should we change number "3"? Am i correct that another two places we only need to change are "poi" and "photo_id" in layObj.name == "poi" && hL[hi] == 'photo_id'?
Anna ----- Original Message ----- From: "Armin Burger" <[EMAIL PROTECTED]> To: <pmapper-users@lists.sourceforge.net> Sent: Tuesday, October 23, 2007 11:28 PM Subject: Re: [pmapper-users] autoidentify tool displaying pictures > Currently there is no generic function that does that. You will have to > modify the parseJSON_IQuery function and make distinctions for each > layer where you want special settings, a bit like > > // Check for Hyperlinks > if (isObject(rowL[hi])) { > var hypLinkL = rowL[hi].hyperlink; > rhtml += '<td>' + hypLinkL[3] + '</td>'; > } else if (layObj.name == "poi" && hL[hi] == 'photo_id') { > rhtml += '<td><img src="incphp/imagesdisplay/showphoto.php?' + SID > + '&photo_id=' + rowL[hi] + '"></td>'; > } else { > rhtml += '<td>' + rowL[hi] + '</td>'; > } > > > I found a jQuery plugin for Javascript templates that I want to test and > see if it can be used for the display of queries. Then this could be > done in a more flexible and generic way. > > armin > > Anna Kostikova wrote: >> Hi Peter! >> >> I am also trying to find same functionality. >> >> Anna >> >> ----- Original Message ----- >> From: "peter damn" <[EMAIL PROTECTED]> >> To: <pmapper-users@lists.sourceforge.net> >> Sent: Monday, October 22, 2007 12:31 AM >> Subject: [pmapper-users] autoidentify tool displaying pictures >> >> >>> Hi pmapper users. >>> I would like to add to autoidentify tool some feature for additional >>> displaying pictures of the current object (with attributes) when I move >>> the >>> mouse over the map. I am really not sure where can I modify needed >>> javascript code to do that. >>> >>> please can somebody give me the hint? >>> >>> Thank You >>> Peter Damn > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users