P C D T R - PHP + CSS Dynamic Text Replacement
================================================================================
(Revision by Joao Makray <pcdtr.joaomak.net>)
HOW TO INSTALL
--------------------------------------------------------------------------------
1. In the beggining of the HTML insert:
<?php include 'pcdtr/php/class.php'; ?>
And at the bottom:
<?php ob_end_flush(); ?>
2. Link the style sheet inside the <head>:
<link href="pcdtr/styles.css" rel="stylesheet" type="text/css" />
or inside your css:
@import "pcdtr/styles.css";
and start styling!
3. Copy your font files (.ttf or .otf) to the pcdtr folder.
OBS: .otf fonts seems to have problems with accents
4. Assign write permissions to the cache folder inside the pcdtr folder for
faster performance.
NOTES
--------------------------------------------------------------------------------
* If you need to change folder names or files, configure the paths in class.php
* This is an open source script. Feel free to use it but if you make any changes,
share it too!
* Here are the CSS Rules that can be used to style your headings:
* font-family (use the name of the font FILE, with or without extension)
* font-size (in points)
* color
* background-color
* a:hover
* text-decoration (for links)
* text-transform: uppercase/lowercase
* text-align
* If you are using this script in a CMS that doesn't allow you to use output
buffering functions, simply comment the line with `ob_start('PCDTR_init');` in
the class.php file and, in your code, execute PCDTR_init($buffer);
with your generated content string.
* When using background images behind the font, specify the nearest background-color
for the alias color and after that, set background:transparent.
pcdtr_dsd2cb_pcdtr_源码
版权申诉
187 浏览量
2021-10-01
01:36:59
上传
评论
收藏 64KB RAR 举报
Dyingalive
- 粉丝: 88
- 资源: 4809
最新资源
- Rust异步请求,详细描述了异步是怎么实现的
- 流体力学+环境生物学+仪器分析+环境监测:大二下 复习指南-上交
- 详细描述了Object-C中的内存管理,超级简单
- 详细描述了Kotlin和Android的统合
- 水污染控制工程+环境化学-生物环境化学+大气污染控制工程-上交
- (PC+WAP)绿色环保设备pbootcms网站模板 资源回收新能源网站源码下载.zip
- (PC+WAP)绿色环保设备pbootcms企业网站模板 环保企业网站源码下载.zip
- (PC+WAP)绿色化工材料企业网站pbootcms模板 营销型化工环保能源网站源码下载.zip
- 超级详细的fortran基本入门教程,轻松让你学会
- (PC+WAP)绿色硅胶橡胶制品pbootcms网站模板 营销型玩具制品网站源码下载.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈