Thursday, March 5, 2015

Using Slider

Defining:

<input type="range" name="slider" id="sliderVol" value="10" min="0" max="100" data-theme="a" > Volume</input>

Using:

$("#sliderVol").bind( "change", function(event, ui) {
                         ytPlayer.setVolume($("#sliderVol").val());
              });


Where: ytPlayer is an audio player object

Wednesday, March 4, 2015

Sample Mobile Application

MAHI VIDEOS

Mahi Videos

Favourite Songs

PAUSE
PLAY

Volume

Dance Videos

 

Singing Videos

    

Miscellaneous Videos

  
   

Jquery sample

Mex Theatre


































Tuesday, March 3, 2015

A basic page template

 <!DOCTYPE html>
<html>
       <head>
       <title>My Page</title>
       <meta name="viewport" content="width=device-width, initial-scale=1">
       <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
       <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
       <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head>
<body>

<div data-role="page">

       <div data-role="header">
              <h1>My Title</h1>
       </div><!-- /header -->

       <div data-role="content"> 
              <p>Hello world</p>        
       </div><!-- /content -->

</div><!-- /page -->

</body>
</hmtl>