本文整理汇总了PHP中JSNHtmlAsset::addInlineStyle方法的典型用法代码示例。如果您正苦于以下问题:PHP JSNHtmlAsset::addInlineStyle方法的具体用法?PHP JSNHtmlAsset::addInlineStyle怎么用?PHP JSNHtmlAsset::addInlineStyle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JSNHtmlAsset
的用法示例。
在下文中一共展示了JSNHtmlAsset::addInlineStyle方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
JSNHtmlAsset::addScript('http://code.jquery.com/jquery-2.1.0.min.js');
JSNHtmlAsset::addScript(JSNPB_PLG_SYSTEM_ASSETS_URL . '3rd-party/jquery-ui/js/jquery-ui-1.10.3.custom.js');
JSNHtmlAsset::addScript(JSNPB_PLG_SYSTEM_ASSETS_URL . '3rd-party/jquery-livequery/jquery.livequery.min.js');
JSNHtmlAsset::addScript(JSNPB_PLG_SYSTEM_ASSETS_URL . 'js/joomlashine.noconflict.js');
JSNHtmlAsset::addScript(JSNPB_ADMIN_URL . '/assets/joomlashine/js/jsn-modal.js');
JSNHtmlAsset::addScript(JSNPB_ADMIN_URL . '/assets/js/custom_css.js');
//JSNHtmlAsset::addScript(JSNPB_ADMIN_URL . '/assets/3rd-party/codemirror/codemirror.js');
JSNHtmlAsset::addStyle(JSNPB_PLG_SYSTEM_ASSETS_URL . 'css/pagebuilder.css');
//JSNHtmlAsset::addStyle(JSNPB_PLG_SYSTEM_ASSETS_URL . '3rd-party/codemirror/codemirror.css');
$document = JFactory::getDocument();
$script = '
var JSNPbParams = JSNPbParams || {};
';
$document->addScriptDeclaration($script, 'text/javascript');
$_style = '.tooltip-inner { min-width: 550px !important; font-weight: 100 !important; }';
JSNHtmlAsset::addInlineStyle($_style, 'text/css');
?>
<div class="jsn-master" id="pb-custom-css-box">
<div class="jsn-bootstrap3">
<!-- CSS files -->
<div
class="form-group control-group jsn-items-list-container modal-content">
<label for="option-items-itemlist" class="control-label top-cut"><?php
echo JText::_('JSN_PAGEBUILDER_BUILDER_CSS_FILE');
?>
<i
class=" icon-question-sign tooltip-toggle" data-html="true"
data-original-title="<?php
$_css_files_tooltip;
?>