Friday, May 24, 2013

JQuery Mobile - Hide LI icon

Hide li Icon

<ul data-icon="false" >

Improve Performance

<script type="text/javascript">
   $(document).bind("mobileinit", function() {
       $.mobile.autoInitializePage = false;
       $.mobile.defaultPageTransition = 'none';
       $.mobile.touchOverflowEnabled = false;
       $.mobile.defaultDialogTransition = 'none';
       $.mobile.loadingMessage = 'Daten werden geladen...' ;
   });
</script>

Close Panel

<a data-rel="close">

Load Div Content

<html>
    <head>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
        <script type="text/javascript">
           $(document).ready(function(){
               $('#selectedTarget').load('includes/contentSnippet.html');
           });
        </script>  
    </head>
    <body>
        <div id="selectedTarget">
            Existing content.
        </div>
    </body>
</html>

Replace Div Content by HTML when click


$('#selectedTarget').click(function(){
    $("#switcher-panel").load("includes/datainput.html");

 });

Grid Layout


<div id="dataedit-content" class="switcher-content">
    <fieldset class="ui-grid-c">
        <div class="ui-block-a">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 1</div>
        </div>

        <div class="ui-block-b">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 2</div>
        </div>

        <div class="ui-block-a">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 3</div>
        </div>

        <div class="ui-block-b">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 4</div>
        </div>
       
        <div class="ui-block-a">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 5</div>
        </div>

        <div class="ui-block-b">
            <a href="#page2"><img alt="" src="img/pencil_48.png"></a>
            <div class="imgCaption">Dataeingabe 6</div>
        </div>

    </fieldset>
</div>

Related Posts:

  • Mobile App Builderhttp://mobile-frameworks-comparison-chart.com/ IDE https://www.codenameone.com/ https://software.intel.com/en-us/intel-xdk http://jquerymobile.com/ http://www.jqmbuilder.com/build/ http://m.jqmbuilder.com/ http://jqmde… Read More
  • How to fix Scroll in Joomla Xeon template?when we visit menu FEATURES|TYPOGRAPHI (http://localhost/xeon/index.php?option=com_content&view=article&id=14&Itemid=103) then we want turn back to menu (Services, Portofolio, Pricing, Team) it's don't work becaus… Read More
  • Build mobile apps with Mobile Angular UI Installing required tools npm install -g bower yo gulp generator-mobileangularui sudo npm install -g phonegap Scaffold the project phonegap create weather cd weather yo mobileangularui … Read More
  • NPM - Syntax Upgrade to the latest version by running npm install -g npm… Read More
  • Build mobile apps with Cobalt To work with your data in your Cobalt app you will have to use a storage for your currently modified data. Cobalt provide an enhanced localStorage and a WebServices plugin to store your data offline, fi… Read More

0 comments:

Post a Comment