I have this code to navigate to another url which works great. But I want the page to just pop up and go away when the mouse is not on the hotspot and popup again on another hotspot. I also need to show data for that hotspot in the popup page. So I need to pass parameters to it somehow.
DougP, MCP, A+
Code:
Dim Shop As New ImageMap
Shop.ImageUrl = "Grdwatermntrwell.jpg"
Shop.AlternateText = "Well Points"
' Add the ImageMap control to the
' Controls collection of the page.
Page.Controls.Add(Shop)
' Programmatically create a CircleHotSpot object.
Dim Circle1 As New CircleHotSpot
Circle1.HotSpotMode = HotSpotMode.Navigate
Circle1.NavigateUrl = "data.aspx"
Circle1.X = 210
Circle1.Y = 97
Circle1.Radius = 17
Circle1.AlternateText = "Well Points"
' Add Circle1 to the ImageMap's HotSpotCollection.
Shop.HotSpots.Add(Circle1)
DougP, MCP, A+