WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

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

RSguideMaker

RSguideMaker
Registered Member
Registered Member
This is my first tutorial! Please tell me what you think!!

This code works for all versions and WYSIWYG editor must be turned off in order for you to see the default text.

All Versions:
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. Wink

For example:
Code:
$(document).ready(function(){
document.getElementById('text_editor_textarea').placeholder = "Type your message then click send to post!";
});

2. Hit save and you're done! Wink

Mr.Joker

Mr.Joker
Mr. WebArtz
Mr. WebArtz
Umm, I think this is jQuery xD because:
Code:
$(document).ready(function(){
like that a jQuery starts. Anyway, good tutorial. Very Happy

ankillien

ankillien
Administrator
Administrator
Its a nice one Very Happy

It would be nice if you can explain what each part of code does and hot it works together. Providing a code for copy-paste doesn't make a tutorial, as per me.

Sanket

Sanket
Administrator
Administrator
http://www.malware-site.www/forum/index.php/topic/130-how-to-put-default-text-into-the-reply-boxes/

Please don't copy paste someone else's tutorials.

Tutorial Rejected.

http://www.webartzforum.com

Sponsored content


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