[ka-Map-users] Customizing toolbar in kaExplorer
Lorenzo Becchi
lorenzo at ominiverdi.com
Mon Jan 19 16:24:45 EST 2009
Hi Jae,
there's a complex and an easy way.
the former is, helped by a debugger like firebug, to cut away all code
you don't need from startUp.js. It's not that easy because that code
should be cleaner.
the latter is to set display:none to toolSearch object in screen.css (or
directly in the element):
<img src="images/a_pixel.gif" alt="Search places in the database"
title="Search places in the database" onclick="switchService(this.id);"
id="toolSearch" style="display: none;"/>
ciao
Lorenzo
CHUNRIMACHUNRIMA wrote:
> Hi all,
>
> Is there a way to get ride of one of toolbars in KaExplorer viewer.
>
> For example, I would like to remove "search tool" right next to
> "identify tool" shown in
> http://clima.ominiverdi.org/ka-map/htdocs/.
>
> But,
> When I comment out the image (searchtool) in index.html like below
> <!--<img id="toolSearch" onclick="switchService(this.id);"
> title="Search places in the database" alt="Search places in the
> database" src="images/a_pixel.gif" >-->
> I couldn't be able to redraw the page.
>
> I also tried to comment out all related code in startUp.js, but it
> didn't work either.
>
> e.g) commented out the following code
> //getRawObject('toolSearch').style.backgroundImage =
> 'url(images/icon_set_explorer/tool_search_1.png)';
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Jae
>
>
>
> ------------------------------------------------------------------------
> 내 맘대로 바꾸는 배경 화면 색, 더욱 다양해진 홈페이지 슬라이드 쇼 구
> 성! 확 달라진 MSN 홈페이지! <http://www.msn.co.kr>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
More information about the ka-Map-users
mailing list