Graphic Design Forum | GraphicsCode.net
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to change spoiler name

4 posters

Go down

How to change spoiler name Empty How to change spoiler name

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

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

Spoiler:
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by Admin 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

How to change spoiler name Empty Re: How to change spoiler name

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

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

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by Admin 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

How to change spoiler name Empty Re: How to change spoiler name

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

Oh hehe thx alot ill try it out later.... How to change spoiler name 2555

PS Whats that about javascript?
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by Admin 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

How to change spoiler name Empty Re: How to change spoiler name

Post by Kasperx 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....????
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by Admin 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

How to change spoiler name Empty Re: How to change spoiler name

Post by Kasperx 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 How to change spoiler name 945422
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by shamzblueworld 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
shamzblueworld
shamzblueworld
Regular Member
Regular Member

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

http://www.funstop.tk

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

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

in the forum description yup just under the name
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

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

ok got it. thanx
shamzblueworld
shamzblueworld
Regular Member
Regular Member

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

http://www.funstop.tk

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

Post by kewlkreator 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.
kewlkreator
kewlkreator
Global Moderator
Global Moderator

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

Back to top Go down

How to change spoiler name Empty Re: How to change spoiler name

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

ok thx but the bad thing about modules is that you have to put it to a side How to change spoiler name 617408
Kasperx
Kasperx
Global Moderator
Global Moderator

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

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

Back to top Go down

How to change spoiler name Empty 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