dpkdayton
06-08-2004, 09:16 AM
I am an absolute beginner when it comes to javascript. I am working with ESRI ArcIMS which uses javascript. I am hyperlinking jpg's to parcels in a web mapping application. Here is my problem. The images are divided up into directories. When the user clicks on a parcel on the mapping web site it brings up the jpg. Problem is not every parcel has a photo. I need to scan the directory to see if the photo exists, if not display a default image.
How do I do this in js? How do I comare a file name from the hyperlink on the web site to the files in the directories?
Any help would be apprieciated.
Thanks,
Doug Kotnik
How do I do this in js? How do I comare a file name from the hyperlink on the web site to the files in the directories?
Any help would be apprieciated.
Thanks,
Doug Kotnik