Top-spoiler a each function js spoiler this void 0 năm 2024

I am not sure whether this is revision-specific [I assume not]. Please move this thread if I have the wrong sub-forum.

For custom BBCode, I checked the wiki. Very clear. I thought I'd ask here first, as I assume I am not the only one who is interested. What would be the code for a Show/Hide function - Buttons and/or text - to show/hide a section of additional material?

[I tried searching, but I did not find any posts about it.]

Last edited by Oyabun1 on Tue Oct 27, 2015 9:30 pm, edited 1 time in total.

Pony99CA Registered User Posts: 4783 Joined: Thu Sep 30, 2004 3:13 pm Location: Hollister, CA Name: Steve Contact:

by Pony99CA » Wed Oct 28, 2015 12:10 am

Have you tried searching for "spoiler"? A spoiler BBCode usually hides some text until the user does something, so it may work like you want.

Steve

[SPOILER]{TEXT}

Code:

Hidden text: [spoiler]Hidden text[/spoiler]

-:|:- Support Request Template -:|:- "Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"

ChrisW828 Registered User Posts: 11 Joined: Thu Oct 26, 2017 3:42 am

by ChrisW828 » Sat Oct 28, 2017 4:34 am

Thank you so much. I have been searching for three days and this is the first working BBCODE I could find for this.

"What is the output of this code? static int Test[out int x, int y=4] { x = 6; return x * y; } static void Main[string[] args] { int a; int z = Test[out a]; Console.WriteLine[a + z]; }" I don't think I understand how this comes out to the answer it does. Please correct me if I'm wrong... I get that: "Test[out a]" will retrieve the value of "x * y", as that is the return statement. Which is 6 * 4 = 24, this will be assigned to "int z". However; I don't understand how "int a" gets a value. I'm not the best coder here, so please - if you can - break it down simplistically. Thankx in advance. [Obviously no quotations, but I figured that was necessary since I copy/pasted the problem. Also it makes it easier to read when explaining [I think]].

You may have come across a website page where the href value of an

Click here to view a spoiler.
{content}

Any idea what might be wrong with why neither code [Architect's and the one above] is not working on my board? Thank you in advance. [Show]

[PARAM1]

Example: CODE

CODE [spoiler]Anything you want hidden.[/spoiler]

Taken off of page 2 of the BBCode list thread.

It's not working, either.

And sorry for not going ahead and starting another topic.

Posts: 2350 Offline Age: 33 Joined: 07/10/2006 Points: 1845

Its np.

Like I said, I dont really know whats going on. Youll have to wait until someone that knows javascript gets on.

Posts: 42 Offline Age: 56 Joined: 04/19/2008 Points: 132

I have BBCode for spoilers that you can use.

//forum.jcink.com/index.php?showtopic=8251

The caveat is that it doesn't work with the 'CODE' box, and probably not with the 'QUOTE' bbcode either. If you make a 'codebox' bbcode [the kind with the scrolling bars], that will more than likely work.

Posts: 128 Offline Age: N/A Joined: 11/19/2007 Points: 334

WooHA! Thank you so very much, DerV! You're awesome!

I notice what you meant, by 'and', because alone, neither code works. It's perfect! Couldn't see everything you wrote in the link provided because the screen won't scroll over, so you may have mentioned they don't work alone. It's perfect! Works great! Thank you!

I believe this is one more problem solved.. now for that Latest News updates on the portal page.

Posts: 2350 Offline Age: 33 Joined: 07/10/2006 Points: 1845

This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

Chủ Đề