This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
sample_code:img_toggle_button [2014/11/26 09:43] stevegarman correction |
sample_code:img_toggle_button [2014/11/26 09:47] stevegarman [The code] corrected a comment |
||
---|---|---|---|
Line 43: | Line 43: | ||
function CreateImageToggle(img1, | function CreateImageToggle(img1, | ||
// | // | ||
- | // | + | // |
if (typeof img1 == " | if (typeof img1 == " | ||
img1 = app.CreateImage(img1); | img1 = app.CreateImage(img1); |