Loading ...

how to insert in image link, popup box etc...

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  client side web development   » how to insert in image link, popup box etc...

how to insert in image link, popup box etc...

Posts under the topic: how to insert in image link, popup box etc...

Posted: 6/7/2011

Lurker 20  points  Lurker
  • Joined on: 6/6/2011
  • Posts: 4
Here is an extract of my coding

function displayTitle(name) {
return name + " <a href='#' ><img src='direction.png' alt='Get driving directions'/></a>";
}

I have a map inserted into my aspx page.
When I click on one icon, the name and the direction.png picture will appear as a pop up box within the map

I want to make the direction.png picture into a link, whereby when I click on it, a pop up box will appear.

How?

Posted: 6/7/2011

Professional 8505  points  Professional
  • Joined on: 5/3/2010
  • Posts: 391
  Answered

I'm not sure if I understand your query well, but you may use jQuery to manipulate the map and show maybe tooltips or dialogs (with jQuery UI or similar).

Please check this post: http://jquery-howto.blogspot.com/2009/01/jquery-and-html-image-maps.html

Hope this helps.


Posted: 6/9/2011

Lurker 20  points  Lurker
  • Joined on: 6/6/2011
  • Posts: 4

something like this -- an example is Google Map. search for a location, lets say Effiel Tower. the Google Map will direct you to Effiel Tower. On the map itself, there will be a marker. click the marker, and you will see a box appear, writing the word "Effiel Tower". below there will be a link called "Directions". Click it and on the left, a box will appear for you to enter your starting point to your destination. For my case, this link is an image link. i want to make it that when i click it, a popup box appear for me to enter my starting point only.

unfortunately i am not using Google map...

 

sigh


Posted: 6/26/2011

Professional 8505  points  Professional
  • Joined on: 5/3/2010
  • Posts: 391

a kh said:

something like this -- an example is Google Map. search for a location, lets say Effiel Tower. the Google Map will direct you to Effiel Tower. On the map itself, there will be a marker. click the marker, and you will see a box appear, writing the word "Effiel Tower". below there will be a link called "Directions". Click it and on the left, a box will appear for you to enter your starting point to your destination. For my case, this link is an image link. i want to make it that when i click it, a popup box appear for me to enter my starting point only.

unfortunately i am not using Google map...

sigh

Search for jQuery based plugins for Maps. I have seen something with similar features. I was working on similar thing previously, but it wasn't related with maps, so... the custom solution has many steps to accomplish, thats why if you need it fast, the best would be to search for the available ones on net.

Give us feedback what will you do and if we can assist more on this...

Best Regards,
Hajan


Page 1 of 1 (4 items)