| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> There we go. <1> sweet, thanks <2> wait <2> Aankhen``, what is this supposed to filter out exactly <0> suv4x4: Properties added to the prototype. <0> So if you have Object.prototype.bar, this will skip it. <2> Aankhen``, that's FF only right <0> No. <3> suv4x4: is there a way to mark something as not enumerable? <0> I've tested it in FF and IE... not sure about Opera or others. <2> kosh[0], there should be but unfortunately this is sketchy accross browsers <0> That reminds me, I think I forgot to install Opera 9. <3> fair enough <2> kosh[0], funny enough there's such thing in Flash (which also uses ECMAScript) for years, and people are always quicky to jump on Flash's ECMA support <3> well tbh I aint sure why people don't support javascript properly :P loool <3> laziness is the best I can come up with
<2> kosh[0], truth is even if the smaller browsers would do this, it won't pick up because of IE <2> MS would never implement robust OOP language for the web they don't control <3> fair play, I dont know why the js engine in browsers isnt a plugin anyway <2> but now that their strategy actually changes, who knows <3> want a better engine, just grab a newer plugin from <wherever> <2> kosh[0], because it'd have even less of a chance <0> suv4x4: Microsoft has its own agenda (VBScript). <0> (Or ActiveX.) <2> supporting 5-6 major browsers is enough <3> LOL! <2> I don't want more plugins <3> as if someone is going to write in VBScript>!! <3> loool <3> vbscript is the most arcane, stupid, ridiculous langage I ever tried to learn <2> Aankhen``, that was few years ago. They kinda are starting to deprecate ActiveX and all that now <0> kosh[0]: It's still Microsoft's own language, which they'd much prefer everybody used. :-) <3> it's totally uncohesive and incomprehensible, laying layer up layer of crap to try fix things they designed badly years ago, but can't remove cause of bad compatibility <4> IE doesn't do Javascript anyway, it's JScript. <0> Eh, no arguments from me on "VBScript ****s". <2> kosh[0], vbscript is just legacy. If you wanna see a modern MS language, see C# <3> ah, well better <3> actually, for writing web applications, HTML/CSS is the most awful language ever <2> Microsoft aren't idiots after all <3> they arent? <3> you didnt see the news? <3> bill gates has been allowed to step down, I say no, I say keep him there forever, in cryostasis <5> kosh: what about black men <5> you cant tell me you're not the least bit curious <3> what? <3> dude, stop watching porn <3> starting to worry me now <5> nah i was showering at the gym today and there was a black man in there <5> im not gonna lie, i took a look at the coal sausage <3> hmmm <6> hi <3> hahhahahahhahaha <5> and they're definitely a different breed <3> BEST NAME EVER <3> coal sausage <3> ahhahahahh <6> I would like to set a background image for a lot of <td> element; the images are the same; it works fine in firefox, but in internet explorer it's slow, becouse it downloads the image for every td. is there a way to make it faster? <6> [lot's of <td> -s: about 400] <7> SDr: Ever heard of css? <6> I've tried pre-loading it w/ new Image, but it still downloads them <6> Munter, the td's are dynamically changing, so it would require a css entry for every td; I would like to try that as a last result <7> SDr: dynamically changing, how? <0> SDr: Are they changing so dynamically that you can't ***ign each one a cl***? <6> Aankhen``, there are about 400 of them <7> That wasnt the question <0> 400? Okay. My question still stands. <8> How are you styling them? <6> Munter, okay, basically I'm trying to create a rogue-like [-> nethack] game in JS w/ asp/.net back-end. so I've figured, I represent the board with a table <6> so, they are changing about every second <7> I havent played nethack, so I wouldnt know how dynamic that is <6> I can ***ign to each one a cl***, but would it be fast enough from js in IE, that the whole board [400 td's] could be changed within 1 second? <7> You still havent said anything that warrants setting a background with javascript though <0> Munter: Board would change every time the player moves or perfroms an action. <7> aha, but not the whole board <0> s/perfroms/performs/ <7> only a few fields <0> I guess.
<0> Yeah. <7> the to and from fields of each moving element <0> But you'd still have to loop to find those few. <7> no, you have references to them <0> Hmm... <0> I don't remember all the possible actions, but what you're saying sounds right. <0> s/right/correct/ <7> You have one default style for all cells <7> then each item has a cl*** that you ***ign the cell <7> the script then calculates the move of each item each turn, and updates the from field by removing the cl***, and adds the cl*** to the to field <7> You dont have to iterate 400 cells, and you dont need more than a default styling anda cl*** for each monster/item <7> I did an animal simulaor where we did the exact same opimization <6> okay, I'll try that <1> i cut my finger and it doesn't even hurt <1> bleeding a lot though <7> Try not to type :) <9> Morning <1> MacGuyver! <9> It's spelled and pronounced differently. :) <9> Also I'm not fictional and can barely remember the last time I saved civilisation with two rubber bands and a biro. <1> ahh <1> remember when MacGuyver dropped that guy off the cliff and he screamed "MacGuyver!" all the way down? <7> Which one of the times? <7> I think our hero has had that happen to him more than once <1> well he had a lot of flashbacks about it <1> because i think his brother or something came for him <1> or maybe i'm confusing it with Die Hard <7> In die hard he doesnt scream afair <1> yeah, that's true, he's all silent <7> Hansi :) <1> Hans Grueber <1> "Clay...Bill Clay" <1> **** this time i cut myself deep <9> I've never watched MacGuyver, so no. I don't remember it. :) <1> youre kidding me <1> such a good show <9> (Nor have I watched Knight Ryder, Mr Ben, or any of the other 80s and 90s TV shows people seem determined to ***ociate with me...) <1> i never saw mr ben <1> what about airwolf? <9> I spent most of the 80s and 90s in the middle east. <1> oh wow <9> Didn't have much in the way of TV access. :) <9> Well, 80s and early 90s. <1> did you do opium? <9> Uh, no. <1> i hear they have lots there <9> I never encountered any. Also I was barely 11 when I left. :) <1> oh thats good <1> kids shouldnt do drugs <1> the jury is still out on whether adults should <1> but i'll take my chances <6> DRMacIver, good for you. <1> so why were you in the middle east? grew up there? <6> I'm spending my days in the middle east right now, and it sux big time. <9> My father was working there and the rest of us tagged along. :) <6> DRMacIver, which country? <9> Bahrain and Saudi Arabia. Mostly Saudi. <1> wow, bahrain is tiny, hardly saw you there <1> all hidden by big old saudi arabia <1> are they friends? <1> people complain about mexico, but cmon, we're lucky to have them as neighbors, we get along well <1> sometimes i think the US bullies them though <10> !v http://neu.netzgil.de <11> HTML: Not valid - Errors: 5, http://validator.w3.org/check?uri=http://neu.netzgil.de <11> CSS: Valid - http://jigsaw.w3.org/css-validator/validator?uri=http://neu.netzgil.de <10> !v http://neu.netzgil.de <11> HTML: Valid - http://validator.w3.org/check?uri=http://neu.netzgil.de <11> CSS: Not valid - Errors: 2, Warnings: 12, http://jigsaw.w3.org/css-validator/validator?uri=http://neu.netzgil.de <1> !v http://google.com <11> HTML: Not valid - Errors: 65, http://validator.w3.org/check?uri=http://google.com <11> CSS: Valid - Warning: 1, http://jigsaw.w3.org/css-validator/validator?uri=http://google.com <1> oh awesome <1> for (t in this) { alert(t); }
Return to
#javascript or Go to some related
logs:
#math #sdl #lisp arse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRI swftool script #ubuntu morgo futurama #web tty2 /mnt/source dolmares
|
|