Search found 11 matches
- Mon Nov 25, 2013 7:50 pm
- Forum: General Development
- Topic: How do I expose feedback data?
- Replies: -1
- Views: 2093
Re: How do I expose feedback data?
Hmm, yes, though my current (still expanding) experience did'nt see that "far" yet :D I'll try to keep as much as possible contained in one page with linkes JavaScript files split up inot logical functionality...such as the ones that do the general calculations, set up an object to represe...
- Fri Nov 22, 2013 6:48 pm
- Forum: General Development
- Topic: How do I expose feedback data?
- Replies: -1
- Views: 2093
Re: How do I expose feedback data?
You are right, during the run of the application, background calls are to be made to the server to get new data as the old(er) data is being displayed. Of course, during login, there is not a lot more to be done but wait for the customer's ID to come back... Once all that core data is in, the calls ...
- Fri Nov 22, 2013 1:26 pm
- Forum: General Development
- Topic: How do I expose feedback data?
- Replies: -1
- Views: 2093
Re: How do I expose feedback data?
It worked! setting the call async : false and setting up a success: function(data) allowed me to expose the data... Next step; arrays, or maybe (dare I dream.) JSON... :) edit: oh f** waw! :) Owkay, so, I call a PHP script in the back ground (AJAX, love it!) and upon exit, I echo the data, it's an a...
- Thu Nov 21, 2013 11:54 pm
- Forum: General Development
- Topic: How do I expose feedback data?
- Replies: -1
- Views: 2093
Re: How do I expose feedback data?
thanks to all! this makes sense! the AJAX works async, and the script is too fast to grab the result, and does'nt get a chance to "define" the variable... I should set the call to async... Actually, I've read that AJAX calls are "monitored" - I have to look into that... Thanks ! ...
- Thu Nov 21, 2013 7:36 pm
- Forum: General Development
- Topic: How do I expose feedback data?
- Replies: -1
- Views: 2093
How do I expose feedback data?
Hey gang! Look at this snippet, please.. <script> var aValue function dothis() { getID("peter","pan"); console.log(aValue); // "undefined" } function getID(a,b) { $.post('getID.php', {aname: a, apass: b}, function (fbdata) { aValue = fbdata; console.log(aValue); // data...
- Sun Oct 13, 2013 7:36 pm
- Forum: Coding
- Topic: Three?js, camera and angle rollover
- Replies: -1
- Views: 943
Three?js, camera and angle rollover
Hey Gang! Okay, I'm making (duh) a something, using Three.js. So far, I've been able to import a landscape (collada) and set up a skybox. With he mouse I control the rotation of the player, this angle gets stored. I use that to calculate the next X/Y position of the player as (s)he moves forward, us...
- Sun Sep 08, 2013 5:12 pm
- Forum: General Development
- Topic: GL not found...but it's there...there!!!
- Replies: -1
- Views: 1393
Re: GL not found...but it's there...there!!!
Using embedded Shader Language is in fact a great idea, yet be in somewhat confusing at first. It is embeded in <script> tags, however, since the type is set to anything but "javascript" the browser "diplomatically" ignores it, and it's that same characteristic that makes it dete...
- Thu Aug 22, 2013 2:07 pm
- Forum: General Development
- Topic: GL not found...but it's there...there!!!
- Replies: -1
- Views: 1393
Re: GL not found...but it's there...there!!!
Thanks! Off to the link!!! :) Edit : shoot me...this was the funtion function getGLContext(canvas) { var gl; if (canvas == null) { alert("there is no canvas on this page"); return; } for (var i = 0; i < names.length; ++i) { try { gl = canvas.getContext(names[i]); } catch(e) { } if (gl) { a...
- Wed Aug 21, 2013 6:33 pm
- Forum: General Development
- Topic: GL not found...but it's there...there!!!
- Replies: -1
- Views: 1393
GL not found...but it's there...there!!!
Hey gang, Okay, this snippet seems pretty straight4ward, still, it reports that gl is not defined... Can someone shed some light here? Thanks;; -------------------------------------- <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>step 3.5.1</title> <link rel="stylesheet...
- Wed May 01, 2013 4:50 pm
- Forum: Say Hello
- Topic: Greetings programs...
- Replies: -1
- Views: 1896
Re: Greetings programs...
Hey all! Thanks for letting me in. Well, WebGL does have some control on the accellerator side, every HTML page that has WebGL functionality has shaders, written in GLSL, shader language. They need to be compiled and set up for the card. The fact that ***soft (explorer...) does not support it (yet) ...