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 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    May 2007
    Posts
    152
    Tokens
    0

    Default

    Quote Originally Posted by Tom/// View Post
    Yep, And the .png images are transparent in IE7.
    Ok Thanks

  2. #12
    Join Date
    Feb 2006
    Location
    Sunderland
    Posts
    5,027
    Tokens
    1,306

    Latest Awards:

    Default

    Fine in ff, but how many layouts have you gone through? Seriously you need to get the site working with one layout before you get another.


  3. #13
    Join Date
    May 2007
    Posts
    152
    Tokens
    0

    Default

    Quote Originally Posted by Andy™ View Post
    Fine in ff, but how many layouts have you gone through? Seriously you need to get the site working with one layout before you get another.

    Yes we understand that but we have had problems with older layout but i can assure you this one is here to stay

  4. #14
    Join Date
    Sep 2006
    Location
    England
    Posts
    2,299
    Tokens
    0

    Latest Awards:

    Default

    Unless I clcik the news buttong then the site is few cm big. when I clikc the news button whol site expands into massive
    Habbox eXpert Team Leader (B) Habbo
    PM me for ANY help

    Ex Habbox Super Moderator
    Ex CA HxHD SS
    Ex Articles Staff

  5. #15
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    No. Save images as .GIF not .PNG. Will fix all issues.
    Yes but .GIF can ruin the image quality on some images, doesn't it? Its a pain really as IE6 doesn't support transparent backgrounds on .PNG.

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

    Latest Awards:

    Default

    Not if you use a good GIF exporter.

    Photoshop produces a better quality GIF than say paint.

  7. #17
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    Not if you use a good GIF exporter.

    Photoshop produces a better quality GIF than say paint.
    Yes I know but for example I created a quite large image file with bits of brushes on it etc as a PNG. I exported it using Photoshop and the result came out blurred on the brushes etc and looked quite bad. Some images convert to GIF with little quality loss but I've found some do loose significant quality once they are converted.

  8. #18
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    Believe it or not, using some Javascript, you can make some PNG support for IE6 and below. Call the following pngfix.js:

    Code:
    /*
     
    Correctly handle PNG transparency in Win IE 5.5 & 6.
    http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.
    
    Use in <HEAD> with DEFER keyword wrapped in conditional comments:
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    
    */
    
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    
    if ((version >= 5.5) && (document.body.filters)) 
    {
       for(var i=0; i<document.images.length; i++)
       {
          var img = document.images[i]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML
             i = i-1
          }
       }
    Then put the following into the head of your HTML page:

    HTML Code:
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    Thanks to Bobosola for the fix



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  9. #19
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by NintendoNews View Post
    Believe it or not, using some Javascript, you can make some PNG support for IE6 and below. Call the following pngfix.js:

    Code:
    /*
     
    Correctly handle PNG transparency in Win IE 5.5 & 6.
    http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.
     
    Use in <HEAD> with DEFER keyword wrapped in conditional comments:
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
     
    */
     
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
     
    if ((version >= 5.5) && (document.body.filters)) 
    {
       for(var i=0; i<document.images.length; i++)
       {
          var img = document.images[i]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML
             i = i-1
          }
       }
    Then put the following into the head of your HTML page:

    HTML Code:
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    Thanks to Bobosola for the fix
    Brilliant I've been looking for something like that for ages! Amazing, I really didn't know you could do that to be honest! + rep! Thanks very much!

  10. #20
    Join Date
    May 2007
    Posts
    152
    Tokens
    0

    Default

    Thanks ill look into it more tomorow have to dash now.. Thanks for all your help

Page 2 of 2 FirstFirst 12

Posting Permissions

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