example3.json 601 B

123456789101112131415161718192021222324252627
  1. {"widget": {
  2. "debug": "on",
  3. "window": {
  4. "title": "Sample Konfabulator Widget",
  5. "name": "main_window",
  6. "width": 500,
  7. "height": 500
  8. },
  9. "image": {
  10. "src": "Images/Sun.png",
  11. "name": "sun1",
  12. "hOffset": 250,
  13. "vOffset": 250,
  14. "alignment": "center"
  15. },
  16. "text": {
  17. "data": "Click Here",
  18. "size": 36,
  19. "style": "bold",
  20. "name": "text1",
  21. "hOffset": 250,
  22. "vOffset": 100,
  23. "alignment": "center",
  24. "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
  25. }
  26. }}