[ic] mv_click_map

Rick Bragg lists at gmnet.net
Fri Mar 25 16:19:16 UTC 2011


On Fri, 2011-03-25 at 09:30 -0400, Mike Heins wrote:
> Quoting Mike Heins (mike at perusion.com):
> > Quoting Rick Bragg (lists at gmnet.net):
> > > Hi,
> > > 
> > > Is there any documentation on mv_click_map or click map?
> > > 
> > > Basically I am trying to do a form with a bunch of images as buttons.
> > > Setting the value of an <input type=image name=mv_click does not work
> > > with ie.
> > > 
> > > I tried using a single hidden mv_click, and setting it with javascript
> > > but I have other javascript dynamically setting other variables on the
> > > form, and it seems maybe those other variables that are set (with jquery
> > > draggable) are ignored or cleared as the form submits with my onclick.
> > > Anyway, here is my mv_click setup:
> > > 
> > > <input type="hidden" id="mv_click" name="mv_click" value="" />
> > > <img src="button2image.jpg"
> > >      onclick="document.getElementByID('mv_click').value = 'clickset1'; 
> > >               document.form_name.submit(); return(false);"
> > > >
> > > <img src="button2image.jpg"
> > >      onclick="document.getElementByID('mv_click').value = 'clickset2'; 
> > >               document.form_name.submit(); return(false);"
> > > >
> > > 
> > > Any ideas? Any docs on click mapping?
> > 
> > There used to be, but I doubt it was retained. I don't think it has been
> > used for a decade.
> > 
> > Basically, you do this:
> > 
> > 	<input type=hidden name=mv_click_map value="aclickit aclackit atisket atasket">
> 
> Oops, I had it wrong. Shows you how long it has been.
> 
>  	<input type=hidden name=mv_click_map value="aclickit">
>  	<input type=hidden name=mv_click_map value="aclackit">
>  	<input type=hidden name=mv_click_map value="atisket">
>  	<input type=hidden name=mv_click_map value="atasket">
> 
> > 
> > 	<input type=image name="mv_click.aclickit" src="logo.gif">
> > 	<input type=image name="mv_click.aclackit" src="logo.gif">
> > 	<input type=image name="mv_click.atisket" src="logo.gif">
> > 	<input type=image name="mv_click.atasket" src="logo.gif">
> > 
> > You should find that clicking the appropriate image will submit
> > mv_click.aclickit.x to come into the CGI variable stream, which will
> > cause the "aclickit" click to be run. Each image will cause a
> > different mv_click to run.
> > 
> > -- 
> > Mike Heins
> > Perusion -- Expert Interchange Consulting    http://www.perusion.com/
> > phone +1.765.328.4479  <mike at perusion.com>
> > 
> > The sun, with all those planets revolving around it and
> > dependent on it, can still ripen a bunch of grapes as if
> > it had nothing else in the universe to do. -- Galileo
> > 
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users at icdevgroup.org
> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> > 
> 

Ahh Perfect! and with no javascript.  Thanks Mike!






More information about the interchange-users mailing list