Joe Zanter wrote: > > I have an app that kind of mostly works. It's for uploading and > describing images of defects on parts. The feature I'm having trouble > with is a grid overlay. The user browses for an image, it gets > displayed and then they can select a grid to overlay on it to be able > to give coordinates when they describe it features on the image. > > Problem. > The grid get's overlayed, but it makes the cell twice as tall, like it > overlays, but it also adds a placeholder underneath. Here's a link to > the code below: > <http://www.zanter.net/test/imageapp/image_app_grid_help.cfm> > > Here's the code. Maybe there's a better way to do this?
I would rethink the entire process. Have the user upload the image and a description of the problem in step one of the form, then display the image they just uploaded as a button, onmouseover the cursor to look like a crosshair and just let them click the image in the right place. The browser will automatically add X and Y coordinates to the form post :-) Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:145798 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
