| |
| |
| |
|
Page: 1 2
Comments:
<sk8ing> window.frames['dsfds'] Cl*** doesn't support automation <sk8ing> tho, the frames object exists <sk8ing> so, how do I access that frame? <sk8ing> this happens in IE 5 <sk8ing> on IE 5.5 it works fine <sk8ing> any idea? <sk8ing> for compatibility reasons :) <Pilum> Compability with what? <Pilum> There something IE5 does which IE6 doesn't, except for posing as a larger security risk? <sk8ing> for other ppls <Pilum> That wasn't what I was wondering about though. <sk8ing> *ppl <sk8ing> anyhow is full of bugs <sk8ing> document.all is that a safe way to detect IE? <[Torgo]> sk8ing, no <sk8ing> tx, I'll generate an exception then :D <sk8ing> and I'll catch it <[Torgo]> conditional comments is the best way for ie <sk8ing> hmm... what are those? <[Torgo]> to the google machine! <sk8ing> :) <[Torgo]> i use this on domapi.com <[Torgo]> <!--[if gte ie 5.5000]> <[Torgo]> <link rel="stylesheet" type="text/css" href="/css/ie.css"> <[Torgo]> <![endif]--> <[Torgo]> plenty of other options defined in the msdn <sk8ing> wow <sk8ing> that's totaly cool <sk8ing> thank you <mefisto> hello <mefisto> could you help me out ? i know you can <furtive> i don't know if i can <mefisto> how can i get the real size of element ? <mefisto> (dom) <mefisto> in this case .. real height <ht311> .offsetHeight <mefisto> googling .. for mor info :] <mefisto> tnx for help and bye <sk8ing> :) <bsdguy> hi all.. i have a "dept_code.pop.php?show=true" and i want to get the value of "show" in javascript.. what should i do? <ht311> look at location.href , read about indexOf , lastIndexOf , split <bsdguy> can i use Request.QueryString("show")? <ht311> not in javascript <bsdguy> ok tnx <sk8ing> splice is not working in IE 5, what else could I use to remove an element from an array? <ht311> create a new one and copy the element over <sk8ing> damn, that's ugly <ht311> you have a choice? <sk8ing> tx <sk8ing> I guess I don't <sk8ing> :) <sk8ing> omg, it deleted everything :P <ht311> omg, I know who is behind all the attack on Day5 <sk8ing> the snake <sk8ing> what's Day5? <ht311> 24 <sk8ing> still not saying anything for me <sk8ing> some recent event? <ht311> nm <ht311> only NeoFuture will understand <sk8ing> Day5... I'm really trying <Zefir> help. when i try to add innerHTML in script tag it has unknown runtime error in IE but works fine in FF <[TorgoAway]> in script tag? <[TorgoAway]> try using innerText for IE then <ht311> what's the point too add stuff inside a script tag? <[TorgoAway]> although even then i'd just use the src attribute <ht311> that's what i think. there is reason to add a script tag, but content inside a script tag? <Zefir> ok ill try... im doing something different <ht311> Torgo: http://ajaxian.com/archives/reusing-xmlhttprequest-without-abort <Zefir> innertext not working also. <[TorgoAway]> innerText <Zefir> i know the .src method but im diong something different <[TorgoAway]> no src method exists <Zefir> i mean innerText <ht311> that is a property <Zefir> yeah. myObject('myScript').innerText="alert('1');"; <[TorgoAway]> why on earth are you doing that? <Zefir> hmmm lexical anylizer heheh <[TorgoAway]> seems to be the least of your worries <Zefir> but it works in FF maybe there is something i need to do in IE? <ht311> go to read the msdn doc about script tag <Zefir> it worked in .text <sk8ing> anybody knows a link to a recent statistic about browser usage? <[TorgoAway]> there are two good ones on the domapi about page <sk8ing> thanks <[TorgoAway]> http://www.domapi.com/index.cfm?action=about <sk8ing> thnaks, I found it already <sk8ing> it's preatty cool <sk8ing> I chilled out a lil :) <sk8ing> my page looks like crap on NS6 <Demonen> Can I add something to an array without knowing how big that array is? <Demonen> array[0] = "whatever"; // but I want to addToArray('whatever'); <Pilum> But you do know how big that array is. <Demonen> is that just the value of array without the brackets? <Pilum> array[array.length] = 'newstuff'; <Demonen> array lenght. Thank you :) <Demonen> My thinking is waaay to Perl still. <Demonen> I ran out of variations on push and unshift, and what I googled all turned up manual direct array referanceing :) <Pilum> Javascript does have push() though. <Demonen> Yeah, but it didn't work as expected, or I did it wrong. <Demonen> either way it's a product of my ignorance, hence my frantic googling <Pilum> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/array.html#1193137 <flowerseven> hello can anyone help me, i've got a problem <qwertaz> Hi <qwertaz> I have a little problem with a function that checks the format of an e-mail adres... <qwertaz> If I run the function on one place it returns true, but if i run it from somewhere else on the same page with the same params it return false... <qwertaz> could someone help me plz? <qwertaz> ??? <qwertaz> wow, this is really a usefull channel, keep up the good work! <Demonen> allmost a full 8 minutes to completely judge a channel. <Demonen> Shows deep insight into the nature of IRC help, and the fact that it is free and easily available. <Demonen> I have a named div, and I want to get it's CSS backgrund color. How do I do that? object.style.background is '' <Demonen> It's defined in a stylesheet, mind you, not in the main document. <Demonen> Setting object.style.background to something results in a change, so I do have the right property. <Demonen> If I set a style="" on the object itself, then I can see it without any problems. <VaranG|aN> Object ? <VaranG|aN> System.Object ? <Demonen> Object = getElementById(something) <Demonen> I'll just focus my energy on something more worthwhile and just set the values directly on the div. <Demonen> Now to get rid of the pesky rgb( and ) so I can use the values... <ascii_> how to convret a string to a int..? <StaZ[work]> parseInt() <StaZ[work]> google that <Zefir> how do I ***ign a value in combobox? <Pilum> A combobox? <dravine> howdy <dravine> what version of DOM supports getElementsByCl***? <dravine> if any <Pilum> None to my knowledge. <dravine> thanks, that's what I thought <Pilum> But I'd wager there's people who have made their own versions of it. <[Torgo]> there are solutions out there though <dravine> oh, I know that for a fact <[Torgo]> yup <[Torgo]> very sloooooooow <dravine> yeah <dravine> exactly <dravine> hard to explain that to a designer <dravine> who is not a programmer <[Torgo]> so walk the tree once and create a hash table <dravine> no need <dravine> it boiled down to him wanting me to toggle the visible flag of a ton of dom elements found with getElementsByCl***Name <dravine> whereas I wanted to put them in a single id'd element, which is known, and only toggle that one element <melfar> XPath is level 3 IIRC. looks to be quite suitable for this task <dave-e> (S)he should stick to the design and just give you a drawing rather than sticking their beak into the markup side :P <dravine> in a perfect world <dravine> unfortunately, (s)he is the manager so my hands are tied on some issues
Return to
#javascript or Go to some related
logs:
#linux baghira checking for Qt... configure: error #linux postfix nss_wins irakian porn #php #AllNiteCafe #chatzone kissa sharmouta debian 3ware 9500SX
|
|