Dialog Boxes in HTML/ASP
Posted on 2007-04-04
I'm trying to build an ASP application with some interactive features. I need to create pop up dialog boxes that will provide me with some control over user inputs. These are the things I am trying to acheive:
1. Possibly the simplest of the things I'm trying to do, I have an image of a button that links to a certain page using the <a href> tag. When anyone clicks this link, I want a pop up dialog box to show up that asks them if they really want to proceed (should have Yes and No buttons). If they click yes, they go to the page. If they click No, the pop up should close and leave the original page as is. I have read some material on Modal Dialog Boxes that can be called using the onclick procedure of a button, but I'm running into a problem here because if i use the <button> tag, I'm no longer able to use my image as the button. I get the default ugly grey button in the background which annoys me to no end. Is there any way to set the properties of this button to transparent and overlay my image on top of it?
Any help would be much appreciated! Thanks...