When I setup a data channel between 2 browsers (testing on 2 different machines on the same network), I get different results regarding lag in the following 2 cases.  Case 1: sending / receiving only  When I setup one side to be sending test messages...
I'm developing a music player based on jQuery, which has a long list of items in the main section (unordered list, with <div> elements in each <li>, for info about artist, album and title).  You can access a temporary public version o...
I am currently using CKEditor to be able to edit and to view documents in my SQL database. If I change the content of the document in the sql database it should automatically update the CKEditor instance with the new text. My only problem is that it...
I’m trying to implement a simple “fixed headers” table. I know this can in theory be done with CSS only, but it doesn’t work very well when it comes to OSX Lion and its disappearing scrollbars. So I’m doing it with jQuery.  An approach is s...
I have wrote this code to make seconds (with decisec & centisec) counting up.      You've wasted time <span id="alltime">0.00</span> seconds.      <script type="text/javascript">      function zeroPad(num,cou...
I have a navbar which needs to change colour on scroll. This functionality was originally built with js, however now it has a 'Login' button which is built in elm to perform other functionality.  I used a port and subscription to change the c...
I have an event listener in javascript. But, when activated, the entire program lags for almost a half second per click. Does anyone know a solution to this? Thanks in advance!  I am using Intel XDK to build this, and on the simulate tab, this does n...
I'm having a strange issue, and I'm afraid that its actually a browser issue.  I'm developing a websocket multiplayer game. The game loop runs on requestAnimationFrame, and the positional/game data is received with Websockets.  My problem...
var layer=new Array(); var l=0; function asd(cnt,l1,l2,l3,l4,l5,l6) {  layer[0]=cnt;  layer[1]=l1;  layer[2]=l2;  layer[3]=l3;  layer[4]=l4;  layer[5]=l5;  layer[6]=l6;  for (i=0;i<7;i++){  if(layer[i]!==0) {     l++;     }   } } function moves_li...
heres an example of some code I tried.  <input id="fileupload" type="file"> <button id="choosefile">Choose file</button> <script> $('#choosefile').click(function(){     $('#fileupload')....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.