Like rtrethewey said, we can help you without any snippet of your code, but my guess will be that one of your script setups width/height of that img element and that's why it is displayed smaller...
setTimeout(looper.change, 750);
The way it is now it'll create another interval each time it goes to loop, although you probably weren't able to clear interval because of variable...
You have to understand that Javascript is executed on Client Side when mysql query is executed on Server side. The only solution now is to use AJAX and pass correct type as GET or POST value to your...
$(document).ready() is fired when DOM is ready and not all content loaded. It usefull in most cases when developer just want to manipulate DOM, window.load should be your solution
If you let PHP handle download/upload then you will not be able to determine user connection speed because PHp will be executed on server and it'll be server...
And how other way would you like to display client speed if not using client-side scripting? Most of - if not all - speed tests use client-side flash scripts.
Hi mate,
Personally I use a Notepad++ with JSLint plugin and Firebug/Chrome Inspector for debugging. I just felt that anything more complex would be overdoing it.
You could make interval that will attempt to access file:///[DriveLetter]:/yourFile.txt
But you can't tell what drive letter it will be on so you will have to...
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var...