本文整理汇总了PHP中Import::exCss方法的典型用法代码示例。如果您正苦于以下问题:PHP Import::exCss方法的具体用法?PHP Import::exCss怎么用?PHP Import::exCss使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Import
的用法示例。
在下文中一共展示了Import::exCss方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: center
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<?php
Import::exJs(Import::uber_src_path(true) . "client/jquery/sliderPagination/jquery.pagination.js");
Import::exCss(Import::uber_src_path(true) . "client/jquery/sliderPagination/css/style.css");
?>
<!--===============================================================-->
<style>
.sliderPagination {
@include center();
height:50px;
}
</style>
<script id="SliderPagination" type="text/x-jQuery-tmpl">
<div class="sliderPagination">
<div id = "shell" class="sp-slider-wrapper">
<nav>
<a href="#" class="sp-prev">Previous</a>
<a href="#" class="sp-next">Next</a>
</nav>
</div>
</div>
</script>
<!--===================================================================-->
<script type="text/javascript">
var SliderPagination = Base.extend({
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//init var
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
示例2:
<?php
echo Import::exJs("project/svg/I_DO_0414_svg.js");
echo Import::exCss("project/css/I_DO_728x90_0414.css");
echo Import::css("Cta_1.css", true, "client/werm/macys/");
?>
<link href='https://fonts.googleapis.com/css?family=Nunito:300,400' rel='stylesheet' type='text/css'>
<script id = "I_DO_728x90_0414" type="text/x-jQuery-tmpl">
<div class = "collapse content">
<div class="item_0">
<img src = "project/images/collapse/img_0_728x90.jpg">
</div>
<div class="item_1">
<img src = "project/images/collapse/img_1_728x90.jpg">
</div>
<div class="item_2">
<img src = "project/images/collapse/img_2_728x90.jpg">
</div>
<!-- Text -->
<div class = "right">
<div class="txt_sm">begin your journey together with expert advice, dreamy offers & more!</div>
<div class = "cta">
<div class = "cta_shell">
<div class = "cta_txt">REGISTER NOW <span class = "arrow">►</span></div>
</div>
<div class ="disclaimer">FREE SHIPPING WITH $99 PURCHASE</div>
</div>
<div id="lockup"></div>
</div>
<div id="macysLogo" class="black"></div>
</div>
示例3:
<?php
echo Import::exJs("project/svg/I_DO_0414_svg.js");
echo Import::exCss("project/css/I_DO_300x250_0414.css");
echo Import::css("Cta_1.css", true, "client/werm/macys/");
?>
<link href='https://fonts.googleapis.com/css?family=Nunito:300,400' rel='stylesheet' type='text/css'>
<script>
var I_DO_300x250_0414 = Project_Base.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//private var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//Number
//---------------------------------------------------------
width:undefined,
height:undefined,
//---------------------------------------------------------
//$elm
//---------------------------------------------------------
//$items:undefined,
//---------------------------------------------------------
//Boolean
//---------------------------------------------------------
callStart:true,
//---------------------------------------------------------
//String
//---------------------------------------------------------
classID:"I_DO_300x250_0414",