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!


Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default Making Iframe Transparent

    I have a problem, as on my iframe i need it to be transparent not wite background for my script. But it ain't working, i've tried 2 transparent codes,

    alowtransparency="yes
    &
    transparent="yes"

    and none work as the iframe just remains white :S, can anyone help as i need it for my script!

    Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 15-07-2007 at 08:36 PM.

  2. #2
    Join Date
    Jun 2007
    Posts
    261
    Tokens
    62

    Default

    im not sure about this but try this...

    on the pages with the stuff you want to show in the inline frame, get rid of all of the stuff inside the <head> tags. This then makes the document very very plain and simple HTML. I think that this might work because there is a document background element to it. the default is white so just delete all the <head></head> variables.

    However, if you were to do a PHP include and embed a sort of inline frame this would be much more easier and also more appropriate.

  3. #3
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    HTML Code:
     alowtransparency="yes"
    That would not work as allow has 2 Letter L's and its true not yes
    HTML Code:
     allowtransparency="true"
    That would work


  4. #4
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    nope they didn't work,
    but i made a css stylesheet, and it worked :S

    WOO for css

  5. #5
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    You cant spell.

    allowtransparency="yes"

  6. #6
    Join Date
    Oct 2006
    Posts
    115
    Tokens
    0

    Default

    In your head part:

    Code:
    <iframe name="iframe" src="mypage.html" width="50" height="50" allowtansparency="true"></iframe>

    This goes in your css document:

    Code:
    <style type="text/css">
    body,html{background-color:transparent;}
    </style>




  7. #7
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    another explanation could of been that the page he was directing to eg. home.php had a set background colour in this case remove the set background colour and have allowtransparency="yes" and yeh should work, css is a better way of doing sites nower days.

  8. #8
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    thanks to every1 that helped, 'll remember css next time lol ^^ +rep if i can
    (except to blob as he seems to -rep me MULTIPLE TIMES)

  9. #9
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by yabberer View Post
    thanks to every1 that helped, 'll remember css next time lol ^^ +rep if i can
    (except to blob as he seems to -rep me MULTIPLE TIMES)
    What the? Ive only -reped you once. Learn to count please.

Posting Permissions

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