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. Show 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 KevC Support Team Member Posts: 72206 Joined: Fri Jun 04, 2004 10:44 am Location: Oxford, UK Contact:by KevC » Wed Oct 28, 2015 10:55 am https://www.phpbb.com/customise/db/bbcode/spoiler/ I use a slight adaptation that doesn't need the title text. Code:
Code:
-:|:- 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 The SolutionA A link that does not navigate to a new page or section of a page may be used to define empty links during development, but using an I have followed the precise instructions presented by Architect in his code for the [spoiler] tag, but it's not working. It hides, but doesn't show 'on click'. > I found a different code, but the only thing that shows up once you click on it is "{content}". Here's the code for that one, which I currently have set up as [spoiler1] tag: CODE Top of the Board:
CODE Custom BBcodes:
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. This post has been edited by Kyouri: Apr 28 2008, 08:29 AM Posts: 2350 Offline Age: 33 Joined: 07/10/2006 Points: 1845 You should have created your own topic I honestly dont know how to make it unspoiled on click but Arch's code was designed for on highlite (click and drag over the text) Posts: 128 Offline Age: N/A Joined: 11/19/2007 Points: 334 QUOTE ("Architect")Expandable/Collapsible Spoiler Tag BBCode Name: Spoiler Description: This will create a spoiler tag where the user clicks a link to show or hide the content. It can be used with different types of content such as images not just text. BBcode type: 1 Param Type HTML Conversion: QUOTE CODE Spoiler! [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. http://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. |