Image Slideshow
Hello
Peace be on you
Are you thinking ... so he can make an application for the slide show images.
What is the easiest way?
In this post I put a sample of the fastest solution.
Photo Html page that is displayed in a show with the help of "url" and "jquery"
Photos can address as "url" to "Html" insert.
The definition of URLs for images:
file:///C:/Users/bagheri/Desktop/dc/edit/slider/index.html#$Img/1/1.jpg#$Img/1/2.jpg#$Img/1/3.jpg#$Img/1/4.jpg#$Img/1/5.jpg
To figure out the image "sc.JPG" note
Sample Html in the folder "slider" Copy
//////////////////////////
function OnStart()
{
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
web = app.CreateWebView( 0.8, 0.8 );
web.SetOnProgress( web_OnProgess );
lay.AddChild( web );
app.AddLayout( lay );
app.ShowProgress("Loading...");
web.LoadUrl( "slider/slider/index.html#$Img/1/1.jpg#$Img/1/2.jpg#$Img/1/3.jpg#$Img/1/4.jpg#$Img/1/5.jpg" );
}
function web_OnProgess( progress )
{
app.Debug( "progress = " + progress );
if( progress==100 ) app.HideProgress();
}
Still photos will be changed by drag and drop
If you have questions or problems I am your serve
Thanks, mohammad bagheri