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
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default How do I do that?

    Hey guys, I was wondering how do I do a iframe or what ever it is like HabboEmotion or HabbCrazy, where the loading picture comes up and you cant right click the iframe on google chrome?

    Moved by Jamesy (Forum Moderator): From "Technology Discussion" - Please post in the correct forum next time.
    Last edited by Jamesy; 13-09-2009 at 01:24 PM.

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

    Latest Awards:

    Default

    That's because they are not using iFrames, they are using Javascript (AJAX) to load content into a div.

  3. #3
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    If you are inteligent enough then you can disect the following and use it:

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm
    Chippiewill.


  4. #4
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    Thanks guys, Ill try it now .

    EDIT: WOW that is really boring, ahhh might as well try it.
    Last edited by Mickword; 14-09-2009 at 02:34 PM.

  5. #5
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Well I can give you the disable right click code.

    <script language=JavaScript>
    <!--

    var message="NO RIGHT CLICKZORZZZZZ";

    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!docume nt.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }

    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }

    document.oncontextmenu=new Function("alert(message);return false")

    // -->
    </script>

    Hope that helps a bit.
    Free Online Games And Videos:
    http://www.vincesgames.com



  6. #6
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    Sorta, thanks .

  7. #7
    Join Date
    Sep 2007
    Posts
    56
    Tokens
    0

    Default

    You cant right click the iframe because there isn't one.

  8. #8
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:


  9. #9
    Join Date
    Sep 2007
    Posts
    56
    Tokens
    0

    Default

    Quote Originally Posted by BoyBetterKnow View Post
    This is a good tutorial for ajax loaders.

    http://www.youtube.com/watch?v=0aOR0dBRUnA
    Lol jack. Advertise yourself.

  10. #10
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    lol, thanks!

Posting Permissions

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