当前位置: 首页>>代码示例>>PHP>>正文


PHP CSS::require_css方法代码示例

本文整理汇总了PHP中CSS::require_css方法的典型用法代码示例。如果您正苦于以下问题:PHP CSS::require_css方法的具体用法?PHP CSS::require_css怎么用?PHP CSS::require_css使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CSS的用法示例。


在下文中一共展示了CSS::require_css方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

CSS::require_css("/css/simplesamplesite.css");
?>
<!DOCTYPE HTML>
<html lang="it">
    <head>
        ##/page/headers##
        <style type="text/css">
            .citazione
            {
                font-family: Palace Script, Times New Roman, Times, Georgia, Serif;
                font-size: 20px;
                font-weight: normal;
                font-style: italic;
                color:#f2f2f2;
            }

            .cit_firma
            {
                text-align: right;
            }

            .contenuto
            {
                font-family: Palace Script, Times New Roman, Times, Georgia, Serif;
                font-size: 20px;
                font-weight: normal;
                color:#f2f2f2;
            }
开发者ID:mbcraft,项目名称:frozen,代码行数:30,代码来源:simplesamplesite_interno.layout.php

示例2: isset

<?php

CSS::require_css("/css/jquery/jquery.jscrollpane.css");
JS::require_jquery();
JS::require_script("/js/jquery/jquery.mousewheel.js");
JS::require_script("/js/jquery/mwheelIntent.js");
JS::require_script("/js/jquery/jquery.jscrollpane.min.js");
?>
<script type="text/javascript">
    $(function()
    {
        $('<?php 
echo isset($id) ? $id : "." . $class;
?>
').jScrollPane(
            {
                autoReinitialise: true
            }
        );
    });
</script>
开发者ID:mbcraft,项目名称:frozen,代码行数:21,代码来源:scroller.block.php

示例3:

<?php 
JS::require_jquery();
CSS::require_css("/css/admin/admin.css");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="it">
<head>

    ##/page/headers##

<style type="text/css">


</style>
</head>
<body>
	<table width="100%">
	<tr>
		<td class="colsx" valign="top">
            ##/pannello_sinistra##

        </td>
		
		<td class="colce" valign="top">
		<table class="paneltable" cellpadding="0" cellspacing="0">
            <tr>
                <td class="altsx"></td><td class="altce">##/pannello_centrale/titolo##</td><td class="altdx"></td>
            </tr>
            <tr>
                <td class="medsx"></td><td class="medce">##/pannello_centrale/contenuto##</td><td class="meddx"></td>
            </tr>
开发者ID:mbcraft,项目名称:frozen,代码行数:31,代码来源:admin.layout.php

示例4:

<?php

JS::require_jquery();
CSS::require_css("/css/widgets/shower/shower.css");
?>
<script type="text/javascript">
    function open_shower(load_url,params)
    {
        $.get(load_url,params,function(data, status, request)
        {
            if (status=="success" || status=="notmodified")
            {
                $("#shower_content").html(data);
                $("#shower").show("slow");
                //$("#shower_central").css("margin-top",-($("#shower_central").height()/2)+"px")
                $("#shower_central").css("margin-left",-($("#shower_central").width()/2)+"px");
            }
        });
    }
    function close_shower()
    {
        $("#shower").hide("slow");
    }
</script>
<div align="center" id="shower">

    <div id="shower_central">
        <div id="shower_closer">
            <img style="float:right; padding:10px;" src="/immagini/grafica/widgets/shower/close.png" alt="[close]" onclick="close_shower();" title="Chiudi" />
        </div>
        <div id="shower_content">
开发者ID:mbcraft,项目名称:frozen,代码行数:31,代码来源:shower.block.php

示例5: url

<?php

CSS::require_css("/css/simplesamplesite_welcome.css");
?>
<!DOCTYPE HTML>
<html lang="it">
<head>
    ##/page/headers##
</head>
<body>
<div>
    <img class="antie" src="/immagini/grafica/layouts/simplesamplesite/index.jpg" style="width:100%" alt="immagine index">
</div>
<div class="dati_azienda">##/dati_azienda##</div>
<table class="overtable" style="height:100%;width:100%;border:0" cellpadding="0" cellspacing="0">
	<tr>
		<td><div class="citazione">##/citazione/testo##<p class="firma_autore">##/citazione/firma##</p></div>
            <img src="/immagini/grafica/layouts/simplesamplesite/semicerchio.png" alt="semi cerchio">
		</td>
		<td>
			<table style="width:100%;height:100%;border:0" cellpadding="0" cellspacing="0">
			<tr>
			<td style="height:50%;background-color:#4537ff;vertical-align:middle" align="center">
                <img style="width:50%" src="/immagini/grafica/layouts/simplesamplesite/logohome.png" alt="logo home" /></td>
			</tr>
			<tr>
			<td align="right" valign="top" style="height:50%;background-image: url('/immagini/grafica/layouts/simplesamplesite/trasparente.png');">
                <div class="entra" onclick="window.location='/it/who_is.php'">
                    <a>Enter - Click here</a>
                </div>
            </td>
开发者ID:mbcraft,项目名称:frozen,代码行数:31,代码来源:simplesamplesite.layout.php


注:本文中的CSS::require_css方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。