[pmapper-users] issue hiperlink
Brought to you by:
arminburger
From: stirner m. <sti...@ho...> - 2006-11-03 02:33:28
|
Hi list I am new in pmapper game I ask for tool hiperlink, is very interest.... My question is how I can work with Hiperlink.... I have pmapper 2.0 ..... I have an shape of point (hotel - restaurant) and have an field in data base with web site of hotel, restaurant, etc...... I how can that? I see other question about it, like : ------------------------------------------------------------------------------------------ ack Nicholson Fri, 28 Jul 2006 05:05:04 -0700 (PDT) In the mapfile you have to add in RESULT_HYPERLINK the fields of the chart that you use as link. Example: METADATA "DESCRIPTION" "layer" "RESULT_FIELDS" "ID,FIELD1,FIELD2" "RESULT_HEADERS" "Id,field1,field2" "RESULT_HYPERLINK" "FIELD||Link to detail" "LAYER_ENCODING" "UTF-8" END # Metadata After having done this you continue this way: In the first part of the javascript custom.js, has to insert the run of the file pdf that you want link, then to discriminate the various documents associate it to an univocal field for every polygon. window.open('http://localhost/pathtodocumet/file' +fldValue+ '.pdf'); -- but I have address to web site ... not document, so in part "window.open(".......?).....i don't know how put addrress web site.. I need Help please......I sorry my bad Inglish... Regards _________________________________________________________________ Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! http://latino.msn.com/entretenimiento/ |