View Full Version : looking for this spoiler code, dont know if it has been released or not
MaDCaT75
11-11-2003, 08:18 AM
I'm looking for a spoiler vb code that hides the words until a user hovers his or her mouse over the spoiler and then what happens is the entire hidden phrase gets shown. I'd post a link to a demo but you need an account which costs $10.
Lesane
11-11-2003, 08:39 AM
Did you tried the search already, on spoiler? :D Naw, i am teasing you hehe, although the title of the thread has spoiler in it, it does not find the thread when you search for spoiler by titles in that forum.
But here is it:
https://vborg.vbsupport.ru/showthread.php?t=58165&highlight=spoiler
KuraFire
11-11-2003, 11:23 AM
....
=
<span style="color: {option}; background: {option}">{param}</span>
not hard to do :p
MaDCaT75
11-11-2003, 08:42 PM
....
=
<span style="color: {option}; background: {option}">{param}</span>
not hard to do :p
No thats not what I'm looking for really. The spoiler tags I'm looking for are just Text here and black out the text until a user hovers his or her cursor over it in which the text is revealed, not dragged over.
KuraFire
11-11-2003, 09:24 PM
No thats not what I'm looking for really. The spoiler tags I'm looking for are just Text here and black out the text until a user hovers his or her cursor over it in which the text is revealed, not dragged over.
Same thing, just don't add the Optional argument and hardcode it to black, and use a CSS class to make it have a different text color on a :hover...
MaDCaT75
11-12-2003, 07:53 AM
Ok I follow you so far.... how do I use a CSS class to make it have a different text color on a :hover ? Sorry for being so ignorant.
KuraFire
11-12-2003, 08:38 AM
.spoiler {
background: black;
color: black;
}
.spoiler:hover {
color: white;
}
rudimentary, but works...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.