The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

BB CODE

View previous topic View next topic Go down

BB CODE

Post by dmwdead909 on July 15th 2010, 5:11 pm

What is the code to make a word come out like a pop-out.
Like in the FAQ page where you click the question and a box appears with the answer. What's the code to do that.
http://help.forumotion.com/faq.htm


Also is there a BB Code where you click a "Word" and it moves your page to a certain section there. Like if you have a very long thread and you have rules on it for certain members. When you click the Rules it moves your page to that certain section with those rules.

Example of how Code would look like:
[anchor=sectionname]Some Text[/anchor] and [anchorlink=sectionname]Some Text[/anchorlink]

Example:
*Admin Rules
*Member Rules
*Site Rules
*Server Rules

Admin Rules - Don't abuse your powers.




Member Rules - Respect all members.




Site Rules - No racism.




Server Rules - Respect all players.


dmwdead909
Forumember

Male Posts : 124
Reputation : 0
Language : English
Location : Pomona

http://lmc-forums.inmyclan.com

Back to top Go down

Re: BB CODE

Post by dmwdead909 on July 16th 2010, 4:59 am

Can Someone help on this?

dmwdead909
Forumember

Male Posts : 124
Reputation : 0
Language : English
Location : Pomona

http://lmc-forums.inmyclan.com

Back to top Go down

Re: BB CODE

Post by kirk on July 16th 2010, 6:36 am

I think this is what you want

Code:
[url=YOUR LINK HERE]YOUR TEXT WORD HERE[/url]

EXAMPLE

FAQ

Code:
[url=http://help.forumotion.com/faq.htm]FAQ[/url]

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: BB CODE

Post by dmwdead909 on July 16th 2010, 7:33 am

@kirk wrote:I think this is what you want

Code:
[url=YOUR LINK HERE]YOUR TEXT WORD HERE[/url]

EXAMPLE

FAQ

Code:
[url=http://help.forumotion.com/faq.htm]FAQ[/url]

No thats not what I mean. If you go to the FAQ page there are questions there, and when you click the question it opens sort of like a pop out or something with the answer in it.

dmwdead909
Forumember

Male Posts : 124
Reputation : 0
Language : English
Location : Pomona

http://lmc-forums.inmyclan.com

Back to top Go down

Re: BB CODE

Post by dmwdead909 on July 21st 2010, 12:35 am

Does anybody know what I mean. Or can a Moderator move thread to Script section to see if I can get some help there?

dmwdead909
Forumember

Male Posts : 124
Reputation : 0
Language : English
Location : Pomona

http://lmc-forums.inmyclan.com

Back to top Go down

Re: BB CODE

Post by adalwolf on July 21st 2010, 3:58 am

I think what dmwdead means is how does one do the javascript for the expanding/hiding content thing the FAQ does...

if you cant figure it out you could always use spoiler BBcode i guess...

not sure how to do it myself but there are a lot of tutorials out there, for example:
http://www.dustindiaz.com/dhtml-expand-and-collapse-div-menu/
http://javascript.internet.com/miscellaneous/expand-collapse-paragraph.html
(and instead of an external CSS/javascript file, do them all embedded on the one page i suppose)

adalwolf
Forumember

Posts : 26
Reputation : 0
Language : English

Back to top Go down

Re: BB CODE

Post by RoNo on July 21st 2010, 7:32 am

@dmwdead909 wrote:What is the code to make a word come out like a pop-out.
Like in the FAQ page where you click the question and a box appears with the answer. What's the code to do that.
http://help.forumotion.com/faq.htm
This will work in your homepage message or a forum description field
There are 3 sets of ID numbers for each question & answer...
Code:
<table width="100%" style="padding: 8px;"><tr><td>

<b>Topic Title</b>

<dd onclick="return CFAQ.display('faq_a_01', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_01', true);" onfocus="this.blur();">
Question #1</a></dd>

<dd style="display: none;" id="faq_a_01"><p>
Answer To Question #1.
</p></dd>

<dd onclick="return CFAQ.display('faq_a_02', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_02', true);" onfocus="this.blur();">
Question #2</a></dd>

<dd style="display: none;" id="faq_a_02"><p>
Answer To Question #2.
</p></dd>

<script src="http://illiweb.com/fa/js_19/collapsible_faq.js" type="text/javascript"></script>
</td></tr></table>
Test code in the Html Editor

RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Re: BB CODE

Post by dmwdead909 on July 23rd 2010, 9:25 am

@RoNo wrote:
@dmwdead909 wrote:What is the code to make a word come out like a pop-out.
Like in the FAQ page where you click the question and a box appears with the answer. What's the code to do that.
http://help.forumotion.com/faq.htm
This will work in your homepage message or a forum description field
There are 3 sets of ID numbers for each question & answer...
Code:
<table width="100%" style="padding: 8px;"><tr><td>

<b>Topic Title</b>

<dd onclick="return CFAQ.display('faq_a_01', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_01', true);" onfocus="this.blur();">
Question #1</a></dd>

<dd style="display: none;" id="faq_a_01"><p>
Answer To Question #1.
</p></dd>

<dd onclick="return CFAQ.display('faq_a_02', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_02', true);" onfocus="this.blur();">
Question #2</a></dd>

<dd style="display: none;" id="faq_a_02"><p>
Answer To Question #2.
</p></dd>

<script src="http://illiweb.com/fa/js_19/collapsible_faq.js" type="text/javascript"></script>
</td></tr></table>
Test code in the Html Editor
So there's no way to make it work when your posting a New Topic? For like prices, rules and other stuff like that?

dmwdead909
Forumember

Male Posts : 124
Reputation : 0
Language : English
Location : Pomona

http://lmc-forums.inmyclan.com

Back to top Go down

Re: BB CODE

Post by uilson on July 30th 2010, 3:50 am

Please if you think that sould exist an area to creat custom BBcodes visit this and vote.

[Suggestion] Area in the admin panel to insert BBCodes

Thank you

uilson
New Member

Male Posts : 10
Reputation : 0
Language : Portuguese, English
Location : Portugal, Leiria

http://ds-design.forum-livre.com

Back to top Go down

Re: BB CODE

Post by RoNo on July 30th 2010, 5:35 am

Reminder for uilson. We are talking about "Faq Script"
Please don't Hijack topics and solicit votes on polls.
@dmwdead909 wrote:
@RoNo wrote:
@dmwdead909 wrote:What is the code to make a word come out like a pop-out.
Like in the FAQ page where you click the question and a box appears with the answer. What's the code to do that.
http://help.forumotion.com/faq.htm
This will work in your homepage message or a forum description field
There are 3 sets of ID numbers for each question & answer...
Code:
<table width="100%" style="padding: 8px;"><tr><td>

<b>Topic Title</b>

<dd onclick="return CFAQ.display('faq_a_01', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_01', true);" onfocus="this.blur();">
Question #1</a></dd>

<dd style="display: none;" id="faq_a_01"><p>
Answer To Question #1.
</p></dd>

<dd onclick="return CFAQ.display('faq_a_02', false);"><a href="javascript:void(0)" onclick="return CFAQ.display('faq_a_02', true);" onfocus="this.blur();">
Question #2</a></dd>

<dd style="display: none;" id="faq_a_02"><p>
Answer To Question #2.
</p></dd>

<script src="http://illiweb.com/fa/js_19/collapsible_faq.js" type="text/javascript"></script>
</td></tr></table>
Test code in the Html Editor
So there's no way to make it work when your posting a New Topic? For like prices, rules and other stuff like that?
Since javascript, mouseover color change etc no longer works in posts...
You can create an Html page for your javascript collapsible faq content
and use an "iframe workaround" as I've explained →Here

RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Re: BB CODE

Post by uilson on August 1st 2010, 3:34 am

My apologies RoNo, my intention wasn't hijack this topic.

Sorry..

uilson
New Member

Male Posts : 10
Reputation : 0
Language : Portuguese, English
Location : Portugal, Leiria

http://ds-design.forum-livre.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum