# Onclick map scrolls to building

**URL:** <https://forum.kirupa.com/t/onclick-map-scrolls-to-building/179162>\
**Category:** Uncategorized\
**Created:** [February 17, 2006, 5:50am UTC](https://forum.kirupa.com/t/onclick-map-scrolls-to-building/179162 "2006-02-17T05:50:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dechef](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dechef](https://forum.kirupa.com/u/dechef)\
**Post date:** [February 17, 2006, 5:50am UTC](https://forum.kirupa.com/t/onclick-map-scrolls-to-building/179162/1 "2006-02-17T05:50:23Z")

</div>

understand this  
click on the url or link [[COLOR=#800080]http://www.uconn.edu/map/[/COLOR]](http://www.uconn.edu/map/)  
[COLOR=#800080][/COLOR]  
step1:  
Now do u see the search input box on the right hand side of the map.  
enter and letter…lets say “c” and click search …i hope u have done that .  
step2:  
wait and see how the names of diffrent buildings drop below the search button .  
do u see that .fine  
step3:  
click on the zoom in button …this is just below the map …just on the left below …okay here the real map comes out and is more visible i.e it zooms in  
step4:  
click on the of the building names just below the search area we used in step in “step2”.  
step 5:  
do u notice that when u click on any building name …the map just slides or scrolls right to that building automatically and an arrow pops out pointing at the building …okay now  
step 6:  
how can achieve this on my buttons so that my map which is with an instance map\_mc scrolls right to a building when any of the building buttons are clicked …  
when the map
