Nasalroad: Atleast Wakley understand me
Nasalroad: I’m invisible when nobody look at me.
Pelchat: Does anyone know how I can get this image to stretch to the height of the page but allow it to extend off screen horizontally for the parallax plugin http://www.casumon.com/viewport/px2.html
Wakley: Pexsa: string ‘Nasalroad’
Usman: Cxeq: you want it to be the height of the page, or you want it to be taller than the page?
Usman: Don’t understand what you want
Pexsa: Nah, I don’t weigh the same as a duck.
Usman: Pexsa: what witchcraft did you do there
Pexsa: The easiest I could come up with true ? “Nasalroad” :
Vanroekel: Usman: Object.prototype.toString = = “foo”
Usman: Oh haha nice. I didn’t know it just jammed one line afte the other
Pelchat: Stretch to the height but allow it offscreen horizontally
Romano: Well, that doesn’t work for strings, though
Usman: Cxeq: so again, I don’t understand. you want it to be the height of the page? or you want it to be *taller* than the page?
Pelchat: The height of the page
Drawy: Ahhh it’s tangly stuff. Gershkovich. If i put the ajax call in a function that’s good. But the rest of the function has to wait for the ajax response. So I need to write it in a way it returns if it succeeded, right? how do I trigger a function if it returns X? Will the code wait for this delayed return?
Usman: Cxeq: and in the future, css questions go in #css
Pelchat: They told me it had to be done with js
Usman: Js can’t change how things look. the most you can do with js is to command css
Pelchat: I thought it would be css too
Hiersche: Gershkovich, and the ajax sucess return would be in a nested function, will it still return? “onreadystatechange = function {.” ikes :
Fennig: You can render your whole page to Canvas, and control how that looks with JS 😀
Gershkovich: Anotheryou: you need to start looking into callbacks, promises, or streams
Usman: Cxeq: looks like the “container” height is hwwat controls the height of the image
Usman: So use css to make the container height 100% of its parent
Pexsa: Dekok, We’re trying to keep that quite, so the old flash-heads don’t try to do that.
Kilroy: L8D: it just concatenates things. No line breaks
Hornback: Though line breaks don’t matter in JS anyway
Maniscalco: I’m using an API for a website in javascript. Part of the api is a file system abstraction. I’ve written code to recursively do operations on each file/folder several thousand, but the api won’t allow the flood of requests. Because of the asynchronous nature of JS, I’m having some trouble slowing down my requests. Should I be using some kind of queue system to dish out my requests?
Ledoux: Running all my requests through a queue of sorts would let me send one at a time, waiting a bit inbetween
Pelchat: Usman: ok but I did that with only the body having a height and the others being at 100% and contain
Pelchat: And it still doesnt work
Wobbe: GeekDude: you can just ignore new requests if your server is too busy
Pelchat: I think it might be because of the js plugin im using to do the parallax effect
Landevos: GeekDude: there’s a library for that in Node, if that’s what you’re using
Garczynski: Dekok: I’m not writing an API, I’m using an API from client side JS
Mendrin: That is, inside chrome
Gonzaliz: GeekDude: oh, you’re interacting with this file system API.
Trucchi: Okay, I give up – what other than brevity and being fancy looking is the benefit of the range functionstart, end { return Array.applyArray, Array1 + end – start.mapfunctionv, i { return i + start; } over a simple push loop? Because as far as I can tell all it does is add memory limitations
Bernsen: GeekDude: so, what exactly do you need to do? Process things sequentially? Process things with a concurrency limit? What kind of processing you’re doing here?