Remove Select content from spoiler
3 posters
Page 1 of 1
Remove Select content from spoiler
Hey!
I've been looking at the Select Content code, and seen that its conected to the spoiler too..
Is it possible to remove it from the Spoiler but still keeping it in the Code?
I've been looking at the Select Content code, and seen that its conected to the spoiler too..
- Code:
jQuery("dl.codebox dt").not("dl.spoiler > dt").html('Code: <a href="#" onclick="selectCode(this)
Is it possible to remove it from the Spoiler but still keeping it in the Code?
Last edited by IdaTR on November 21st 2012, 4:04 pm; edited 1 time in total
Re: Remove Select content from spoiler
I want it, but only for the Code Box, not the spoiler.
Edite:
You see.
But when I write the spoiler on my page, it shows the code box apperence instead.
This is how the spoiler looks a like, it looks like the Code Box but it aren't. So how do I fix it?
Edite:
You see.
- Spoiler:
But when I write the spoiler on my page, it shows the code box apperence instead.
This is how the spoiler looks a like, it looks like the Code Box but it aren't. So how do I fix it?
Re: Remove Select content from spoiler
So when you post something in a spoiler in a message, the spoiler turns into the code box? Are you using the spoiler tags?
- Code:
[spoiler][/spoiler]
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Remove Select content from spoiler
Yup Correct.
And Yup I am. When I remove the Javascript it turns into normal, but not when I'm using it, and I found that piece in the javascript code where there stood Spoiler, so thought it had something to do with that? But when i remove that piece where spoiler stands, the whole javascript "Select Content" dissapears.
And Yup I am. When I remove the Javascript it turns into normal, but not when I'm using it, and I found that piece in the javascript code where there stood Spoiler, so thought it had something to do with that? But when i remove that piece where spoiler stands, the whole javascript "Select Content" dissapears.
Re: Remove Select content from spoiler
I have this on my forum, and the spoiler works normally. Did you add something or change something right before this issue occurred?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Remove Select content from spoiler
Nope i didn't. I've never been out of this before when I used the spoiler and had the Select content code.
Re: Remove Select content from spoiler
- Code:
jQuery("dl.codebox dt").not("dl.spoiler > dt").html('Code: <a href="#" onclick="selectCode(this)
Change it to this.
- Code:
jQuery("dl.codebox dt").not("dl.codebox > dt").html('Code: <a href="#" onclick="selectCode(this)
See if that works.
Re: Remove Select content from spoiler
Well, as you said, it appears on the spoiler if it's not, right?
Hmm... try this?
Hmm... try this?
- Code:
jQuery("dl.codebox dt").html('Code: <a href="#" onclick="selectCode(this)
Re: Remove Select content from spoiler
- Code:
jQuery(".codebox").not(".spoiler").find('dt').html('Code: <a href="#" onclick="selectCode(this)
It worked with this one ! Thank you very much!
Solved!
Re: Remove Select content from spoiler
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» How to make a Select Content in a Spoiler.
» Select Content
» Select content
» "select content"
» select content code
» Select Content
» Select content
» "select content"
» select content code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum