Since you requested code for the other issue, here's a slightly altered version of the Control template file that I'm working with to try and solve the background image problem:
loadedInterfaceName = "bgTest";
interfaceOrientation = "landscape";
$("#selectedInterface").css({
"background-image": "url('http://dl.dropbox.com/u/41877267/ctrlLayout.png')"
});
pages = [[
{
"name": "refresh",
"type": "Button",
"bounds": [.6, .8, .2, .1],
"startingValue": 0,
"isLocal": true,
"mode": "contact",
"ontouchstart": "interfaceManager.refreshInterface()",
"stroke": "#3dd182",
"label": "refresh",
},
{
"name": "tabButton",
"type": "Button",
"bounds": [.8, .8, .2, .1],
"mode": "toggle",
"stroke": "#3dd182",
"isLocal": true,
"ontouchstart": "if(this.value == this.max) { control.showToolbar(); } else { control.hideToolbar(); }",
"label": "menu",
},
]
];
The image I'm linking to in the code is a grid image I tossed together to aid in button layout and ratio calculations.
Changes made:
-New interface name
-Swapped to landscape orientation
-moved the two buttons up from .9 to .8
-Changed button stroke color
-Added an "e" to the "refresh" label :)
All else the same and as basic as you can get... This interface loads just fine, sans the background image. Hope that helps. And if there's anyone out there who's had success with this, please let me know. Thanks!
John