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 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default iFrame Expan Help - Will Pay

    Well Basically, My Site www.Habbolife.co.uk , Has A Main iFrame, Which I Have Added Numerous Scripts To, Yet For Most People The iFrame Dosent Expand!

    I have been at this for 2 months, and i can't get it to work!

    Can anyone have a look at the site, and Css and pages ( View Source ) and see whats wrong

    I'll pay Via paypal about.. £10 - £20

  2. #2
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    <script type="text/javascript">
    window.onload = function() {
    var f = document.getElementById("mainframe");
    function resize() {
    var h = "";
    var w = "";
    if (f.contentDocument) {
    h = f.contentDocument.documentElement.offsetHeight + 20 + "px";
    (f.contentDocument.documentElement,"").getProperty Value

    ("width");
    } else if (f.contentWindow) {
    h = f.contentWindow.document.body.scrollHeight + 5 + "px";
    } else {
    return;
    }
    f.setAttribute("height",h);
    f.parentNode.setAttribute("height",h);
    }
    if (window.addEventListener) {
    f.onload = resize;
    } else if (f.attachEvent) {
    f.attachEvent("onload", resize);
    } else {
    return;
    }
    resize();
    }
    </script>
    ^^ goes in <head>

    id="mainframe"
    ^^ add to iframe tag

    no need to pay
    Lets set the stage on fire, and hollywood will be jealous.

  3. #3
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    Tried

    No Work

Posting Permissions

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