JeffS Posted June 14, 2005 Posted June 14, 2005 I have an image of the US. When the user clicks on an area, I'd like a hidden search to be performed. Any ideas on how best to accomplish this?? Thanks You!
Lee Smith Posted June 14, 2005 Posted June 14, 2005 Hi Jeff, and Welcome to the forums. Take a look at the file [color:"blue"] US State Buttons at FMFiles.com Click Here to Go It is 4th from the bottom of the page. HTH Lee
JeffS Posted June 14, 2005 Author Posted June 14, 2005 Thanks. Actually, I have a pretty good image map of the US with clickable areas. I'm in need of the appropriate html or cdml to search a database when an area is clicked.
Lee Smith Posted June 14, 2005 Posted June 14, 2005 That would be in part of your Scripts. Check out the Open URL script step.
JeffS Posted June 14, 2005 Author Posted June 14, 2005 Thanks. I'll check that out. Does it make a difference that this is all web-based? The image map is on a different web server. Clicking on an area should query the database for information on that area clicked, and return the info. via the format file. Can scripts be dealt with this way? (As you can tell, I haven't dealt much with scripting in FileMaker!)Thanks again.
JeffS Posted June 14, 2005 Author Posted June 14, 2005 I've created a client-side image map and after researching a bit, figure I need to format a getURL command that will search the database and return the information according to a format file I've created. I've found something similar to what I need at: http://www.cs.sunysb.edu/~tony/364/recitation/database/databases.htm
JeffS Posted June 16, 2005 Author Posted June 16, 2005 Thanks for the above ideas Lee. After much trial and error, it seems that the following url will conduct the searches obtain the results I need, where the imagemap is served up by FileMaker: example: <ahref="FMPro?-DB=NameOfDatabase&-Format=FormatPage.htm&-op=eq&FieldnameToSearch=ContentOfFieldToSearch&-find">This is a link</a>
Lee Smith Posted June 16, 2005 Posted June 16, 2005 Hi Jeff, I am glad that my suggestions helped you in in some manner, however, please don't change the Subject Line of a Thread, but instead, make your thank you part of the Body of a Post. TIA Lee
Recommended Posts
This topic is 7103 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now