Replace The Old Spoiler Code?
2 posters
Page 1 of 1
Replace The Old Spoiler Code?
I want to replace the old Spoiler code with something like this.
But I have no idea how to locate the old Spoiler code and replace it with a new one.
The code above is one of those where you get nothing but a button saying "Show" when hiding and "Hide" when showing.
If you help me I'll give you Cookie =D
- Code:
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><input class="button2 btnlite" type="button" value="Show" style="text-align:center;width:100px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>
But I have no idea how to locate the old Spoiler code and replace it with a new one.
The code above is one of those where you get nothing but a button saying "Show" when hiding and "Hide" when showing.
If you help me I'll give you Cookie =D
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Re: Replace The Old Spoiler Code?
Uhm... any help to get on this thing? o.o
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Re: Replace The Old Spoiler Code?
Hello,
I don't think its possible without making changes in your template.
Template editing is only available for phpBB2 and punBB.
I don't think its possible without making changes in your template.
Template editing is only available for phpBB2 and punBB.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Replace The Old Spoiler Code?
I'm using phpBB2
I have bought the "Template Editing" option for my forum.
So I have all the templates available for editing,
but I have no idea which one of them and where in them...
I have the different Template categories available:
General
Portal
Gallery
Calendar
Usergroups
Post & Private Messages
Moderation
Profile
And withing these again LOADS of codes o.o
I have bought the "Template Editing" option for my forum.
So I have all the templates available for editing,
but I have no idea which one of them and where in them...
I have the different Template categories available:
General
Portal
Gallery
Calendar
Usergroups
Post & Private Messages
Moderation
Profile
And withing these again LOADS of codes o.o
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Re: Replace The Old Spoiler Code?
If you are good at coding, you should go through and make necessary changes.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Replace The Old Spoiler Code?
Uhm,,, that's what I've been saying from the beginning...
I can't code even if my life depended on it, lol
I just found that code on the net, and I just tried a code in a post, and it looked good,
but I wanted it to become the standard "Spoiler" code to be used.
So if anyone knows where to put this code to change out the standard "spoiler" button code, then I'll be very happy =P
I can't code even if my life depended on it, lol
I just found that code on the net, and I just tried a code in a post, and it looked good,
but I wanted it to become the standard "Spoiler" code to be used.
So if anyone knows where to put this code to change out the standard "spoiler" button code, then I'll be very happy =P
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Re: Replace The Old Spoiler Code?
Still kinda need some help...
Would you kindly? n_n
Would you kindly? n_n
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Re: Replace The Old Spoiler Code?
Sorry, I am not able to make what you want. So I can say its not possible.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Replace The Old Spoiler Code?
There has to be someone out there that can do it o.o
I dun like the old one too much, cause at least for me,
it only shows as a gray line with no text whatsoever saying it's a spoiler.
A Spoiler button is cooler =P
I dun like the old one too much, cause at least for me,
it only shows as a gray line with no text whatsoever saying it's a spoiler.
A Spoiler button is cooler =P
SirMagus- New Member
- Posts : 16
Reputation : 0
Language : English
Location : Norway
Similar topics
» Replace the old spoiler code?
» How to change format of [code][/code] and [spoiler][/spoiler], etc.
» how can i replace the the word spoiler
» i suggest to replace the verification emai with a code
» Code, Spoiler & Quote
» How to change format of [code][/code] and [spoiler][/spoiler], etc.
» how can i replace the the word spoiler
» i suggest to replace the verification emai with a code
» Code, Spoiler & Quote
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum