Example #1
0
       $_ap.get(_active).className = '';
       _active = newIndex;
       if(1==newIndex) $_ap.parent().addClass('redbg');
       $_ap.get(_active).className = 'active';
     }
  });
  
  $_ap.each(function(index,ele){
    $(ele).click(function(){
      if($(ele).parent().hasClass('nav-item-back')) {
    	  t1.slide(0);
      }else{
    	  t1.slide(index);
      }
      return false;     
    });
  });
  
  setTimeout(function(){t1.resize();},500);
});
</script>
</body>
<script>var FST=new Object();FST.autostart=1;</script>
<script type="text/javascript" src="<?php 
echo $contextpath;
?>
misc/js/fst.min.js"></script>
<?php 
tplholder('FOOT_JS');
?>
</html>
Example #2
0
misc/images/napp/touch-icon-114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="<?php 
echo $contextpath;
?>
misc/images/napp/touch-icon-120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="<?php 
echo $contextpath;
?>
misc/images/napp/touch-icon-144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="<?php 
echo $contextpath;
?>
misc/images/napp/touch-icon-152.png" />
<?php 
tplholder('HEAD_CSS');
tplholder('HEAD_JS');
//add css file
add_css('c.min.css', ['scope' => 'global', 'ver' => 1]);
add_css('m_public.css', ['scope' => 'global']);
if (Request::isIE() && Request::ieVer() < '9.0') {
    add_js('ext/jquery-1.8.3.min.js', ['pos' => 'head', 'ver' => 'none']);
} else {
    add_js('ext/jquery-2.1.1.min.js', ['pos' => 'head', 'ver' => 'none']);
}
?>
</head>
<body>
<div id="rtWrap"><?php 
include T($tpl_content);
?>
</div>