[ic] Broken image maps in IC 4.6.0 ...

Jeff Carnahan jcarnahan@networq.com
Fri, 1 Dec 2000 19:49:00 -0800

Mike Heins <mikeh@minivend.com> said:

> One of those things that is not tested anymore; in fact I don't think I
> used image maps in a demo since the original 1.0 demo. 8-)

Thanks Mike... I found this problem today when I was working with a single
form that had multiple images being used as submit buttons. Each submit
image was supposed to do different processing when clicked.

Is there a way I can specify different routines (a'la mv_click) that should
handle each image click?

Perhaps something like:

<input type="image" .. name="mv_click.someID" ..>
<input type="image" .. name="mv_click.anotherID" ..>

Which I could then specify alternate routines for with:

[set name="someID"]

[set name="anotherID]

Now, the mv_click parameter would be processed as follows:

If the name of the param is "mv_click" the routine inside [scratch [value
mv_click]] would be evaluated.

If the name of the param starts with "mv_click." the text following the
first period in the parameter is used to evaluate the routine inside
[scratch ThatText] ...

This is similar to the shortcuts I noticed in the source for mv_todo.return
and mv_todo.submit .. etc ...

Thanks again Mike.. =)

Jeff Carnahan - jcarnahan@networq.com