Add background images to library
Create styles for pages with the images as background
Define a page named "pageOne" with style "pageStyle"
Create a Key that runs the inline function to show
pageTwo
Define a page named "pageTwo" with style "pageStyle2"
Create a key that runs the inline function to show
prev_page
After loading show the page named "pageName"
|
LIB(backgroundP1,"SDHC/bground1.png");
LIB(backgroundP2,"SDHC/bground2.png");
STYLE(pageStyle1, Page) { image = backgroundP1; }
STYLE(pageStyle2, Page) { image = backgroundP2; }
PAGE(pageOne, pageStyle1)
{
KEY(KeypageOne,[SHOW(pageTwo);],480,272,TOUCHR,240,136);
}
PAGE(pageTwo, pageStyle2)
{
KEY(KeypageTwo,[SHOW(prev_page);],480,272,TOUCHR,240,136);
}
SHOW(pageOne);
|