nitro2k01 information 575 glöps
- general:
- level: user
- personal:
- first name: Lennart
- last name: Ek
- cdcs:
- cdc #1: SHizZLE by Team Pokeme [web]
- cdc #2: Structure 2: Sequence by Ümlaüt Design [web]
- demo Windows Four Bitches by Nuance [web]
- overrated!
(Playing mr obvious...) - sucksadded on the 2006-09-02 03:39:23
- 40k Amiga AGA Trance 1:24 by Virtual Dreams & Fairlight [web]
- Is there a vid or an ogg of this one?
- isokadded on the 2006-09-02 02:55:52
- 4k Windows Design is Jarig by GlenZ [web]
- It's good looking and all that, but still... It doesn't quite do it for me. Dunno why. ):
- sucksadded on the 2006-09-02 02:32:19
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- p01: I don't mean to complain, but the files are identical...
- isokadded on the 2006-09-01 22:28:09
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- The original version uses innerText which is IE specific, but also works in Opera. Here's an FF version: link me beautiful
It works fine in FF and Opera (Though faster in Opera, naturally) but renders incorrectly in IE. All I did was replace innerText with innerHTML. - isokadded on the 2006-09-01 22:18:16
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- Quote:innerText will in theory do removeChild on all children, appendChild(createTextNode(yourText)) (Abbreviated code) At least as I've understood it.
replacing its innerHTML could in theory scalp the SCRIPT tag. InnerText seems safer and more "forward compatible" as it only set the nodeValue of a textNode and do not touch the DOM tree.
Consider you have <div id="bla">Bla<img src="pouet.png""></div> Then you do $("bla").innerText="Something". This will replace every child node with a single text node. You argument is true only for get, not for set.
So innerText is no safer "in theory". Of course both will work in practise because browsers generally store code in some internal format, separated from the DOM tree. Probably even doing manual removeChild on a script node would still leave the script intact. I'll have to check that out. - isokadded on the 2006-09-01 09:57:39
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- If you replace innerText with innerHTML and do nothing else, it works fine in FF and Opera. That's logic, right? inner means it goes inside of the tag and behaves as if it was actually put between the tags in HTML code.
So, that changes makes it work in FF, makes it still work in Opera, and makes it fuck up in IE (Good thing) So do that change and make it a final. (; - isokadded on the 2006-09-01 09:22:05
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- Why choose innerText over innerHTML? (Since innerHTML is more compatible and takes as many bytes) Only reason I can see to do is if perhaps innerText is a bit faster.
Other than that, It's good for a 253b. (sic)
What Preacher said.
And I agree with p01 of course: link me beautiful - rulezadded on the 2006-09-01 09:02:09
- 256b JavaScript 80's Character Editer by VORC [web]
- I must thumb this down. Why?
Sure it's an effort to do this in 256b, (kudos for that) but this is neither a demo nor a useful demotool. So to me it seems pointless to add it as a prod.
- sucksadded on the 2006-08-31 17:09:46
- 256b JavaScript Mandelbrot by Bonz
- Yay!
- rulezadded on the 2006-08-31 17:04:22
account created on the 2005-07-09 20:17:18
