The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

BB CODE

5 posters

Go down

BB CODE Empty BB CODE

Post by dmwdead909 Thu Jul 15 2010, 18:11

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.
https://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
dmwdead909
Forumember

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

http://lmc-forums.inmyclan.com

Back to top Go down

BB CODE Empty Re: BB CODE

Post by dmwdead909 Fri Jul 16 2010, 05:59

Can Someone help on this?
dmwdead909
dmwdead909
Forumember

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

http://lmc-forums.inmyclan.com

Back to top Go down

BB CODE Empty Re: BB CODE

Post by kirk Fri Jul 16 2010, 07:36

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
kirk
Forumaster

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

Back to top Go down

BB CODE Empty Re: BB CODE

Post by dmwdead909 Fri Jul 16 2010, 08:33

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
dmwdead909
Forumember

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

http://lmc-forums.inmyclan.com

Back to top Go down

BB CODE Empty Re: BB CODE

Post by dmwdead909 Wed Jul 21 2010, 01:35

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
dmwdead909
Forumember

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

http://lmc-forums.inmyclan.com

Back to top Go down

BB CODE Empty Re: BB CODE

Post by adalwolf Wed Jul 21 2010, 04:58

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)
avatar
adalwolf
Forumember

Posts : 26
Reputation : 0
Language : English

Back to top Go down

BB CODE Empty Re: BB CODE

Post by RoNo Wed Jul 21 2010, 08:32

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.
https://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
RoNo
Active Poster

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

http://bf2mercenaries.forumotion.com/

Back to top Go down

BB CODE Empty Re: BB CODE

Post by dmwdead909 Fri Jul 23 2010, 10:25

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.
https://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
dmwdead909
Forumember

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

http://lmc-forums.inmyclan.com

Back to top Go down

BB CODE Empty Re: BB CODE

Post by uilson Fri Jul 30 2010, 04:50

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
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

BB CODE Empty Re: BB CODE

Post by RoNo Fri Jul 30 2010, 06:35

Reminder for uilson. We are talking about "Faq Script"
Please don't Hijack topics and solicit votes on polls.
BB CODE Guitaro1s4
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.
https://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
RoNo
Active Poster

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

http://bf2mercenaries.forumotion.com/

Back to top Go down

BB CODE Empty Re: BB CODE

Post by uilson Sun Aug 01 2010, 04:34

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

Sorry..
uilson
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

Back to top


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