Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Little Poject..

  1. #1
    Join Date
    May 2007
    Location
    manchester
    Posts
    526
    Tokens
    0

    Default Little Poject..

    for you guys

    i just need the spoiler thing in html or CSS IF thats possible. i want it for my myspace! +rep to ANYone who helps xx



    Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 22-06-2007 at 05:31 PM.
    wanna make a dance sell a million singles
    won't stop till my pockets all jingle
    i want my content on your phone
    charging six quid for s*#+^y ringtone.


  2. #2
    Join Date
    Mar 2005
    Location
    Kidlington, Oxford.
    Posts
    7,274
    Tokens
    0

    Latest Awards:

    Default

    <div width="100%" class="alt1" onclick="spoiler(this);" style="border-collapse: collapse; border: solid thin black;"><div id="idTitle" class="alt2" style="border-collapse: collapse; border: solid thin black; width: 100%;">&nbsp;<b>click to show</b></div><div id="idSpoiler" style="display: none;">{param}</div></div>


    {param} should be replaced with what you want in the spoiler i think. that is the HTML code for a spoiler tag which hxf use.

  3. #3
    Join Date
    May 2007
    Location
    manchester
    Posts
    526
    Tokens
    0

    Default

    tried. but didnt seem to like it, got that error thing. and myspace blocked it i think
    Last edited by hadouken!; 21-06-2007 at 11:31 PM.
    wanna make a dance sell a million singles
    won't stop till my pockets all jingle
    i want my content on your phone
    charging six quid for s*#+^y ringtone.


  4. #4
    Join Date
    Mar 2005
    Location
    Kidlington, Oxford.
    Posts
    7,274
    Tokens
    0

    Latest Awards:

    Default

    i just tried editing my profile, it came up with an error.

  5. #5
    Join Date
    May 2007
    Location
    manchester
    Posts
    526
    Tokens
    0

    Default

    yeah same in Dw too, i might just do a text box if nobody comes up with gd thingssss
    wanna make a dance sell a million singles
    won't stop till my pockets all jingle
    i want my content on your phone
    charging six quid for s*#+^y ringtone.


  6. #6
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    It is really the kinda thing js is made for, although i suppose a conditional bit of css probably could do it, cross browser support would be terrible "/

  7. #7
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    add this to the myspace for the spoiler:
    HTML Code:
    <script language='JavaScript' type='text/javascript'>
            <!--
                function spoiler(obj)
                {
                      for (var i = 0; i < obj.childNodes.length; i++)
                      {
                            if (obj.childNodes[i].id == 'idTitle')
                                titleRow = obj.childNodes[i];
                        if (obj.childNodes[i].id == 'idSpoiler')
                        {
                            if (obj.childNodes[i].style.display != 'none')
                            {
                                obj.childNodes[i].style.display = 'none';
                                titleRow.innerHTML = '&nbsp;<b>Click to show spoiler</b>';
                            }
                            else
                            {
                                obj.childNodes[i].style.display = 'block';
                                titleRow.innerHTML = '&nbsp;<b>Click to hide spoiler</b>';
                            }
                        }
                    }
                }
            //-->
            </script>
    And heres the spoiler

    HTML Code:
    <div width="100%" class="alt1" onclick="spoiler(this);" style="border-collapse: collapse; border: solid thin black;"><div id="idTitle" class="alt2" style="border-collapse: collapse; border: solid thin black; width: 100%;">&nbsp;<b>Click to show spoiler</b></div><div id="idSpoiler" style="display: none;">LIKE THIS BUT HTML. BB Doesnt work.</div></div></div>
    Edit: I have just seen Javascript isnt allowed on myspace x_x
    Last edited by Flisker; 22-06-2007 at 10:17 AM.
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  8. #8
    Join Date
    May 2007
    Location
    manchester
    Posts
    526
    Tokens
    0

    Default

    so it wont work?
    wanna make a dance sell a million singles
    won't stop till my pockets all jingle
    i want my content on your phone
    charging six quid for s*#+^y ringtone.


  9. #9
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    No.....

    Edited by opensourcehost (Forum Moderator): Please don't post pointlessly.
    Last edited by Mr.OSH; 22-06-2007 at 05:32 PM.
    Looking for a good desiner to design a social networking template.

    PM me.

  10. #10
    Join Date
    May 2007
    Location
    manchester
    Posts
    526
    Tokens
    0

    Default

    i worked it out for myself. why post pointlessly?

    Edited by opensourcehost (Forum Moderator): Please do not tell users that they have broken the forum rules, instead report the post using the report post button.
    Last edited by Mr.OSH; 22-06-2007 at 05:32 PM.
    wanna make a dance sell a million singles
    won't stop till my pockets all jingle
    i want my content on your phone
    charging six quid for s*#+^y ringtone.


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •