Your code has been cut just a little to short in the cut'n'paste from the working plain HTML to the setHTML of viewport 'body'. (can't help but feel its risky to use body as a name for something else than the BODY-element... )
 
Here's the exerpt of your code where the syntax error arises:
 
body.setHTML('<h2>Members</h2><IMG SRC="javascript:void(0);" WIDTH=330 HEIGHT=229 BORDER=0 USEMAP="#map"><MAP NAME="map"><AREA SHAPE="POLY" COORDS="55,226,34,180,33,112,44,95,49,52,70,44,83,63,88,101,115,154,127,223" ALT="Johan Andr')  <--- here is missing something like '>'
 
IE sometimes forgives these kind of mistakes in plain HTML but inline javascript and in other browsers it just doesn't cut well.
 
Sorry to inform you that the bug was human.. and uhm, no offense meant by that ;)
 
Henrik Våglin [ [EMAIL PROTECTED]
 
-------Original Message-------
 
Date: den 17 februari 2002 18:23:32
Subject: [Dynapi-Help] Imagemap strangeness.
 
I have tried to add an imagemap to a viewport for
a while now, but it just refuses to work.

All browsers I have tried ignores the map and just
shows the image. I have put the imagemap in a separate
plain html-file to be sure that there isn't anything
wrong with the imagemap itself, and there isnt...

Is it by some reason impossible to use an imagemap in
a viewport?

This is the page I'm talking about.
http://www.athela.com/index.php?sidval=2

Thanks in advance.
/Johan

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help
.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to