本文整理汇总了PHP中view::load_css方法的典型用法代码示例。如果您正苦于以下问题:PHP view::load_css方法的具体用法?PHP view::load_css怎么用?PHP view::load_css使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类view
的用法示例。
在下文中一共展示了view::load_css方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php
echo CHARSET_HTML;
?>
" />
<?php
view::load_short_icon();
view::load_css('font-awesome.min');
view::load_css('bootstrap.min');
view::load_css('xenon-core');
view::load_css('xenon-forms');
view::load_css('xenon-components');
view::load_css('xenon-skins');
view::load_css('form-elements');
view::load_css('style');
view::load_js('jquery-2.2.1.min');
view::load_js('bootstrap.min');
view::load_js('TweenMax.min');
view::load_js('resizeable');
view::load_js('joinable');
view::load_js('xenon-api');
view::load_js('xenon-toggles');
view::load_js('xenon-widgets');
view::load_js('toastr.min');
view::load_js('globalize.min');
view::load_js('dx.chartjs');
view::load_js('xenon-custom');
view::load_js('jquery.validate.min');
view::load_js('jquery.backstretch.min');
view::load_js('kindeditor-all-min');
view::load_js('kindeditor-zh_CN');
示例2: function
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php
echo SITE_TITLE;
?>
</title>
<?php
view::load_short_icon();
view::load_css('bootstrap.min');
view::load_css('metisMenu.min');
view::load_css('timeline');
view::load_css('sb-admin-2');
view::load_css('morris');
view::load_css('font-awesome.min');
view::load_js('jquery.min');
view::load_js('bootstrap.min');
view::load_js('metisMenu.min');
view::load_js('sb-admin-2');
?>
<script type="text/javascript">
$(function(){
$(':input').attr('autocomplete', 'off');
change_right_div_width = function(){
var clientHeight = parseInt(document.documentElement.clientHeight) - 70;
$('#iframe').css('height',clientHeight+'px');
}
window.onresize = function(){
change_right_div_width();
}
示例3: url
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php
echo CHARSET_HTML;
?>
" />
<?php
view::load_short_icon();
view::keywords(SYSTEM_TITLE);
view::description(SYSTEM_TITLE);
view::load_css('css');
view::load_js('jquery');
view::load_js('highcharts');
view::load_js('rcalendar');
view::load_js('function');
?>
<title><?php
echo SYSTEM_TITLE;
?>
</title>
</head>
<body>
<!--logo-->
<div id="logo">
<h2><a href="<?php
echo url();
?>
" title="<?php
echo SYSTEM_TITLE;
?>
"><?php