View Full Version : How do I do that?
Mickword
13-09-2009, 12:41 PM
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.
Robbie
13-09-2009, 12:53 PM
That's because they are not using iFrames, they are using Javascript (AJAX) to load content into a div.
Chippiewill
13-09-2009, 12:59 PM
If you are inteligent enough then you can disect the following and use it:
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
Mickword
14-09-2009, 02:32 PM
Thanks guys, Ill try it now :P.
EDIT: WOW that is really boring, ahhh might as well try it.
ThisNameWillDo!
14-09-2009, 02:38 PM
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&&!document.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.
Mickword
14-09-2009, 02:42 PM
Sorta, thanks :P.
Dromenail
14-09-2009, 03:16 PM
You cant right click the iframe because there isn't one.
BoyBetterKnow
14-09-2009, 04:30 PM
This is a good tutorial for ajax loaders.
http://www.youtube.com/watch?v=0aOR0dBRUnA
Dromenail
14-09-2009, 04:44 PM
This is a good tutorial for ajax loaders.
http://www.youtube.com/watch?v=0aOR0dBRUnA
Lol jack. Advertise yourself.
Mickword
14-09-2009, 07:49 PM
lol, thanks!
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.