2008-10-27, 14:57 | Link #81 | |
Zero Requiem
IT Support
Join Date: Oct 2008
|
Quote:
@ CAT I had a feeling it wouldn't work out. (quick reply doesn't work on my side) TOO BAD for me. |
|
2008-10-29, 09:06 | Link #82 | |
AS Oji-kun
Join Date: Nov 2006
Age: 74
|
Quote:
Now I'm in the Advanced screen, and I'll type some text blah blah blah Now I'll type it again, highlight it, and click the spoiler button Spoiler for testing spoiler tags:
Seems to work fine - Firefox 3.0.3 on Ubuntu 8.10 beta When the "What is the spoiler about" dialog appears, the entire window is overlayed with a transparency, but I think that's happening either in FF or in Ubuntu's implementation. I've seen it appear in FF with other dialog boxes like the ones for HTTP Authentication. Now for one other test. I press the spoiler button with no highlighted text. I get the dialog prompt again and after entering a subject and hitting OK it creates an empty spoiler: There's a spoiler right above this line, but it doesn't appear on screen. So it looks like the vB parser ignores empty spoilers rather than creating a spoiler zone with no embedded text.
__________________
|
|
2008-10-29, 10:30 | Link #83 |
…Nothing More
Administrator
Join Date: Mar 2003
Age: 44
|
Indeed. By default, all custom BB code tags, that are left empty, are removed. Though the options is configurable with the latest version of the software, if you don't put anything in the spoiler there is little point in displaying it, so I've not bothered changing the settings.
|
2008-10-29, 11:21 | Link #84 |
AS Oji-kun
Join Date: Nov 2006
Age: 74
|
I just wondered if that contributed to Knight of Zero's problem. If you take the route of creating an empty spoiler first with the intent of filling it in later, it will appear as if you've done nothing at all. I'm certainly not suggesting a change in policy, though, just trying to understand how this feature can appear so opaque to one of our members.
__________________
|
2010-03-12, 06:39 | Link #88 | |
Asobo~
IT Support
Join Date: Jul 2007
Location: Italy
Age: 33
|
Quote:
If he's done it, may I ask for the code?
__________________
|
|
2010-03-26, 16:44 | Link #91 | |
sleepyhead
Author
Join Date: Dec 2005
Location: event horizon
|
Quote:
__________________
|
|
2010-04-02, 14:30 | Link #92 | |
Asobo~
IT Support
Join Date: Jul 2007
Location: Italy
Age: 33
|
Quote:
__________________
|
|
2010-04-03, 03:12 | Link #93 |
sleepyhead
Author
Join Date: Dec 2005
Location: event horizon
|
In the example I assumed path to be: as.javascript\jquery.plugins. Simple replace that in the rest of the example code with whichever path you want.
__________________
|
2010-04-03, 11:25 | Link #94 | |
Asobo~
IT Support
Join Date: Jul 2007
Location: Italy
Age: 33
|
Quote:
Sorry, but I never used the plugins before.
__________________
|
|
2010-04-03, 13:51 | Link #95 |
sleepyhead
Author
Join Date: Dec 2005
Location: event horizon
|
You do not install, you just need jQuery and need to have it and the plugin code loaded on the page for it to work (a jQuery plugin is just another javascript file). I gave the code for the plugin in the post as text format directly; so you may minify or obstruficate if you wish to, as well as change it. You can get jQuery from the official site or just add the link to the google api to allow for cross-site caching of the script (there are several ways as mentioned in the documention by google). I did not mention jQuery in the post since AnimeSuki already uses it as you can see from viewing the source code.
Anyway, I gave the detailed explanation on how to add it via a vB plugin (so you may disable it at any time) and provided the code you need to copy paste in the plugin as well as the other details (in the example I used the google api), all you need to do is make sure the files are copied in the right folders. Or Find/Replace in the small bit of vB plugin code so the paths match to where you placed them. ie. the path relative to in the servers www (or whichever is the public html/php domain folder on your server you use).
__________________
|
|
|