Could anyone tell me how to make a mainframe and to fit in a website within itself? these are some of the HTTP typed mainframes i picked up:
mmm I don't know how to use that in Flash though....Code:<script type="text/javascript"> var http = (window.XMLHttpRequest) ? new XMLHttpRequest() :new ActiveXObject("Microsoft.XMLHTTP"); function rate(game, rating) { var obj = document.getElementById('rating'); obj.innerHTML = 'Loading...'; var url = '/rate.php?g_id=' + game + '&rating=' + rating; http.open('get', url); http.onreadystatechange = responseHandler; http.send(null); } function responseHandler() { if(http.readyState == 4) { var obj = document.getElementById('rating'); if(http.status == 200) { obj.innerHTML = http.responseText; } else { obj.innerHTML = 'Error!'; } } } </script>![]()
p.s. If such mainframe is possible - could anything stop the website - e.g. a school RM filter?![]()


Reply With Quote