Adding links on page that show popups on map-- help?

Discussion created by saltavenger on Apr 17, 2014
Latest reply on May 6, 2014 by saltavenger
Hello-- I created a jsbin of what I have so far:

As you can see there is a list of links that (1-5) that should open up the appropriate popup on the map. There is a function showinfo at line 147 of the code that the links go to. The links are generated w/ code starting at line 138.

Unfortunately right now they just open whatever the last popup that was opened up... and if you haven't yet clicked on any of the popups the links do nothing. They also open up in the wrong spot if you zoom or move around the map.

This is my first stab at an arcgis map (my job is to convert an existing map from google), so I am hopefully just missing something in the documentation.

Any suggestions are greatly appreciated! THANKS