Hi,
to start p.mapper with first category opened and others collapsed I have
in javascript/toc.js this modification:
/**
* Initialize TOC tree
*/
function treeInit(catStyle, grpStyle) {
var catcList = $('div.catc');
for (var i=0; i<catcList.length; i++) {
catcList[i].style.display='none';
//--TOC will start with closed categories if next line is removed
// tg(catcList[i].id);
}
// first category is open
tg(catcList[0].id);
// collapse all groups
if (PMap.grpStyle == 'tree') {
$('div.grpc').hide();
}
// check/enable default groups
setDefGroups();
// check/enable all categories
$("#toc [EMAIL PROTECTED]'catscbx']").check('on');
// run all scripts after init of toc
tocPostLoading();
}
Ivan
On Tuesday 10 June 2008 16:08, Gabriel Messner wrote:
> Hi all,
>
> I´d hugly appreciated if anyone could tell me how to configure pmapper to
> choose wheather collapse or expand layers in TOC when I run pmapper.
>
> Thanks in advance.
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users