| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> Hey guys <1> mde :p <1> frb-away, fast table API? <2> pst: the Table DOM is slow as mol***es uphill in january, which is I why I don't **** on people for using innerHTML to rebuild tables <0> On my site, www.austech.org I have a Show/Hide script to show/hide the posts. I was wondering if there is a way to change the Show/Hide to a + / - image. So its a + to start with, and when you click it to show the post, it changes to a - <1> frb-away, is it the DOM or the implementation? <2> pst: I think both <1> frb-away, the DOM just requires a ****-ton of constructors and method calls, but that shouldn't be slow in itself <2> if they created some kind of array2table API it would solve a lot of it <3> One of the reasons it's slower is you're using an interpreted language instead of a bunch of optimized C++ code. <1> XSLT of XML via innerFOO? :P <1> mde, but it's only in invoking the calls <3> That's what the browser's rendering engine is designed to do. <1> mde, the underlying structure should be the same <3> I think it might have something to do with having to create an object for every node of the tree. <2> var newTable = createTableFromArray([[foo,bar,baz],[quuz,cow,milk]])
<1> considering that many (most?) consumer processors probally operate over the 2Ghz range now... <1> mde, but that should be nearly as fast if it's glued with JS or internally. <3> Apparently not. The browser can do it significantly faster with innerHTML. <4> is there a converter to convert js code to a oneliner? :) <1> mde, which sounds like an implementation problem :-/ (how much extra overhead is the JS bidning?) <3> I don't know anything about the lower-level implementation stuff. I just know those guys are way smarter than most of us. My suspicion is that it's already being done in a fairly efficient way. <3> Whatever it is, doing it with DOM methods is oftentimes significantly slower. <1> Well, there _is_ a 3x margin between IE and FF from what I've read... <1> the language shootout has been improved :) <3> Heheh. Well, at least there's competition again now. <5> but the memory leaks in FF hasn't <3> FF looks like it's up to almost 25% now. <5> good DOM though <1> CommandPrompt, I haven't had that problem recently. FF 1.5 only gives me issues with hundreds of downloads and external application invocations. <1> CommandPrompt, problems which I haven't experienced with Minefield 3 so ... <5> pst: how much ram do you have? =P <1> CommandPrompt, only 512 <5> 1.5 hasn't got the memory management well <5> at least not as well as IE <1> 3 windows and over 15 pages and only 115MB of Ram <1> It's not a heavy graphics load now... <3> Right, I'm getting back to work. See y'all later. <2> only? <2> 115M is not "only" <5> hehe <5> pst: it doesn't fare as quick as IE on parsing though, but it has more standard compliance <1> Just opened up another 10 windows, with a good bit of images. No RAM useage change. <0> On my site, www.austech.org I have a Show/Hide script to show/hide the posts. I was wondering if there is a way to change the Show/Hide to a + / - image. So its a + to start with, and when you click it to show the post, it changes to a - <1> CommandPrompt, Minefield 3 seemed to exhibit a good bit less `latency' issues (page-jumping on scroll) then FF 1.5 <0> I'm not sure how to change the JS coding <0> to swap the images etc <5> pst: hopefully <1> CommandPrompt, well, it's still at least 6 months out :p <1> CommandPrompt, on the other hand, Minefield has issues with a number of currently-working AJAX stuff :( <0> could i just change the JS on the site, and have somn like "if posthidden(img: plus.gif); if postshown(img: minus.gif); <5> pst: sounds like the new opera =P <1> Eh :p <5> 2 thumbs up on opera, for what it can do, it does it really well <1> I've never used Opera ... <1> what I have saves me $20 and I've never been fond of ads <5> hahha <5> pst: since opera 8.5, is adless <5> and free as usual <6> is there a way of coloring substrings of text in a textaria? <7> in all of your most esteemed opinions, is submitting a form to an iframe in order to do an aysnchronous upload a deadly sin? <1> CommandPrompt, how do they make their money? <5> mickly: no <5> pst: same way mozilla's =P <5> and microsoft <1> dools, gmail does it :p <5> heheh <1> CommandPrompt, what other products do they have? <7> pst: nuff said :-) <5> marketing 101 for you =P~ <5> pst: they have .... well... depends, their main product and the only one I dl from them is Opera <1> CommandPrompt, FF is run by people who like to contribute time and MS has enough revenue <5> they do have opera for win32, *nix, cellphones, macOS, pda <1> CommandPrompt, ahh, I read that yesterday; they're focusing on the "integrated" (?) market <1> What's that term? Grrr <5> well <5> they do not focus on 'integrated' or 'embedded' market
<1> No? :( <5> that I know of <1> cellphones, pdas, etc -- IE and FF don't touch that do they? <6> I think there is work being done on FireFox for cellphones <1> Geh. <1> Crazy. <6> kind of a branch off the main project <5> when Netscape 1st came out, it has ALWAYS been free, when they put out their IPO, it went through the roof, they do have other services, the webrowser is a good way get some marketing, while selling other products/services, I mean, you could say the same on Linux, is free, but tech support and maitenance is not <5> IE is not different for microsoft <4> hmm <1> CommandPrompt, there was also very little competition. <1> Look what they do now :x <4> to send a GET request to a server i just need to call var i = new Image(); i.src = 'http...'; or? <1> Tobsn, there was an example I saw that did that. Not very pretty if you ask me but... <4> did you have the example? <8> is there anyway i can print the content of a external js file ? <8> right onto the page? <4> <?php readfile(); ?> <4> ;) <8> no <9> what function is for session expiry time? <8> im in #javascript <9> oops <9> wrong chan. <4> chino <4> <% include(); %> <4> ? <4> hehe <8> (02:22:50) chino[dev]: im in #javascript <6> chino[dev] we know your in #javascript <8> coulda fooled me <6> just there are somethings that can't be easly don't with JavaScript <8> i know this <6> that php dose very well <8> but i asked here for a reason <8> bahHH!!!!!!! <8> ***** <7> is there some way that i can submit a file upload using an iframe that i have created with document.createElement()? <10> If it has a name, sure <11> doesn't even need a name? <7> b0at: if the element i create has a name? <10> A(n) (i)frame needs a name to be submitted to <11> ohh ok <6> is there a way to get the id if all of an element's childNodes <6> ids I should say <7> b0at: okay, so i create an iframe, then set the name attribute of that iframe to "myframe" and then set the target of the form object to "myframe", then call the submit() method on the file? <10> dools: The form has a submit method, inputs don't. <7> b0at: s/file/form sorry <4> someone good with regex? <4> i have <td>mnnlich</td> and <td>weiblich</td> can i anyhow select <td>(mnnlich|weiblich)</td> ? <12> Ask your question, evaluate responses :) <12> How do you mean? <4> i want the string between the <td></td> <4> its always one of those <4> but the <td></td> is so often that i must select it directly <4> because <td></td> gives me a bit to much ;) <4> <td>(.+)</td> i mean <10> Why? <4> is there a way to select it if mnnlich or weiblich is set? <12> yourTD.firstChild.nodeValue IIRC <4> ... <12> How do you 'select' a TD? <4> i want a regex that matches if mnnlich or weiblich is set <4> im not crawling the DOM... <7> this is a pretty cool solution: http://www.air4web.com/files/upload/ very self contained <10> Don't use regex to parse HTML, especially if the DOM is available. <4> is there someone who can handle a simple regex question? <13> Can we see preview of flash files with dhtml editors ? - I have seen couple of opensource dhtml editors (eg; fckeditor) but it is showing an alternate picture instead of actual flash movie in the edit window. <4> Nineth, i think thats not working <12> I, and b0at, and I imagine many others, can answer fairly complex Regex questions <13> oh... <12> But you're going to mainly get type two answers here <12> buubot: type two answers
Return to
#javascript or Go to some related
logs:
#perl flyinprogramer #perl #gimp how to setup ktheme realtek 8185 gentoo eth0 is not ready firestarter postfix chroot sasl unknown password verifier #perl pwcx suse 10.1
|
|