IS its at all possible to rename the text that is displayed on a post when a content is marked as spoiler. I would like to replace it with Open to read more.
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
jQuery(document).ready(function(){
jQuery('dl.spoiler dt').each(function(){
if(/Spoiler\:/.test(jQuery(this).html())) jQuery(this).html('Click to read more.');
});
});
Ultron's Vision wrote:
- Just a test:
Testing, this post will be edited soon.
EDIT: Use this jQuery code for phpBB 3 (and possibly older versions, I haven't tested this on my forum yet).
- Code:
jQuery(document).ready(function(){
jQuery('dl.spoiler dt').each(function(){
if(/Spoiler\:/.test(jQuery(this).html())) jQuery(this).html('Click to read more.');
});
});
Topic Solved & Locked |