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 10 of 10
  1. #1
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default Expanding Iframes

    Does anyone know a tutorial on how to code with expanding iframes?
    if you could write a tutorial or find one for me thatd be great

    +REP for help

    [Ive tried googling it but it doesnt cme up with anything]

  2. #2
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    if u mean expandable tables i can help you
    Looking for a good desiner to design a social networking template.

    PM me.

  3. #3
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default

    Iframes can expand btw
    Read this

    http://www.dynamicdrive.com/dynamici...iframessi2.htm

    but i might need help with expanding tables

  4. #4
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    Expanding iframes is basically a js code to re-size the iframe to however much content you put in it.

    Put the JS code just before your iframe code - bingo.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,733
    Tokens
    201
    Habbo
    Bomb-Head

    Latest Awards:

    Default

    But if you use expandable iframes, won't they just expand over your layout as the layout will be a still picture and not coded to expand?

  6. #6
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    Expandable Tables tut for you.

    http://www.uploadz.co.uk/562tables.zip
    Looking for a good desiner to design a social networking template.

    PM me.

  7. #7
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Bomb-Head View Post
    But if you use expandable iframes, won't they just expand over your layout as the layout will be a still picture and not coded to expand?
    the layout must be able to expand aswell - yes.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  8. #8
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    use that tutorial then use php includes for the nav
    Looking for a good desiner to design a social networking template.

    PM me.

  9. #9

    Default

    http://www.tutorialized.com/tutorials

    Has like 1000+ tutorial on everything.

  10. #10
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Singh, View Post
    Iframes can expand btw
    Read this

    http://www.dynamicdrive.com/dynamici...iframessi2.htm

    but i might need help with expanding tables
    Seems like a waste of time and resources. If you're gonna use JavaScript, you might as well not use iframes at all.

    HTML Code:
    <html>
    <head>
     <title></title>
     <script type="text/JavaScript">
     <!--
    
     try {
        var r = new XMLHttpRequest();
     } catch(e) {
        var r = new ActiveXObject('Microsoft.XMLHTTP');
     }
    
     function load(page) {
        r.open('get', page);
        r.onreadystatechange = proc;
        r.send(null);
     }
    
     function proc() {
        if(r.readyState == 4) document.getElementById('content').innerHTML = r.responseText;
     }
    
     -->
     </script>
    </head>
    <body>
     <div id="content"></div>
     <a href="javascript:load('somewhere.htm');">Somewhere</a>
    </body>
    </html>
    kinda quit.

Posting Permissions

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