Forum Moderators: mack

Message Too Old, No Replies

Applying information to locations on a map

Callouts?

         

RiverRunner

7:59 pm on Feb 21, 2008 (gmt 0)

10+ Year Member



OK- Working with Dreamweaver 8 and Flash 8. I have a map, (a pdf) with multiple locations (sponsors) and what I’d like to do is be able to click on their location, currently a number on the map and have a “callout” type feature appear with the sponsor information. I have jpg’s of business cards from each and would like to use them in/as the info “callout”. What I was thinking was on the lines of how Answers(.)com does their alt+click. It’s a new “window” but regardless of my IE settings it appears pre-sized and always on top with a close feature.

Does this procedure have a name?
Where do I start?
Do I have to convert the pdf to something else? If so; how & what?

Thanks in advance-
Rookie willing to try

jtara

5:56 pm on Feb 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll either have to work with a PDF editor (assuming this is possible in a PDF) or convert it to some image format.

PDFs aren't very "user friendly" for this type of use. They are great for documents that your users would like to download and keep. They are familiar to users in certain professions, but the average non-technical user probably hates them. (Except when they need a service manual for their lawnmower.)

Once in a web-friendly image format (jpg, gif, png - for a map, gif or png would be best) you can use Javascript and CSS to do this. You might want to investigate the various Javascript widget and effects libraries (Prototype/scriptaculous, etc.) which will eliminate a lot of Javascript-coding on your part, look great, and work across multiple browsers.

Make sure you have the right to reproduce the map!

rocknbil

6:40 pm on Feb 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can create and execute Javascript commands on bookmark pages, media clips, form fields, and the document itself using the full Standard or Professional version of Acrobat. It's nowhere near as robust as Javascript in a page, but it can be done.

See Help->Index->Javascript.

To access the JavaScript Reference Guide for Acrobat, go to [partners.adobe.com...] (English only)

Since you have Flash, your task would be immensely easier if you built it in Flash.

phranque

12:40 am on Feb 23, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



does it have to be a pdf?
why not do it in javascript with google maps [code.google.com]?