GetTriggerUnit-
DogEntrepreneur
- Reaction score
- 129
Are you still speaking about the chat or are you speaking of something else?
Are you still speaking about the chat or are you speaking of something else?
That scripts covers Chrome, Opera, Safari, Firefox, IE6+. (IE5 maybe).I can't find my docs on it but you can do it with a single request in any browser with generic code given you create a XMLHttpRequest object for IE.
var ajax = {
create: function () {
var xhr;
if (!!window.XMLHttpRequest)
xhr = new XMLHttpRequest();
else {
try {
xhr = new ActiveXObject('Microsoft.XMLHTTP');
} catch (e) {
xhr = new ActiveXObject('Msxml2.XMLHTTP');
}
}
return xhr;
}
}
That scripts covers Chrome, Opera, Safari, Firefox, IE6+. (IE5 maybe).
Code:// snip
Since you're talking about chats I came to the conclusion long-polling is best in terms of performance and resources a few years ago. Production-end technology hasn't changed much since. I can't find my docs on it but you can do it with a single request in any browser with generic code given you create a XMLHttpRequest object for IE.
As for showing off HTML5, how about Minecraft?
Why are you '!!'-ing that if statement? It should work fine without it.
// sets gE to the function's reference value
var gE = document.getElementById;
// sets gE to a boolean telling us if getElementById is available or not
var gE = !!document.getElementById;
Miz, could we get an update on what's up with this project and possibly which projects you have actually going to realize?
I think we should do an HTML5/CSS3 gallery, which displays as many different effects as we can achieve. Things such as a polarized picture etc.
Yeah I think that might be cool, include things like videos too.
Yeah, that's the sort of thing I was thinking, because unlike the chat-system-thing, people can work on their own and then collaborate their ideas at the end. The problem with the chat idea was that one person could just do it themselves and leave everyone else with nothing.
How about sharing a SVN and we each get a directory in it?