// JavaScript
Image1.onclick = function() {
NSB.MsgBox("clicked");
};
Images in Bootstrap can be made responsive-friendly using the responsive property. This applies max-width: 100%;, height: auto; and display: block; to the image so that it scales nicely to the parent element.
Popovers and Tooltips are supported.
Standard properties are supported, plus:
center | Should image be centered in container? |
responsive | Should image resize to container? |
shape | Thumbnail, rounded or circle? |
src | Image path. Set to empty for none. Can be .png, gif, bmp or jpg. |
Standard events are supported. For this control, the onclick event will be most useful.
// JavaScript
Image1.onclick = function() {
NSB.MsgBox("clicked");
};
' Basic
Function Image1_onclick()
MsgBox "clicked!"
End Function