How to change spoiler name

Go down

How to change spoiler name

Post by Kasperx on 2009-10-13, 17:22

Let me explain instead of "Spoiler" (when i make a spoiler) can i give it a different name?

Spoiler:
^^On top of here^^
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by Admin on 2009-10-14, 07:55

Is this for ForuMotion, or generally speaking spoilers?

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-10-14, 09:45

:huh?: generally speaking i guess it was just out of curiosity

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by Admin on 2009-10-14, 10:03

In HTML, there is no such thing as a "spoiler" tag, so like for the Forum Affiliates, I have used a show/hide button.

Code:
<html>
<head>     
<script type="text/javascript">
        function toggleDiv()
        {
          if (document.getElementById("myDivBox").style.display == "block")
        {
            document.getElementById("myDivBox").style.display = "none";
          }
          else
          {
          document.getElementById("myDivBox").style.display = "block";
          }
}     
</script>   
</head>
<body>
<input type="button" value="Show/Hide Affiliates" onclick="toggleDiv()">
<div id="myDivBox" style="display:none;"> 

CONTENT HERE

</div>   
</body> 
</html>

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-10-14, 17:42

Oh hehe thx alot ill try it out later....

PS Whats that about javascript?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by Admin on 2009-10-15, 03:05

You need the JS so you can toggle it.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-10-15, 09:35

dotDavid wrote:You need the JS so you can toggle it.

And how can i get that? how do i install it also....????

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by Admin on 2009-10-15, 10:41

No. The JS is in that code I gave you. Just leave that bit alone and edit the CONTENT HERE part.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-10-15, 17:31

dotDavid wrote:No. The JS is in that code I gave you. Just leave that bit alone and edit the CONTENT HERE part.

oK THX ALOT

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by shamzblueworld on 2009-10-17, 17:28

ok, and how to put it like david has done on GC? i mean its in place of forum name maybe, so does the code above will be placed on the forum description? just guessing XD
avatar
shamzblueworld
Regular Member
Regular Member

Male Posts : 103
Join date : 2009-10-08

http://www.funstop.tk

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-10-17, 17:31

in the forum description yup just under the name

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by shamzblueworld on 2009-10-17, 17:38

ok got it. thanx
avatar
shamzblueworld
Regular Member
Regular Member

Male Posts : 103
Join date : 2009-10-08

http://www.funstop.tk

Back to top Go down

Re: How to change spoiler name

Post by kewlkreator on 2009-11-04, 14:30

Kasperx wrote:in the forum description yup just under the name
You can also: put it in a forum widget.... it will always display.
Or: Put it in the welcome message... only on the home page.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-- The Kreator of Kewl stuff.
|| Join SioTM! || Donate ||
avatar
kewlkreator
Global Moderator
Global Moderator

Male Posts : 927
Join date : 2009-07-13

Back to top Go down

Re: How to change spoiler name

Post by Kasperx on 2009-11-04, 19:40

ok thx but the bad thing about modules is that you have to put it to a side

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Vote Elite-Gfx http://gameart-top.net84.net/in.php?wid=314
avatar
Kasperx
Global Moderator
Global Moderator

Male Posts : 567
Join date : 2009-10-05

http://elite-gfx.forumotion.com/

Back to top Go down

Re: How to change spoiler name

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum