in the backend of my site where the owner can add, edit or delete items
I want to make an opportunity to set the align of a background image.
I the attached image you see an example of how it should look.
The nine squares are buttons and should "select" the align type
I set as value as a radiobutton would do.
I could make a table with nine square cells en place a radiobutton in each
but that's not the way I like it to look.
The value that is set should be processed with php and stored in mysql.
Make a table with nine square cells and place an arrow image in each cell. Attach an onClick event to each image and process the input that way. You could do the same thing with one image and an image map, but ewwwwwww, that would be sleazy.
When one of the images is being clicked, call a Javascript function (onclick) which saves the value of the clicked image in a hidden input field. Then it'll automatically submit when the form submits.