Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Image Map Loader


Aug 31, 2000, 2:14 PM

Views: 1675
Image Map Loader


Is there a cgi program that will load image maps on a html page. I would like to have an insert tag verse having to put code on each page.

Thanks JR


Aug 31, 2000, 2:56 PM

Views: 1675
Re: Image Map Loader

Is the Image map the same for all the pages?

If so, cut and paste the code in an ascii file and do a server side include in your html.


assume you cut and pasted the image map html into a file named map.txt:

then ...

in the html, include the line:

<!--#include file="map.txt" -->

Voila, you just copy and paste this line every place you need the same image map and
you have now saved yourself a ton of typing.

HTH, Dennis