Finally the new Web 2.0 revolution has settled the standard-compliancy issue of the HTML <blink> tag! All you have to do is <span> your <blink> text and add a bit of <script>:
Then complete it all with anfunction makeXMLRequest() {
var browser = navigator.appName;
if (browser == "Microsoft Internet Explorer") {
return new ActiveXObject("Microsoft.XMLHTTP");
} else {
return new XMLHttpRequest();
}
}
var request = makeXMLRequest();
function sendXMLRequest(url) {
request.open('get', url);
request.onreadystatechange = handleResponse;
request.send(null);
}
function handleResponse() {
if (request.readyState == 4) {
var response = request.responseText;
document.getElementById('insert').innerHTML = response;
}
}
to you back-end server blinker applet, and you've got your !<body onload="javascript:sendXMLRequest('blink-on.html')">
No comments:
Post a Comment