| |
| |
| |
|
Page: 1 2
Comments:
<0> Pilum still stuck with the problem :( <1> brb <1> re <2> test <2> what 's the best ajaxe framework ? <3> Hey, is there any easy way to convert an XHTML string to a DOM object? Library or anything like that? <4> Should be plenty of xml parsers out there. <3> One would think <3> Any specific suggestions? <4> Or perhaps you're thinking of XMLDocument? <3> Well...
<3> I'm returning an XML "document" via XMLHttpRequest <3> and I want to take that and make it an element in DOM so I can replace something on a webpage with replaceChild <3> I hope that makes sense... *blinks* <4> XML parser then. <5> fsdfsdfsdfsd 2 things, you should get yourself a real nick, and check your website in Firefox, as for why the player doesn't play the song i don't know... try to set it using a snippet of code in the main page, not in the iframe, if that doesn'T work then the problem is not the iframe <6> ok, i'm being more specific... <6> the play function gets the what parameter: function PlayIt(what){..} <5> about your nick, it could be taken as an insult, you don't think it's worth the time finding a nice nickname so you consider mirc and the whole network, trash :P <7> but I want to do it based on user input, so I'm trying the following: <7> why doesn't the above work??? <5> what is that, are you trying to override an <object> innerhtml or what!? <5> rafb.net show us the PlayIT functino <5> lunch time, bbl <7> can I post the URL instead of the whole function? <8> kik <9> Hi <9> How can i open a popup with the content of a variable ? var content = "hello"; open(content,'',''); ?? <10> i've already bin to a lot of servers with no luck, so I hope someone here can help me :) <11> hello <11> can you help? http://pastebot.nd.edu/70 <11> just a simple function to play wav <11> why doesn't it work? <10> I want to make a variable, the value of this variable must be the name a user put into textfield. Does anyone know how to do this? <12> var nm = document.formnm.elementnm.value; <10> ok thnx :) going to test that :) <11> just a simple function to play wav <11> why doesn't it work? <11> can you help? http://pastebot.nd.edu/70 <13> dunno mainpr0c , sorry <13> did you try spelling it firstSound ? <13> (are ID attributes case sensitive?) <11> i tried, it didn't help.... <11> i just want to play wav file <11> doesn't it supposed to be simple/ <11> ? <13> I mean, spell "firstSound" with a capital "S" in the embed and in the href <11> I did, it didn't help <14> when i ***ign an event handler the "traditional" way, like obj.onclick = function... i get a result in firefox... doing the same with obj.addEventListener( "onclick", function ) yields nothing... why is that? <14> attachEvent in IE works though. <15> leave off the "on" for gecko
<14> tried that <15> it works <14> not for me. possibly something else wrong <15> yes <15> if(o.addEventListener){ // NS/MOZ DOMs evt <15> o.addEventListener(t,fn, useCapture); <15> return true; <15> }else if(o.attachEvent){ // IEs DOMs evt <15> var _addEvnRt = o.attachEvent("on"+t,fn); <15> return _addEvnRt; <15> }else if(domapi.isIE5Mac){ // IEs/IE5/51+ MacOS <15> o["on"+t] = fn; <15> } <14> hmm. dont see the mistake :/ <16> hey guys, i have a background image on a web page using <body style="background-image:url(images/background.jpg); background-repeat:repeat-y">, but it's not really working. The link is http://www.lincolnminiature.com/index2.htm for some reason the image stops at the right... i want it to stretch horizontally. Does anyone have any ideas <14> oh <14> apparently i HAVE to set the capture flag <14> i left it out <15> HiImDan, you can only tile <16> really? i had it working before... but i changed the image, and now it's not working <16> there's no way to stretch horizontally? i had it working perfect with (i believe) the same exact code and same sized image <16> oh.... i know what i did... <16> okay, i got it <10> is this possible or not: <10> var name = document.inputForm.name.value; <10> var text = document.inputForm.text.value; <10> document.inputForm.name.value = ''; <10> document.inputForm.text.value = ''; <10> send('/msg ' + name + text) <17> ice_cub: no <15> name is a reserved word <10> damn :( I need to get that done.. it works fine with one var but when I use 2 it simply sends nothing :( <10> I tried nm as well <10> I think now the problem is send('/msg ' + naam + text) +naam and +text.. there must be a space between those.. anyone know how to do that? <15> kidding? <10> no, sorry.. I'm a newbe in Javascript :$ <15> send('/msg ' + naam + ' ' + text) <10> yes I tried that.. but then it suddenly expects an object out of CSS code :/ Error on line 112: And there's just CSS there.. no Javascript at all <15> use the debugger <15> if you are combining js in an html page, the line number will not be accurate <10> No you were wright :D <10> I forgot one + :P <10> it works now :) thanks for your help! <18> Q:kinda lame here, but I am trying to write an easy DOM-node creator based given a HTML-string (using DOM methods bloats code too much), the only thing I can up with is this hack, which seems to work but I am wondering for a more "robust" code: <18> function CreateDOMNode(htmlStr) { var dummyObj = document.createElement("DIV"); dummyObj.innerHTML = htmlStr; return dummyObj.removeChild(dummyObj.firstChild); } <18> also I am wondering if there can be "issues" with that function <19> 'lo
Return to
#javascript or Go to some related
logs:
#php #linux pinoy chatzone hammur jib #linuxhelp #AllNiteCafe #javascript gentoo asterisk output: fwrite: Broken pipe #c++ fusionroom
|
|