Different Behaviours for Panel since update
Hi,
Since the update to Appery there has been some different behaviour with the Panel
object.
I use some CSS (as below) to set the panel height 60px less than the displayed image within the panel so that the buttons beneath the panel are displayed over the top of the image. (This enables me to maximise screen usage).
Since the update, the panel now cuts off at the height specified and displays my buttons beneath it.
Can you help me get this behaviour back please? My code is as follows (and the panel is called 'showcam'):
Code: Select all
// calculate image width and height based on screen size
//
imagewidthnum=screenwidth;
imageheightnum=screenwidth/1.22222;
//
// Calculate margin to centralise image
//
var marginnum = ((screenwidth - imagewidthnum) / 2);
var marginstr = marginnum.toString() + "px";
Appery('showcam').css({'margin-left': marginstr});
//
// Set back/forward buttons position overlapping image
//
var buttonheight = imageheightnum-30;
$("[dsid=showcam]").css('height',buttonheight);
$("[dsid=showcam]").css('width',imagewidthnum);