Post Reply 
xlink html/css/whatever code?
Author Message
boogschd
boogyman
Worlds End

Posts: 4,954.3196
Threads: 90
Joined: 29th Nov 2007
Reputation: 4.19708
E-Pigs: 43.6852
Offline
Post: #1
xlink html/css/whatever code?
found the spoiler code but i want the xlink :D

xlink =
this is the xlink

Spoiler for spoiler code:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html>
<head>
    <title>Spoiler HTML code</title>
    <style type="text/css">
body,input
    {
    font-family:"Trebuchet ms",arial;font-size:0.9em;
    color:#333;
    }
.spoiler
    {
    border:1px solid #ddd;
    padding:3px;
    }
.spoiler .inner
    {
    border:1px solid #eee;
    padding:3px;margin:3px;
    }
    </style>
    <script type="text/javascript">
function showSpoiler(obj)
    {
    var inner = obj.parentNode.getElementsByTagName("div")[0];
    if (inner.style.display == "none")
        inner.style.display = "";
    else
        inner.style.display = "none";
    }
    </script>
</head>
<body>
<h1>Spoiler HTML w/Js Code by Skrap</h1>
<div class="spoiler">
    <input type="button" onclick="showSpoiler(this);" value="Show/Hide" />
    <div class="inner" style="display:none;">
    This is a spoiler!
    </div>
</div>
</body>
</html>


this is the spoiler code


halp Yawndoodle

(i think this can be obtained by merely looking at the source code but....

* boogschd is lazy Hihi)
(This post was last modified: 16/06/2008 11:46 PM by boogschd.)
16/06/2008 11:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #2
RE: xlink html/css/whatever code?

HTML Code
1
2
3
4
5
6
7
8
9
<div>
<div style="background: #DDDDFF; vertical-align: middle; padding-left: 5px; padding-top: 2px; padding-bottom: 2px; border-top: 1px solid #AAAAFF; border-bottom: 1px solid #AAAAFF; cursor: pointer;" onClick="xlinkClick(this);" onMouseOver="this.style.background='#AAAAFF'" onMouseOut="this.style.background='#DDDDFF'">
<img src="http://endlessparadigm.com/forum/images/smilies/plus.gif" style="padding-top: 2px; vertical-align: top" border="0">
XLINK TEXT
</div>
<div style="display: none; padding-left: 25px; background: #F0F0F0;">
<div style="background: #F0F0FF;">
STUFF INSIDE
</div></div></div>

Javascript Code
1
2
3
4
5
6
7
8
9
10
11
function xlinkClick(xlinkObj)
{
 var xlinkContent = xlinkObj.parentNode.getElementsByTagName('div')[1];
 if(xlinkContent.style.display != '') {
  xlinkContent.style.display = '';
  xlinkObj.getElementsByTagName('img')[0].src = 'http://endlessparadigm.com/forum/images/smilies/minus.gif';
 } else {
  xlinkContent.style.display = 'none';
  xlinkObj.getElementsByTagName('img')[0].src = 'http://endlessparadigm.com/forum/images/smilies/plus.gif';
 }
}



You might want to clean that up with some CSS / better Javascript, but meh, I'm lazy.

(This post was last modified: 17/06/2008 12:19 AM by ZiNgA BuRgA.)
17/06/2008 12:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
boogschd
boogyman
Worlds End

Posts: 4,954.3196
Threads: 90
Joined: 29th Nov 2007
Reputation: 4.19708
E-Pigs: 43.6852
Offline
Post: #3
RE: xlink html/css/whatever code?
i think that will do :D ..

thanks zinger b Hero

ot: why are our usernames italicized Hmmm
(This post was last modified: 17/06/2008 12:23 AM by boogschd.)
17/06/2008 12:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #4
RE: xlink html/css/whatever code?
boogschd Wrote:ot: why are our usernames italicized Hmmm
?

Doesn't look like that here...
18/06/2008 04:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Method
You may call me Reverend.

Posts: 6,358.2856
Threads: 443
Joined: 14th Jan 2008
Reputation: 6.04241
E-Pigs: 71.2376
Offline
Post: #5
RE: xlink html/css/whatever code?
ZiNgA BuRgA Wrote:
boogschd Wrote:ot: why are our usernames italicized Hmmm
?

Doesn't look like that here...

Yeah exactly I can't see that....
18/06/2008 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
feinicks
One day... we Fly...

Posts: 6,124.6050
Threads: 531
Joined: 27th Mar 2008
Reputation: 2.35695
E-Pigs: 210817.3958
Offline
Post: #6
RE: xlink html/css/whatever code?
well from all this, I found out how to use

this
had forgotten!

◄◄••• 天使たちの夢か? •••►►

[Image: ewualizer.gif]
My works!
18/06/2008 06:24 AM
Find all posts by this user Quote this message in a reply
boogschd
boogyman
Worlds End

Posts: 4,954.3196
Threads: 90
Joined: 29th Nov 2007
Reputation: 4.19708
E-Pigs: 43.6852
Offline
Post: #7
RE: xlink html/css/whatever code?
ZiNgA BuRgA Wrote:
boogschd Wrote:ot: why are our usernames italicized Hmmm
?

Doesn't look like that here...

weird...

theyr not italicized anymore .... nevermind :p

ill get a screen shot if ever it occurs again :D
18/06/2008 08:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: