so a quick hack would be
- xmlhttp.js:
* function updateMap(murl):
add at the end of the function the line:
swapToLegendView();
* updateTocScale(tocurl)
comment out 1 line:
//swapToLegendView();
* function swapLegend(tocurl):
comment out 1 line:
//$('#toc').hide();
- map.phtml:
modify to (take care to set the line breaks again):
<!-- WEST -->
<div id="west">
<div id="toclegend" class="TOC" style="<?php echo
($_SESSION['userAgent'] == "mozilla" ? "height:100%" :
"height:auto;overflow:hidden") ?>; display:none;">pippo</div>
</div>
<!-- EAST -->
<div id="east" class="TOC">
<!-- LEGEND/TOC -->
<div id="tocContainer">
<form id="layerform" method="get" action="">
<div id="toc" class="TOC" style="<?php echo
($_SESSION['userAgent'] == "mozilla" ? "height:100%" : "height:auto")
?>;"></div>
</form>
</div>
</div>
config(_default).ini:
legStyle = swap
- js_config.php:
set values for
Layout.WestWidth = 200;
Layout.EastWidth = 200;
Layout.MarginInnerVertW = 8;
This way it should work...
you could rename the modified xmlhttp.js to zxmlhttp.js. This way you do
not risk to get it lost after an upgrade to a newer p.mapper version.
map.phtml is anyway considered as a usual file for customizations, so to
save it before an upgrade should be clear.
armin
[EMAIL PROTECTED] wrote:
>
> Good question Armin! It is not simply a curiosity of course. Let's say
> It is a "desirable" requirement, so if this is not complicated for me to
> implement (and for you to explain), I would be glad to know.
>
> Thanks very much
>
> regards, dejan
>
> [EMAIL PROTECTED] wrote on 03.12.2007 19:25:01:
>
> > Do you want to simply know it for curiosity in case you once might want
> > it, or do you need it? It is possible but requires minor code
> > modifications in a few files (some commenting out and a few new lines in
> > 1 file) to have it customized for a specific application. For more
> > generic solution it had to be defined in more accurate way.
> >
> > armin
> >
> > [EMAIL PROTECTED] wrote:
> > > Hi,
> > >
> > > I have a question that is not pretty important but would still like to
> > > know: is it (simply) possible to have a legend displayed on "west"
> and TOC
> > > on "east" side of the map?
> > >
> > > thanks
> > >
> > > regards, dejan
> > >
> -------------------------------------------------------------------------
> > > SF.Net email is sponsored by: The Future of Linux Business White Paper
> > > from Novell. From the desktop to the data center, Linux is going
> > > mainstream. Let it simplify your IT future.
> > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> > > _______________________________________________
> > > pmapper-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> > >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by: The Future of Linux Business White Paper
> > from Novell. From the desktop to the data center, Linux is going
> > mainstream. Let it simplify your IT future.
> > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> > _______________________________________________
> > pmapper-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users