Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Apolyton/Community-Archive > How about a [spoiler] tag?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Should we have a [spoiler] tag ala the example in the link? (Time out:0 days after 07-05-2002, 09:11)
Yes
No
Banana
View Results [Edit Poll (moderators only)]
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 07-05-2002 18:53
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Browse Apolyton AD-FREE

<SCRIPT LANGUAGE="JavaScript">function spoiler(msg) { alert(msg);}</SCRIPT>I still don't know why the second try did work, but i know why the later one worked.

<A HREF=/forums/"javascript:spoiler('I used &amp;#97; instead of a in javascript to make it work');">How I did the second working one (and this one)</A>

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:19
  Old Post 07-05-2002 19:04
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

You can put the spoiler in a text file and attach it with the message. That way anybody who wants to read the spoiler can simply download it, and there is no need for a new tag.

Remember, they can't attach files over at SDMB either.

Skanky Burns is offline Skanky Burns
Deity
Skanky Bastard Quartermaster
Aug 2001
time: 14:19
  Old Post 07-05-2002 19:13
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Support Apolyton, buy Civilization 2

I've found another use:

<table width=80% align=center border="1" cellpadding="2" bordercolor=black><tr><td>Last night I played a blank tape at full blast...</td></tr>
<tr><td bgcolor=black><font face="verdana" size="2" color="black">The mime next door went nuts.</font></td></tr></table>

JohnT is offline JohnT

Emperor
Capitalist
Mar 1999
time: 00:19
  Old Post 07-05-2002 19:53
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by Urban Ranger
You can put the spoiler in a text file and attach it with the message. That way anybody who wants to read the spoiler can simply download it, and there is no need for a new tag.

Remember, they can't attach files over at SDMB either.


But that would require you to essentially write two posts, save one to your hd, and then upload it. Then people would have to dl the text file, open it and read it. The tag works better as it doesn't impede the flow of ones thoughts as they are typing and people don't have to worry about d'ling some piece of crap text file from the net just to find out what happens at the end of ET.

Chowlett is offline Chowlett
King
of Candle'Bre
May 1999
time: 05:19
  Old Post 07-05-2002 20:08
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

<SCRIPT LANGUAGE="JavaScript">function spoiler(msg) { alert(msg);}</SCRIPT>So what you're saying is <a href=/forums/"javascript:spoiler('I should be able to make a message-box in this way');">this.</a>

Unfortunately, the link shows up in the bottom if you hover over it. The black background text doesn't have that - but it's a minor advantage to be sure.

Skanky Burns is offline Skanky Burns
Deity
Skanky Bastard Quartermaster
Aug 2001
time: 14:19
  Old Post 07-05-2002 20:16
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Enter the AD-FREE zone

Someone on the previous page mentioned that it would be a pain for the mods to check these spoiler posts. It would not be.
Rather that selecting each spoiler seperately, they could press Ctrl-A (select all) and this would highlight each and every spoiler on the page. Easy

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 07-05-2002 20:53
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by Chowlett
<SCRIPT LANGUAGE="JavaScript">function spoiler(msg) { alert(msg);}</SCRIPT>So what you're saying is <a href=/forums/"javascript:spoiler('I should be able to make a message-box in this way');">this.</a>

Unfortunately, the link shows up in the bottom if you hover over it. The black background text doesn't have that - but it's a minor advantage to be sure.

Well, there are ways to deal with that as well...
<A HREF=/forums/"#" onClick="spoiler('I should be to hide this');">Test</A>

And then of course, if I only makes a message box, why use a function for it?
<A HREF=/forums/"#" onClick="alert('This should work as well.');">Like this</A>
or
<A HREF=/forums/"javascript:spoiler('A message box');" onClick="alert('The hidden input'); return false;">Like this</A>
or why not hide the link enven better...
<A HREF=/forums/"/Spoiler" onClick="alert('Guess what, this is not a link\n\n-- Gramphos'); return false;">Like this</A>

Field Marshal Klesh is offline Field Marshal Klesh
King
Klesh Marshal Field
Jan 2000
time: 00:19
Arrow  Old Post 07-05-2002 23:38 Visit Field Marshal Klesh's homepage!
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton

Strange, After clicking the top two of the link gramphos provided above, I get the intended error message, and then I am scooted to the top of the page. Not so for the bottom two of those links.

-FMK.

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 07-05-2002 23:45
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Field Marshal Klesh
Strange, After clicking the top two of the link gramphos provided above, I get the intended error message, and then I am scooted to the top of the page. Not so for the bottom two of those links.

-FMK.

Yes, it has to do with the way I linked the first two. The second two cancels the following of the link.

Chowlett is offline Chowlett
King
of Candle'Bre
May 1999
time: 05:19
  Old Post 08-05-2002 00:05
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Support Apolyton or Terrorists Win

Oooh, I never knew about return false;. That's cunning.

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 08-05-2002 00:38
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Yes, but it can be abused. You can create a link that links to something other then the link sais...
<A HREF=/forums/"/forums/index__quot_.html onClick="return false;">Dead link</A>
<A HREF=/forums/"/forums/index__quot_.html onClick="window.location='http://apolyton.net/forums/forumdisplay.php?s=&forumid=31'; return false;">Other link</A>
<A HREF=/forums/"/forums/index__quot_.html onClick="document.write ('<H1>Test</H1>'); return false;">Test Link</A>

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:19
  Old Post 08-05-2002 00:57 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Gramphos
<A HREF=/forums/"/Spoiler" onClick="alert('Guess what, this is not a link\n\n-- Gramphos'); return false;">Like this</A>

So much to be done with java and HTML
Put it all in the FAQ.

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:19
  Old Post 08-05-2002 01:14 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Support Apolyton buy from Amazon

I think I've got the hang of it ...
<a href=/forums/"/Spoiler" onClick='alert("I`ve got it!\n\nSG[1]"; return false;'>Click here</a>

SG[1]

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 08-05-2002 01:44
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Support Apolyton buy from Amazon

QUOTE removed due to script errors.
Doesn't work...

<a href=/forums/"/Spoiler" onClick="alert('I&#92;'ve got it\n\nGramphos'); return false;">This does...</a>

(I think vB replaces &#92;' with ' unless you use &amp;#92;')

Last edited by Gramphos on 08-05-2002 at 03:13

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 08-05-2002 01:46
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Lose 30 kilos (of popups)

You are cheating, editing your post while I try to find a work around...

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 08-05-2002 01:47 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Interest Javascripts, everyone.

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 08-05-2002 02:25
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Got spare money?

<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=/forums/"" onClick="spoiler2('<IMG SRC=/forums/apolyton_cs-logo_2-300.gif>'); return false;">Test</A>

I still like the <A HREF=/forums/"" onClick="alert('This does not allow HTML'); return false;" OnMouseOver="window.status='Spoiler'; return true;" OnMouseOut="window.status=''; return true;">Spoiler</A>

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 08-05-2002 03:11 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Say why am I getting script errors on this page?

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:19
  Old Post 08-05-2002 03:12
Edit/Delete Message Reply w/Quote
#49 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Grrr
Say why am I getting script errors on this page?

because of my qoute of SG[1]? I'll edit it.

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 08-05-2002 03:17 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#50 Report this post to a moderator
Tired of ads?

It's fixed now. Thanks Gramphos.

Chowlett is offline Chowlett
King
of Candle'Bre
May 1999
time: 05:19
  Old Post 08-05-2002 06:15
Edit/Delete Message Reply w/Quote
#51 Report this post to a moderator
Support Apolyton buy from Amazon

Light dawns - That's how websites do obfuscated links! And how the proxomitron manages to def-obfuscate them!

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:19
  Old Post 08-05-2002 09:25
Edit/Delete Message Reply w/Quote
#52 Report this post to a moderator
Increase Your PM Length

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.

JohnT is offline JohnT

Emperor
Capitalist
Mar 1999
time: 00:19
  Old Post 08-05-2002 10:38
Edit/Delete Message Reply w/Quote
#53 Report this post to a moderator
Get a bigger avatar today!

quote:
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.


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.

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.

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:19
  Old Post 08-05-2002 15:19 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#54 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Gramphos
You are cheating, editing your post while I try to find a work around...

Sorry
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]

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:19
  Old Post 10-05-2002 08:42
Edit/Delete Message Reply w/Quote
#55 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
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.


So, you agree that extra steps are needed to read the spoiler text.

quote:
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.


Whenever you read a webpage it is already downloaded to your computer. It is not like opening up a potential security hole.

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 10-05-2002 09:25 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#56 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Scouse Gits
Grrr!! please change your avatar back - it is somewhat offensive.


Done.

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 10-05-2002 11:31 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#57 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

I've edited all contents out, and hopefully this is better.

Last edited by Grrr on 10-05-2002 at 11:53

asleepathewheel is offline asleepathewheel
Emperor
listening too long to one song
Mar 2002
time: 00:19
  Old Post 10-05-2002 11:38
Edit/Delete Message Reply w/Quote
#58 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

dp

Last edited by asleepathewheel on 10-05-2002 at 12:34

asleepathewheel is offline asleepathewheel
Emperor
listening too long to one song
Mar 2002
time: 00:19
  Old Post 10-05-2002 11:39
Edit/Delete Message Reply w/Quote
#59 Report this post to a moderator
Tired of ads?

quote:
Originally posted by Grrr
HELP! Somethings wrong here.






playing with the html code again grrr?

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:19
  Old Post 10-05-2002 12:42 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#60 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Grrr
Done.

Thanks, Grrr!!

SG[1]

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:19.
Apolyton Time is 00:19.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0682 seconds (91.19% PHP - 8.81% MySQL) with 34 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net