Page 3 of 9 FirstFirst 1234567 ... LastLast
Results 21 to 30 of 81
  1. #21
    Join Date
    May 2007
    Location
    Nebo, NC, USA
    Posts
    2,517
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Luckyrare View Post
    nice one, looking forward to see the final product
    same here

  2. #22
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    The hard part is getting the image to go into the 'preview' box right in the middle. 'vertical-align: middle;' isn't working..hmm..

  3. #23
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    The hard part is getting the image to go into the 'preview' box right in the middle. 'vertical-align: middle;' isn't working..hmm..
    I have tried using CSS to align something in the center of the page. Asked on a number of forums with no luck

  4. #24
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Hmm, I'll search through Habbo's CSS Files for the answer =D

  5. #25
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    Hmm, I'll search through Habbo's CSS Files for the answer =D
    Please share if you find it

  6. #26
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    92
    Tokens
    0

    Default

    Good luck with this project =]
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have fonts in your signature which are over size 4.

  7. #27
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    I couldn't figure it out in CSS, so I thought up a workaround using javascript maths.

    HTML Code:
    <script type="text/javascript">
    <!--
    
            function show_sticker(img) {
            
                var myImage = new Image();
                myImage.name = "../"+img;
                myImage.src = "../"+img;    
                
                height = myImage.height;
                
                padding = 150-height;
    
                padding2 = padding/2;
                  
                document.getElementById("image").innerHTML = "<img src=\"../"+img+"\" alt=\""+img+"\" style=\"padding-top: "+padding2+"px;\" />"
    
                                        
            }
    
    -->
    </script>
    Last edited by Invent; 23-07-2007 at 05:19 PM.

  8. #28
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    AJAX Store is going well, just setting up the 'information' part of the store. So that when you click a small image a larger preview appears, the price of the item, etc.

    Also I've decided to use scriptaculous for the deletion of widgets/stickers, this is just so that the item fade's out and also it looks cool =D
    Last edited by Invent; 23-07-2007 at 06:05 PM.

  9. #29
    Join Date
    May 2007
    Location
    Nebo, NC, USA
    Posts
    2,517
    Tokens
    0

    Latest Awards:

    Default

    Put it online so I can see

  10. #30
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    I would, but there is nothing to show atm lol.

Page 3 of 9 FirstFirst 1234567 ... 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
  •