NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 07, 2014, 09:24:50 AM
-
Hi,
My client need to have an image, like the attached one and need to tag on the circles.
Any idea on how to do it?
May be using Maps?
Thanks
[attachment deleted by admin]
-
I think you could use an _ImageMap_ rather than a "Geography map".
You'll need to read up a bit on the HTML <map> tag, but once you understand it you can use the p_web.FreeUseMap, p_web.CreateUseMap and p_web.AddArea methods to create the HTML you need.
Cheers
Bruce
-
Ok, and how do I use an _ImageMap_ instead, I didnt find that option playing with the Map example.
At least not in the Webserver extention or in the Map Field.
Thanks
-
ImageMaps and Maps are very different things. The Maps example deals with Maps, not ImageMaps. As I recall the ImageMap functionality was added for someone to use, but I don't think I made any examples with it.
Your best approach is to read up on HTML imagemaps and see how they work, and then go from there.
-
Ok, I´ll do the homework about MAP and ImageMap and let you know...
You said... As I recall the ImageMap functionality was added for someone to use,
How do I use or activate the ImageMap functionality? I dont found it in the form Fields
Thanks
-
Ok, I´ve played with Imagemap but it only define zones over the image that let you go to another image.
What I need is make a mark over the circles when the user clicks it AND cuold save this marks AND could redone it in the future when the user sees that image again.
Like when you tag in a map.
Any way to do it?
-
maybe you can build a small example of the form you have in mind, then post it here, and we can go from there.
ie get to to the point you describe - where you've defined the image map, and the click goes somewhere.
cheers
Bruce
-
Ok, Im trying to do this.
Which fild type must I use?
The code of the map is like:
'<map name="\IMAGES\HOMBRECITO.JPG">'& |
'<area shape="circle" alt="1" title="1" coords="226,102,5" href="\IMAGES\INSERT.jpg" target="_self" />'& |
'<area shape="circle" alt="2" title="2" coords="194,102,4" href="\IMAGES\INSERT.jpg" target="_self" />'& |
'<area shape="circle" alt="3" title="3" coords="160,127,8" href="\IMAGES\INSERT.jpg" target="_self" />'& |
'........'
'</map>'
I tried to use a Display field and add the code to the text/html/allow and the result is nothing, seeing it with Firebug it appears disable, see image 1
If I use a Map field I dont know where to add the map code.
How must I do it?
Thanks
[attachment deleted by admin]