This goes in the cartoclient.tpl so you did it
right.
now, when you do a query, it should fill the <div> with
a table of results. It will not be displayed on your screen but you can see it
if you look at the source of the page (View->Page Source in your
browser)
So, do you see the table result in the source? You can try to
temporarily remove the style="display:none;" so you can the
result on your page
If you have a table of result, it should now activate the
_javascript_ when the page load. If you look at the page source, you should find
"var result = 1;"
If you see "var result = 0" then there was no result to your query and the
<div> should be empty too.
If "var result = 1;", do you have any
_javascript_ errors reported in your browser? If yes, what is the error
message.
Oliver
|
_______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users