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 5 of 5
  1. #1
    Join Date
    Jul 2006
    Location
    England
    Posts
    610
    Tokens
    0

    Default Expandable Iframe Help Needed.

    Okay, so there are some post about it, but none have worked on my site. If anyone can help please do, I really need expandable iFrame's for the new version of www.habbofire.com

    Thankyou.
    no-neck aka Confused boy :s


  2. #2
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    You don't have expandable iframes...
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  3. #3
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default


    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  4. #4
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by Colin-Roberts View Post
    <iframe id="myframe" src="externalpage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>

    Where in that does it say "expandable"?

    Using a bunch of javascript hacks doesn't count. Sure, it works, but what if someone turns off js?

    So no, I wasn't wrong.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  5. #5
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Code:
    <SCRIPT language=javascript> 
    <!-- 
    
    function frm_onload(frmname) 
    { 
    frmname.frameElement.height = frmname.document.body.scrollHeight+20; 
    } 
    
    //--> 
    </SCRIPT>
    Thats your JS. It expands / contracts it
    --------------------------------------------
    IFRAME
    Code:
    <IFRAME ID=frm NAME=frm WIDTH=100% LANGUAGE=javascript ONLOAD="return frm_onload(frm)" border="0" frameborder="0" scrolling="no" src="page"> 
    </IFRAME>

Posting Permissions

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