2014-07-25, 00:10
Tutorial: Warning before Posting |
A script that appears above the quick reply box with warning message style.
--> Tutorials, tips and tricks <--
Warning before Posting
Warning before Posting
1º - Javascript
First go to...
Administration Panel > Modules ->HTML & JAVASCRIPT>Javascript codes managemen > create a new javascript
Title * : What U want
Placement : In all pages
- Code:
[panda=js]$(document).ready(function() { $('#text_editor_textarea').before('<div class="warning"><b>[color=#ff0000]Before posting in the support forum remember:[/color] <a href="http://url of the topic">[color=#ff0000]How to create a theme[/color]</a></b></div>');
});
* U can change text: Before posting in the support forum remember: (How U like)
* http://url of the topic - Urs link of rules!
2º - CSS
Admin Panel > Display > Pictures and Colors > Colors > CSS stylesheet
add:
- Code:
[panda=css].warning {
background: none repeat scroll 0 0 #F0E8E0;
border: 1px solid #C00000;
font-family: Tahoma,Arial;
font-size: 11px;
height: 24px;
line-height: 24px;
margin-bottom: 3px;
text-align: center;
}
Of course, U can change background, border, font... etc.
3º - Preview
© PunBB Design
If you have any questions related to this topic create a topic with the following title: Warning before Posting |