本文整理汇总了PHP中loadJs函数的典型用法代码示例。如果您正苦于以下问题:PHP loadJs函数的具体用法?PHP loadJs怎么用?PHP loadJs使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了loadJs函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadImg
</div>
</div>
<div class="clear"></div>
<br />
<div id="hasilcalc"></div>
<span id="smalload" class="hide"><?php
echo loadImg('small-loader.gif');
?>
</span>
<!-- autocomplete -->
<?php
echo loadCss('js/jquery-ui/jquery-ui.css', false, true, false, true);
echo loadJs('jquery-ui/jquery-ui.js', false, true);
?>
<style type="text/css">
.ui-autocomplete {
max-height: 100px;
overflow-y: auto;
overflow-x: hidden;
padding-right: 20px;
background-color:#fff !important;
}
.ui-autocomplete li{
background-color:#fff !important;
}
IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
示例2: loadTutorialView
public function loadTutorialView()
{
$this->_existsKarolSession($this->uri->segment(3));
$slidesThumbs = $this->_createSlidesThumbs();
$tutData['slidesList'] = $slidesThumbs;
$data['mainContent'] = $this->load->view('bcp/tutorial', $tutData, true);
$data['js'] = loadJs('resources/js/jquery.dragsort-0.5.2.min.js', 'Order Slides');
$data['js'] .= loadJs('resources/tinymce/js/tinymce/tinymce.min.js', 'Order Slides');
$data['css'] = loadCss('resources/css/dragslides.css', 'Order Slides');
$data['js'] .= $this->load->view('bcp/jsviews/tutorial', '', true);
$this->load->view('bcp/panel', $data);
}
示例3: loadJs
<?
// load banner
#$this->load->module_view('home','banner-home');
echo loadJs('rating/rating.js',false,true);
echo loadCss('js/rating/rating.css',false,true,false,true);
?>
<div id="jb-collection">
<ul>
<li class="kerudung"><div class="wrap"><p>kerudung kerudung kerudung kerudung</p><a href="">Shop Now</a><div></li>
<li class="bergo"><div class="wrap"><p>bergo bergo bergo bergo bergo bergo </p><a href="">Shop Now</a><div></li>
<li class="perlengkapan"><div class="wrap"><p>keterangan keterangan keterangan keterangan </p><a href="">Shop Now </a><div></li>
</ul>
</div>
<div class="boxq boxqbg">
<h3 style="text-transform:uppercase"><span><?php
echo lang('produk');
?>
</span> <?php
echo lang('laris');
?>
</h3>
</div>
<? if($best){?>
<table class="list-produk1">
<tr>
<? $ln=0;$jml_data=count($best);
foreach($best as $lsbest){ $ln++;
示例4: loadJs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="<?php
echo $keyword;
?>
" />
<meta name="description" content="<?php
echo $description;
?>
" />
<title><?php
echo $title;
?>
</title>
<?php
echo loadJs('jquery-1.3.2.min.js', false, true);
echo $customheader;
?>
</head>
<body>
<div class="center">
<?php
echo $view;
?>
</div>
</body>
</html>
示例5: loadCss
<?php
echo loadCss('menu/jqueryslidemenu.css');
?>
<!--[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
<script language="javascript">
pathImg = '<?php
echo loadImgThem('css/menu/img/', '', true, false, false, true);
?>
';
</script>
<?php
echo loadJs('css/menu/jqueryslidemenu.js', false, false, false, true);
?>
<body>
<div id="bg-header">
<span class="version">rotioppa.com</span>
<span class="title">Admin Management - Administrator</span>
</div>
<div id="bg-center">
<div id="tab-menu"><?php
echo $template['partials']['menu'];
?>
</div>
<div id="user"><span><?php
echo $this->login_lib->pos_get_data('username');
?>
示例6: loadCss
<?php
echo loadCss('js/calendar/theme/redmond/ui.all.css', false, true, false, true);
echo loadJs('calendar/ui/ui.core.js', false, true);
echo loadJs('calendar/ui/ui.datepicker.js', false, true);
echo loadJs('calendar/ui/ui.datepicker-id.js', false, true);
?>
<style>
.ui-datepicker {font-size:10px;}
.ui-datepicker-trigger{position:relative;top:3px;}
</style>
<fieldset>
<legend><?php
echo lang('dl_center_excel');
?>
</legend>
<table class="admintable" cellspacing="1">
<tbody>
<tr>
<th style="width:250px"><?php
echo lang('dl_member');
?>
</th>
<td>
<?php
echo lang('tgl');
?>
<script type="text/javascript">
$(function() {
示例7: loadJs
$('#mailhtml').tinymce().execCommand('mceInsertContent',false,theval)
});
});
</script>
<!-- mce editor -->
<?php
echo loadJs('tiny_mce/jquery.tinymce.js', false, true);
?>
<script type="text/javascript">
$(function() {
$('#mailhtml').tinymce({
// Location of TinyMCE script
script_url : '<?php
echo loadJs('tiny_mce/tiny_mce.js', false, true, true);
?>
',
theme_advanced_resize_horizontal : false,
// General options
theme : "advanced",
plugins : "autolink,advhr,advlink,inlinepopups,preview",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,outdent,indent,blockquote,|,undo,redo",
theme_advanced_buttons2 : "cut,copy,paste,|,link,unlink,anchor,forecolor,|,hr,removeformat,|,code,preview",
theme_advanced_buttons3 : "formatselect,fontselect,fontsizeselect",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
示例8: head
function head($title, $description)
{
global $default, $act;
?>
<!doctype html>
<html lang="es">
<head>
<title><?php
echo $default['webname'] . ' ' . ($title != '' ? '- ' . $title : '');
?>
</title>
<meta name="description" content="<?php
echo $description;
?>
" />
<link rel="shortcut icon" href="<?php
echo $default['weburl'];
?>
/favicon.png" type="image/x-icon">
<meta name="robots" content="all" />
<meta name="keywords" content="all" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8"/>
<script type="text/javascript">
var $web={
url:'<?php
echo $default['weburl'];
?>
',
name:'<?php
echo $default['webname'];
?>
',
}
</script>
<!-- CSS -->
<?php
loadCss('normalize');
loadCss('base');
loadCss('style');
?>
<!-- JAVASCRIPT-->
<?php
loadJs('jquery');
loadJs('history.plugin');
loadJs('ajax');
?>
</head>
<body>
<div id="cargando">
<div id="carg">
</div>
</div>
<a href="<?php
echo $default['weburl'];
?>
/" load-ajax="yes">Inicio</a>
<!-- No Eliminar el div con ID Contenido... -->
<div id="contenido">
<?php
}
示例9: loadJs
<div class="ca-wrapper">
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/jquery.contentcarousel.js"></script>
<?php
echo loadJs('jquery.mousewheel.js', false, true);
?>
<?php
echo loadJs('jquery.contentcarousel.js', false, true);
?>
<?php
echo loadJs('jquery.easing.1.3.js', false, true);
?>
<script type="text/javascript">
$('#ca-container').contentcarousel();
</script>
<style>
.a{color:#eaf2f9;}
</style>
示例10: loadJs
<?php
echo loadJs('fancyslide/sliding.form.js', false, true);
echo loadCss('js/fancyslide/style.css', false, true, false, true);
?>
<?
for($t=1;$t<=date('t');$t++){$tgl[$t]=$t;}
for($b=1;$b<=12;$b++){$bln[$b]=$b;}
for($y=1970;$y<=(date('Y')-10);$y++){$year[$y]=$y;}
?>
<br><div class="judula">
MEMBER AREA
</div>
<div class="garis"></div><br>
<div class="wrap-ct" style="background:#fff;">
<center>
<? if(isset($ok)){?><div class="<?php
echo $ok ? 'msg_success' : 'msg_error';
?>
"><?php
echo $msg;
?>
</div><? }?>
<div id="wrapper"><div id="steps">
<form id="formElem" name="formElem" action="" method="post">
<fieldset class="step">
<legend id="akun"><?php
示例11: loadImg
<br />
<div id="hasilcalc"></div>
<span id="smalload" class="hide"><?php
echo loadImg('small-loader.gif');
?>
</span>
<!-- autocomplete -->
<?php
echo loadCss('js/jquery_ui/themes/base/jquery.ui.all.css', false, true, false, true);
echo loadJs('jquery_ui/ui/jquery.ui.core.js', false, true);
echo loadJs('jquery_ui/ui/jquery.ui.widget.js', false, true);
echo loadJs('jquery_ui/ui/jquery.ui.position.js', false, true);
echo loadJs('jquery_ui/ui/jquery.ui.autocomplete.js', false, true);
?>
<style>
.ui-autocomplete {
max-height: 100px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
/* add padding to account for vertical scrollbar */
padding-right: 20px;
}
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
height: 100px;
示例12: base_url
<div class="row">
<div class="col-sm-12">
<div id="form-error" class="alert alert-danger hidden">
<strong>Existen problemas en los datos</strong> <br> Verifique los datos ingresados y vuelva a intentarlo.
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
<button type="button" id="guardar" class="btn btn-success btn-xs">
<i class="fa fa-save"></i> Cambiar contraseña
</button>
<button type="button" id="cancelar" onclick="location.href='<?php
echo base_url("login/index");
?>
'" class="btn btn-white btn-xs">
<i class="fa fa-remove"></i> Omitir
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
echo loadJs("assets/js/framework/system/jquery-2.1.4/jquery.min.js");
echo loadJS("assets/js/login-actualizar-password.js", true);
示例13: loadCss
echo loadCss('index.css');
?>
<?php
echo loadCss('style.css');
?>
<!-- <?php
echo loadCss('jquery.jscrollpane.css');
?>
-->
<?php
echo loadCss('nav.css');
?>
<!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>-->
<?php
echo loadJs('jquery.js', false, true);
?>
<!-- lib for fancy -->
<?php
echo isset($template['metadata']) ? $template['metadata'] : '';
?>
<?php
echo isset($customheader) ? $customheader : '';
?>
</head>
示例14: base_url
echo base_url('site');
?>
priv/css/default/temp.css"
});
});
</script>
<!-- hover -->
<?php
echo loadJs('hover/hover.js', false, true);
echo loadCss('js/hover/hover.css', false, true, false, true);
?>
<!-- autocomplete -->
<?php
echo loadJs('autocomplete/jquery.autocomplete.js', false, true);
echo loadCss('js/autocomplete/styles.css', false, true, false, true);
?>
<div class="header">
<?php
echo loadImg('icon/mainmenu.png', '', false, config_item('modulename'), true);
?>
<span><?php
echo lang('det_produk');
?>
</span>
</div>
<br class="clr" />
<?php
示例15: loadJs
<?php
echo loadJs('socialfeed/bower_components/moment/min/moment.min.js', false, true);
?>
<?php
echo loadJs('socialfeed/js/jquery.socialfeed.js', false, true);
?>
<!-- lib for fancy -->
<?php
echo loadJs('fancybox/jquery.fancybox-1.3.0.pack.js', false, true);
?>
<?php
echo loadCss('js/fancybox/jquery.fancybox-1.3.0.css', false, true, false, true);
?>
<?php
echo loadJs('jquery.corner.js', false, true);
?>
<script>
(function($) {
$.fn.menumaker = function(options) {
var cssmenu = $(this), settings = $.extend({
format: "dropdown",
sticky: false
}, options);
return this.each(function() {
$(this).find(".mbutton").on('click', function(){
$(this).toggleClass('menu-opened');
var mainmenu = $(this).next('ul');
if (mainmenu.hasClass('open')) {