Interest Javascripts, everyone.
Announcement
Collapse
No announcement yet.
How about a [spoiler] tag?
Collapse
X
-
-
<SCRIPT LANGUAGE="JavaScript">function spoiler2(msg) { spoilerwindow = window.open('','spoilerwindow', 'toolbar=no,width=400,height=100,directories=no, status=no, scrollbars=yes, resize=yes, menubar=no'); spoilerwindow.document.write ('<HTML> <HEAD> <TITLE>Spoiler</TITLE> </HEAD><BODY>' +msg+ '</BODY></HTML>'); }</script>This one is slower...
<A HREF="" onClick="spoiler2('<IMG SRC=http://apolyton.net/forums/apolyton_cs-logo_2-300.gif>'); return false;">Test</A>
I still like the <A HREF="" onClick="alert('This does not allow HTML'); return false;" OnMouseOver="window.status='Spoiler'; return true;" OnMouseOut="window.status=''; return true;">Spoiler</A>Creator of the Civ3MultiTool
Comment
-
Say why am I getting script errors on this page?Grrr | Pieter Lootsma | Hamilton, NZ | grrr@orcon.net.nz
Waikato University, Hamilton.
Comment
-
because of my qoute of SG[1]? I'll edit it.Originally posted by Grrr
Say why am I getting script errors on this page?Creator of the Civ3MultiTool
Comment
-
It's fixed now. Thanks Gramphos.Grrr | Pieter Lootsma | Hamilton, NZ | grrr@orcon.net.nz
Waikato University, Hamilton.
Comment
-
Light dawns - That's how websites do obfuscated links! And how the proxomitron manages to def-obfuscate them!The church is the only organisation that exists for the benefit of its non-members
Buy your very own 4-dimensional, non-orientable, 1-sided, zero-edged, zero-volume, genus 1 manifold immersed in 3-space!
All women become like their mothers. That is their tragedy. No man does. That's his.
"They offer us some, but we have no place to store a mullet." - Chegitz Guevara
Comment
-
John,
I always use a text editor to write long messages before pasting them into my browser. In this way your work is still saved in case of browser crashes. You should try it some time.
If a [Spoiler] tag is used, the reader has to highlight the blacked out portion anyway, so extra steps still needed to be taken.(\__/) 07/07/1937 - Never forget
(='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
(")_(") "Starting the fire from within."
Comment
-
Huh? The point of the spoiler tag is so that the reader will have to highlight the blackened portion of it. That is the whole point, so that people who do not want to know what happened on Buffy or in AOTC can read the thread without having to worry about having their eye float to this really tempting piece of information.Originally posted by Urban Ranger
John,
I always use a text editor to write long messages before pasting them into my browser. In this way your work is still saved in case of browser crashes. You should try it some time.
If a [Spoiler] tag is used, the reader has to highlight the blacked out portion anyway, so extra steps still needed to be taken.
In short, it is nothing more than a courtesy extended to the readers by the poster and, unlike your suggestion, it does not entail having to download something from the net onto your hard drive.
Comment
-
SorryOriginally posted by Gramphos
You are cheating, editing your post while I try to find a work around...

As you probably spotted I fininished up copping out and using the ` character ... It's clever, but a spoiler tag would be much easier and allow html inside the spoiler - that would be very dangerous, but fun ...
Grrr!! please change your avatar back - it is somewhat offensive.
SG[1]"Our words are backed by empty wine bottles! - SG(2)
"One of our Scouse Gits is missing." - -Jrabbit
Comment
-
So, you agree that extra steps are needed to read the spoiler text.Originally posted by JohnT
Huh? The point of the spoiler tag is so that the reader will have to highlight the blackened portion of it.
Whenever you read a webpage it is already downloaded to your computer. It is not like opening up a potential security hole.Originally posted by JohnT
In short, it is nothing more than a courtesy extended to the readers by the poster and, unlike your suggestion, it does not entail having to download something from the net onto your hard drive.(\__/) 07/07/1937 - Never forget
(='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
(")_(") "Starting the fire from within."
Comment
-
Done.Originally posted by Scouse Gits
Grrr!! please change your avatar back - it is somewhat offensive.Grrr | Pieter Lootsma | Hamilton, NZ | grrr@orcon.net.nz
Waikato University, Hamilton.
Comment
-
Originally posted by Grrr
Done.
Thanks, Grrr!!
SG[1]"Our words are backed by empty wine bottles! - SG(2)
"One of our Scouse Gits is missing." - -Jrabbit
Comment
Comment