Help! When pressed open bellow word!
4 posters
Page 1 of 1
Help! When pressed open bellow word!
Last edited by Sir. Mayo on September 4th 2013, 3:31 pm; edited 1 time in total
Re: Help! When pressed open bellow word!
Hi,
I don't completely understand what you're trying to do? Can you please explain yourself a bit more, thank you.
I don't completely understand what you're trying to do? Can you please explain yourself a bit more, thank you.
Re: Help! When pressed open bellow word!
So like on the FAQ page when a question is pressed it opens a box under the question! how can i Do this?
As in whats the code for this?
As in whats the code for this?
Re: Help! When pressed open bellow word!
Use the spoiler tags:
- Code:
[spoiler="YOUR QUESTION"]YOUR ANSWER[/spoiler]
- How are you today?:
- I am an fine.
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: Help! When pressed open bellow word!
i know how to change the background color for all the spoilers can i change it for just a few?
Re: Help! When pressed open bellow word!
You can't do that , and 1 question : You want to make something like "spoiler" ?
Re: Help! When pressed open bellow word!
Yes something like spoiler but has a different background color!
Re: Help! When pressed open bellow word!
I can provide a code, but you'll have to enable HTML in posts. Also ask all of your users to enable it via profile's preference option. You'll have to be putting the code every time in your post, do you like the sound of that?
Re: Help! When pressed open bellow word!
Well , add that in a message :
- Code:
<a href="#" onclick="toggle_visibility('foo');">Click here to toggle visibility of element #foo</a>
<div id="foo">This is foo</div>
- Code:
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
Re: Help! When pressed open bellow word!
Nope not working Here's a post with the code entered in side of it!candy_fear wrote:Well , add that in a message :Make a new javascript , tick in topics and fill with that :
- Code:
<a href="#" onclick="toggle_visibility('foo');">Click here to toggle visibility of element #foo</a>
<div id="foo">This is foo</div>Don't replace # , toggle_visibility('foo') , and id="foo"
- Code:
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
http://sir-mayo.forumotion.com/t59-foo-test-post
Similar topics
» how i can open the Forum that i had created to open as a new windows
» Check if a user has pressed a button function
» I cant open my forum pls help
» Cant open any topics
» forum not open
» Check if a user has pressed a button function
» I cant open my forum pls help
» Cant open any topics
» forum not open
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum