Author |
Topic |
leatherlips
Senior Member
USA
1838 Posts |
Posted - 14 June 2008 : 07:30:56
|
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, "[spoiler ]", "[/spoiler ]", "<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. |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 14 June 2008 07:35:37 |
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 14 June 2008 : 08:04:33
|
Apparently the URL decoding occurs AFTER the spoiler decoding and thus takes precedence. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 14 June 2008 : 08:49:29
|
The css coding isn't my forte. Has anyone converted the css coding from Leather's link to Response Write standard? |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 16 June 2008 : 11:12:01
|
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? |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 24 January 2012 : 10:21:00
|
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
======================= |
|
|
Giumer
Junior Member
Italy
163 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 24 January 2012 : 19:52:52
|
Yes, HuwR, but Giumer uses the Italian form of Image's portal which hasn't been updated by Image probably since it was created. |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 25 January 2012 : 02:03:47
|
ok now it works I had the problem of code in the file I had to create inc_code.asp the code and put it like this:
spoiler function () { var text = getText (); if (helpstat) { alert ("<% = flange (" strLangInc_Code00250 ") %>"); } Else if (basic) { AddTxt = "[spoiler]" + text + "[/ spoiler]"; AddText (AddTxt); Else {} if (text) { txt = prompt ("<% = flange (" strLangInc_Code00260 ")%>", text); Else {} txt = prompt ("<% = flange (" strLangInc_Code00260 ") %>"," Text"); } if (txt! = null) { AddTxt = "[spoiler]" + txt + "[/ spoiler]"; AddText (AddTxt); } } }
and then ask that the function and possible spoilers only registered members can see it? and non-registered bait must register to see the writing! ESS : Response.Write "<a href=""policy.asp""><B>Not registered? Then you're not seeing all there is to see. Register now by clicking HERE!</A></B></DIV></DIV><BR>" & vbNewLine
inc_func_common.asp the code in the file so it included:
extratags function (fstring) fstring doCode = (fstring, "[spoiler2]", "[/ spoiler2]", "<font color=""" & CColor """> &", "</ font id =" "" & & CColor "" ">") fstring doCode = (fstring, "[spoiler]", "[/ spoiler]", "<div style=""margin:1em auto; width: 100%;"">" & & vbNewline "<div> <b> spoiler: </ b> <input type = "" button "," value = "" Show "" style = "" width: 45px; font-size: 10px; margin: 0px; padding: 0px; "" onclick = "" if ! ='') {=''; This.innerText =''; this.value = 'Hide';} else {= 'None'; this.innerText =''; this.value = 'show';} "" /> </ div> "& & vbNewline" <div style = "" margin: 0px; padding: 0px; border: 1px solid; border-color: # 333399;"">" vbNewline & & "<div style=""display: none;"">" & vbNewline, "</ div>" & vbNewline & "</ div>" vbNewline & & "</ div>" & vbNewline) extratags = fstring end function |
======================= http://www.Giumer.it/forum
======================= |
Edited by - Giumer on 25 January 2012 05:53:21 |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 26 January 2012 : 00:45:06
|
Can anyone help me please? thanks |
======================= http://www.Giumer.it/forum
======================= |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 January 2012 : 05:26:14
|
Thought you had it working, Giumer. |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 26 January 2012 : 05:52:27
|
quote: Originally posted by Giumer
Can anyone help me please? thanks
I do not finish, I wanted to know if the file inc code.asp and just so the code:
spoiler function () { var text = getText (); if (helpstat) { alert ("<% = flange (" strLangInc_Code00250 ") %>"); } Else if (basic) { AddTxt = "[spoiler]" + text + "[/ spoiler]"; AddText (AddTxt); Else {} if (text) { txt = prompt ("<% = flange (" strLangInc_Code00260 ")%>", text); Else {} txt = prompt ("<% = flange (" strLangInc_Code00260 ") %>"," Text"); } if (txt! = null) { AddTxt = "[spoiler]" + txt + "[/ spoiler]"; AddText (AddTxt); } } }
and then if it was possible that this' covering the spoiler and you can make it visible only forum members
ESS: yuo not login and clik show spoiler and then if it was possible that this' covering the spoiler and you can make it visible only forum members
and do not see what they conceal and maybe get out the message that you need to register to see the link |
======================= http://www.Giumer.it/forum
======================= |
|
|
Topic |
|