[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] Broken image maps in IC 4.6.0 ...
Mike Heins <mikeh@minivend.com> said:
> One of those things that is not tested anymore; in fact I don't think I
have
> 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" ..>
and
<input type="image" .. name="mv_click.anotherID" ..>
Which I could then specify alternate routines for with:
[set name="someID"]
mv_todo=return
mv_nextpage=somepage.html
[/set]
[set name="anotherID]
mv_todo=return
mv_nextpage=anotherpage.html
[/set]
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
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users