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 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Dec 2005
    Location
    Nottingham Or Nottinum :P
    Posts
    505
    Tokens
    125

    Default iframe solution?

    We're looking for some form of solution to iframes, we cant use php include because its not practical - Unless iframes are now compatible with all well-known browsers.

    Any ideas?
    Post count:
    100 200 300 400 500 600 700 800 900 1000

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

    Latest Awards:

    Default

    Iframes have been compatible with all browsers for years.
    Lets set the stage on fire, and hollywood will be jealous.

  3. #3
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    wth u on about ?

    U wnt to include pages on ur site?

  4. #4
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    Use AJAX content loading?

  5. #5
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by Robbie! View Post
    Use AJAX content loading?
    If he thinks iframes aren't compatible with most browsers then that's definately not an option.

    Iframes are compatible with nearly all browsers used today.

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jxhn View Post
    If he thinks iframes aren't compatible with most browsers then that's definately not an option.

    Iframes are compatible with nearly all browsers used today.
    Ty so much for repeating what Decode says.

    And also jQuery is cross browser compatible. ie6 upwards I believe.

  7. #7
    Join Date
    Jan 2008
    Posts
    1,003
    Tokens
    0

    Latest Awards:

    Default

    Oh, i didnt think that iframes were compatible with all browsers, so to name they work with IE, Firefox, Opera, Safari ?

  8. #8
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    HTML Code:
    <!-- javascript (include prototype and scriptaculous here) -->
    <script src="linkto/prototype.js" type="text/javascript"></script>
    <script src="linkto/scriptaculous.js" type="text/javascript"></script>
    <script type="text/javascript">
    function loadPage( div, url ){
         var loadingText = 'Loading...'; //html can go here too
         document.getElementByID(div).innerHTML = loadingText;
         new Ajax.Updater( div, url );
    }
    </script>
    
    <div id="content"></div>
    
    <a href="#" onClick="loadPage( 'content', 'news.php' );">News</a>
    Yea, should make sense, its a basic function to replace a div's contents with that of a page with some loading text just before. Its basic and ugly but thats the sort of thing you will be looking at if you go down the ajax route.

    However iFrames are fine to use (even though I hate people who do ).


    www.fragme.co = a project.

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

    Latest Awards:

    Default

    However iFrames are fine to use (even though I hate people who do ).
    IFrames are fine.

  10. #10
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:


Page 1 of 3 123 LastLast

Posting Permissions

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