To use hyperlinks You have to have also this in mapfile:
RESULT_HEADERS Name of database field
RESULT_FIELDS database_field
RESULT_HYPERLINK database_field || hyperlink
Then it will appear and You can call it from custom.js. See documentation.
On Thursday 06
Hello to all users p.mapper
I am completing an application, but I need a couple of things:
I modified the file custom.js which is located in the directory javascript
/ src / to create hyperlinks, but no modification is taken into account.
Are there any other file custom.js where change?
I would like to try loading interlaced PNG and JPEG to pmapper. I have
correctly configured it in mapfile, but only first image after the start of
the browser is loaded as interlaced, others are rendered after they are fully
loaded. I looked in x_load.php but have no idea.
Can You give the
I never see any interlacing effect. The map image is *always* requested
via x_load.php and it is loaded via JS that changes the src tag of the
map image.
armin
On 06/03/2008 18:25, Ivan Mincik wrote:
I am in one circle between x_load.php, function function updateMap(murl) from
xmlhttp.js
you can create the required Javascript function 'openHyperlink()' in
*any* JS file located under /javascript/ or the /config/.../ dir.
Changing the function under /javascript/src/ will not help, the JS files
there are not loaded. The release 3.2 and some previous betas use a
single compressed
I have some slight doubts that the images produced via Mapscript are
really interlaced. At least with standard tools like irfanview or Gimp
they do not have the tag 'interlaced'. But they have it if I create it
with Gimp and the interlaced option or if I create the image with
shp2img. Maybe a