| |
| |
| |
|
Page: 1 2
Comments:
<0> if there anything I can add to the A href javascript:popupWindow that controlls the size of the window popping up? <0> is* <1> sure <0> with adding anything to the <head>? <1> add alert("poopups ****"); <0> cute <1> i try <0> but it's got an image -- so customers on my site would appreaciate not having to navigate around when looking at an image of something they wanna buy <1> look into the open() method then <2> question <2> are there any open source javascript gMap tool equivs? <3> http://storm.nupoison.com/gameLadder.php W
<3> After you select a game, then select a ladder, it should show the description, instead it shows "Object" <3> Any idea why? The source is viewable. <4> NeoFuture: bom bom bom <4> heheh <5> hey... gotta question: suppose i have a partially transparent image (that is, a png with parts that are completely transparent, and parts that are completely opaque) <5> and on a mouse (move/click/etc) event i want to determine whether the event was registered on an opaque or transparent part of the image <4> .target (moz) , .srcElement (IE) <5> hmm, it looks like .target is still the HTMLImageElement, even if the event is received on a part that's 100% transparent <4> that's the way it is then <5> awww, but that makes me sad <6> how do i remove or replace some text? <7> CSS quote of the week: "This is true for all browsers except IE." <1> leave the politics at the door please ;) <7> it's not politics, it's humor <8> haha <7> ever saw fun politics ? <7> :> <4> [Torgo], don't worry, here always will be a IE friendly channel :) <6> how do i remove or replace some text? in a file.txt that's hosted remotly and called using: <link rel="stylesheet" href="file.txt"> ?? <6> i've got a script that works fine, but when i load the page, the text is;nt replaced <7> http://www.airtightov.com/lab/airtight_corners.html <7> clever <1> easily impressed, eh? <7> always a stupid comment, eh ? <4> it need an image, nah, nifty still better <1> h3, you're not gonna get too far in here <4> MiddleFinger: look at document.stylesheets[x].rules etc <1> next <4> he is fine, he have been toying with domapi;) <1> needs to toy with his attitude <4> the canvas layer run quite fast http://ajaxian.com/archives/google-puts-the-canvas-in-ie <4> http://www.abrahamjoffe.com.au/ben/canvascape/ <1> oops <1> just did the "infinite mirror" thing with a domapi page <4> heh, what's that? <1> index page with an iframe that contains a pagecontrol with an iframe that contains the index page.... <4> hahhaa <4> Crockford's purge function is pretty fast, did some benchmarking a while ago, need compare with _unload to check <1> cool <1> prolly have to sacrafice completeness <4> "completeness" ? <1> it may cut corners for speed <4> not really, it do a recursive free for attribute with a function <1> same as _unload, no? <4> same, that's why I need to check it aginst _unload, but _unload do it on all element, and check each element <4> each properties that are in the array <4> some wastage in there <1> ht311, was nearly a year ago <9> any domapi experts around or is it too late? <10> i have a table with a checkbox on the firts column of each row and want to check the checkbox on the row event onclick. any idea about how to refer to that chackbox? <1> shoot <9> well, my question is in regards to forum post http://domapi.com/index.cfm?action=forumviewtopic&topicid=2156 <1> bradix, use the cells collection <1> Paul? <10> hmm <9> Henry suggested that I call purge in my delete1button function, but when I do I see significant memory growth when removing the button... <1> seems henry fell asleep <9> just wondering what the problem may be. seems odd that nulling stuff out would do that
<9> maybe if lots of handlers are un***igned, then nulling them actually increases memory usage? <1> are you waiting long enough for garbage collection to kick in? <9> no, but i could... lemme see <1> IE has an undocumented method you can use to force it to as well <1> CollectGarbage() <9> i thought i read that the api is there, but it doesn't do anything (just a stub). i'll try to call it <1> dunno, never tested it <9> doesn't seem to have any affect. <9> it's just really weird because base page memory is 23mb, adding 100 buttons, puts it up to 25mb, and then removing them puts it up to 32 <1> how are you removing them? <9> i modified the delete1button from that forum post to be: <9> function delete1Button() <9> dang, can't paste multiple lines <11> hello, I'm newb, and I want to use deleteRow() on a table, how do i fire javascript when the page loads? <1> sykerz onload=function(){ ... }; <11> thanks <9> if you can see that post, look at the delete1Button function. I just modified inside the if to be: <9> buttonToRemove.free(); domapi._freeComponent(buttonToRemove); purge(buttonToRemove); <1> using removeChild ? <1> that returns a ref to the removed node <1> make sure you are not hanging on to it <9> that's all up to _freeComponent... but I can try removeChild instead. I had something similar to that originally <9> Have you seen the post? Any other ideas on how I can reduce memory growth? <1> yes, byt not adding and removing so many items ;) <9> heh, funny :P <1> can you contain that area of the ui with an iframe? <1> _freeComponent indirectly calls removeNode <1> does not hang on to the ref <9> possibly. if i do, I would need to include domapi.js stuff inside the iframe page's source right? <1> yes <1> presumably it would be cached though <9> hmm, would it be bad to have a bunch of iframes that all included a bunch of domapi stuff? <1> not really <1> i do it often <1> it only loads as much as you tell it to <4> back <9> hmm, that sounds like a neat idea. i'd like to try it out and see how it performs <1> one other idea is to create all the instances you think you'll need, then hide/show them as needed <9> that'd just be way too many. i was thinking about trying to reuse components though. so instead of removing them i just have a cache <4> i use a lot of plain html elm in my page too, not really need domapi for everthing <1> this sounds like a real nasty ui ;) <9> well each "transaction" isn't bad. it's just there can be a LOT of them <4> http://vix.myvnc.com:8088/dropbox/untitled.PNG <9> there's a menu, and each entry can open a new transaction. multiple transactions can be open at a time <4> every tree node link to a new screen <9> and each tree node opens a new page? or does that screen just have 3 pages? <1> ht311, nice <9> if clicking a tree node just makes a new page, then it's a lot like the app we're creating <4> using page control that use iframe to load, user can add new page as needed <1> yup <9> i like it <12> how do i do regex in js ? <4> default action is replace current active tab/page <1> optocus, http://www.javascript-channel.com/Wiki.jsp?page=Links <1> http://www.javascript-channel.com/Wiki.jsp?page=RegExpTester <9> so each new page's content is a complete iframe? so you can kill the iframe and get the _unload to fire? <1> _unload will automatically fire <4> yup, auto <9> right, but the key is that the entire page doesn't have to refresh to fire the _unload - just any particular iframe <9> and it's a localized _unload to that iframe's content <4> iframe is another document <4> nothing to do with the hold page <9> have you had any issues communcating between iframes? <9> seems like i've done that plently before, but not with domapi <4> nothing special for domapi on this front <9> cool. one other related question <9> my coworker is having a bit of trouble getting listgrids positioned without absolute positioning. if it's nested too deep it gets stack overflow issues in IE <9> ever see anything like that with your grids? <1> using reflow or packer? <9> neither <4> heh <1> hmm
Return to
#javascript or Go to some related
logs:
xammax max #linux createwindow flatstyle #c++ Unable to find library containing res_mkquery() #javascript Virtual Machine CD-ROM Image nick de hackeri #linux #asm
|
|