You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

Administrator

1Tutorial Put default text into the reply boxes on Fri Apr 06, 2012 8:48 pm

Nick 

avatar
Administrator
Put default text into the reply boxes
Forum Versions: Invision, PunBB, PhpBB 2, PhpBB 3

Description: Have a text in the reply boxes.

Set up:

1. Go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create a new JavaScript -> Title it whatever you want -> Select "In all Pages" (For every reply box) or select "In the topics" (For the quick reply box only) -> Paste:
Code:
$(document).ready(function(){
document.getElementById('text_editor_textarea').placeholder = "Your Text Here";
});

Replace "Your Text Here" with whatever you want, but you must keep the quotation marks.

2. Hit save and you're done.
Provided by fmQuery

View user profile http://www.supportcraze.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum