Spoiler Tag Links - Posted (2992 Views)
Senior Member
leatherlips
Posts: 1838
1838
If you place a link inside of a spoiler tag, it is not hidden. I am trying to figure out how to make links hidden like the regular text is. I've tried a couple of things so far but they are not working.
Here is one thing I've tried (the part in red is what I've added():

fString = doCode(fString, "Reveal hidden content", "", "<font color=""" & CColor & """>", "</font id=""" & CColor & """>", "<a:link=""" & CColor & """>")

It doesn't work. Can a link be hidded in a spoiler tag? If so, how can it be done?
Edit: I had to put a space after the two spoiler references above to keep them visible. My code does not have those spaces in them.
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
leatherlips
Posts: 1838
1838
I've found a variation on Snitz that has a cool spoiler tag feature that hides everything and also includes a Show/Hide button.
The link for it is here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64934&SearchTerms=spoiler
Posted
Advanced Member
Carefree
Posts: 4224
4224
Apparently the URL decoding occurs AFTER the spoiler decoding and thus takes precedence.
Posted
Senior Member
leatherlips
Posts: 1838
1838
I'm using a new spoiler tag.
It hides everything. You can see it here:

http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=893

I've renamed the original spoiler tag to spoiler2 and called the new one spoiler. Now I need to find a good button to place it among the other format code buttons.
Log in is demo/demo
Posted
Senior Member
leatherlips
Posts: 1838
1838
Posted
Advanced Member
Carefree
Posts: 4224
4224
The css coding isn't my forte. Has anyone converted the css coding from Leather's link to Response Write standard?
Posted
Senior Member
leatherlips
Posts: 1838
1838
I've made myself a button now:
Now I'm trying to add it along with the other format buttons. I've got it in place but I can't get it to work. I think I am doing the spots in inc_func_common.asp wrong.
Here is what I have:

fString = doCode(fString, "Reveal hidden content", "", "Reveal hidden content", "")

But that doesn't work. What should I do here?
Edit: Turns out I don't need to add any of the above. blush I removed it and now it works.
Posted
Advanced Member
Carefree
Posts: 4224
4224
I added the extra tags (RegEx Hidden & ModNote) but they do not function - is there another call I need to add like the one for the keywords md?
Posted
Junior Member
Giumer
Posts: 163
163
I'm trying to install the mod spoiler but does not work I tried searching but can not find the mod if someone can help me thanks
=======================
http://www.Giumer.it/forum

=======================
Posted
Junior Member
Giumer
Posts: 163
163
mate plz
=======================
http://www.Giumer.it/forum

=======================
Posted
Forum Admin
HuwR
Posts: 20611
20611
Isn't the spoiler tag part of 3.4.07 base code
You Must enter a message