| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> i dont wana be 1337 1773 is a bigger number <1> you can rest now <2> **** that's pretty neat neo. is that for fun or you're gonna stick it in your app? <0> stick it in me app <0> so i have embedded autio playback for my file system <0> http://www.neofuture.co.uk/media/index.php?filename=Intro.wmv <0> oooh just noticed i accidentally did aqua <0> i added a gradient to my seek bar <0> there thats better <0> fixed bug with end of play ending in Pause hehe <1> should add a flag for autoplay <0> http://www.neofuture.co.uk/media/index.php?filename=Intro.wmv&autoStart=true <1> you installed mce? <0> and <0> http://www.neofuture.co.uk/media/index.php?filename=Intro.wmv&autoStart=true&fullScreen=true <0> no
<1> just wonder, since you got the mce video <0> yah its in vista <0> i did a search for wmv and uploaded one <3> anyone around here? <4> Yep <3> i got a small question, I need to p*** a variable to a function, but the function is to populate a dropdown menu, however I have multiple dropdown menus generated in a for loop, so I have 3 boxes to be populated, ex. <select name="1_type">, name="2_type" && name="3_type"; <3> function popItems(category, x) { <3> document.rma.x_items.options.length = 0; <3> x_items is not found <3> how can I accomplish this? <3> its not recognizing x as a variable in that statement. <3> which is the problem <5> document.rma.[x + '_type'] <5> document.rma[x + '_type'] <3> oh thanks <5> with x : 1 or 2 or 3 <3> with the .[ or just [ <5> [ <4> document.forms['formname'].elements[x + '_type'] <5> yes <4> Dubious naming policy, but strictly speaking valid. <3> still no good <3> document.rma.[x + '_items'].options.length = 0; <1> yup, i will avoid to use number as begining of anything <3> still not getting it <3> document.forms['rma'].elements[x + '_type'].options.length = 0; <4> Errors? <1> you can't set the length! <1> is read only <1> want to try == instead? <3> ok wait, I got it, but its populating the wrong box, it populating itself <3> no its populating all the wrong boxes, and it seems to be pretty random, sometimes the category box, sometimes the item box <4> Must be something wrong with your logic then. <3> I dont think so tho <3> should I pastebin? <1> if it is not your code, where you think it went wrong? ;) if you want us to look, yup, pastebin <3> it is my code, well I kindof copied the javascript part but rewrote it all. and all the output is what it is supposed to be from my php code <3> http://pastebin.com/545125 <3> do you see anything wrong with the logic? <3> wat are you sigh'ing about? <4> I'm not going to go through all that php code to predict the html output and find the js. <3> the php output is good <6> then make it a working url so we just see the html output WITH the generated javascript or whatever <4> The php output is irrelevant <3> http://pastebin.com/545134 <6> cmac66: upload it to a working php host so we can see it there instead please <3> eh I cant, dont have a host <6> so it works on your own computer eh? <3> yup <6> thats good too.. provide the url for that HOST so we can see the interaction and the error that might come there then <6> is it really that difficult? <3> k one sec <3> 70.48.226.230/rma/rma.html must be filled first <3> should work <3> let me know if it doesn't
<1> .....options[thisOptionsPosition] = new Option ( ... <- this is not the proper way to add an option to a select <4> ht311: What's wrong with that? <3> what is wrong with that? <3> its worked in the past? <6> 404 <6> check the url yourself before <3> it goes crazy when I put in that url <6> heh do you think we want to use a crazy webpage? <1> oh,hmm, at least i don't do it like that. i use options.add( ... <3> lol <4> .add? <4> Sounds more like .NET heh <1> it is there since IE4 http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/add.asp <1> part of the dom <1> but i guess nothing wrong with the other way too ... <3> why would it populate itself instead of the select specified <1> if the script is right , the only issue should be the naming <4> document.forms['rma'].elements[x + '_type'].options.add(new Option(myArray[category][i], myArray[category][i])); would remove the need to find the last index though. <4> Hm. <4> Names starting with numbers are valid in html... but it might be that js doesn't like it. <7> hey <7> take a look at: http://86.126.149.84/sites/Constructii/ <7> can i make that menu fade in/out on mouse over/out ? <7> fade each button? <7> i tryed but doesn't work well <7> you think is possible? <3> so what if I chagne the order items_0 ... <3> ya it works perfect now <3> thats strange <4> Not really. <1> you name it x_item, while your code call for x_type! <4> Variables have to start with letters. <4> Possibly _ is allowed too. <4> But not numbers. <1> just logic problem now...... <1> optocus:setTimeout/setInterval , play with the color on each call <7> i used setTimeout <7> and did a function that fades in and one that fades out <7> but works only for one button <7> if i use more buttons it's a mess <1> don't use a global var in this case, p*** the object ref/id as well <1> race condition on the global var <7> ok <7> var x; is global and x isn't right? <7> let's see what comes out :) <1> no, anything not declared with var or declared with var outside any function with be global scope <1> and you should not use anything that is not declared before. <7> ok <7> i should not use anything that isn't declared already? <8> hi <8> ho do I get the current window width? <7> ht311 <7> can you take a look at the source and tell me what's wrong? <1> have to p*** the current opacity as well <9> anyone in here awake? <9> I was wondering how I could pull a current date on my website <9> rather not a current date but the current date 7 days ago <9> something like 1/30/2006 <4> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/date.html#1193137 <8> so I'm in this window opened with window.open specifying a width of 600 <8> document.body.clientHeight; this will show me 1277 <8> or any other method I've tried until now <4> clientHeight to determine width? :-) <1> hehe <8> you know:) <8> is all height <8> altough width doesn't work either <7> ht311 <7> i get an error : too much recursion <1> because your function don't know when to stop , or the stop condition is buggy <1> hmm you making a bigger mess <7> yeah.. fixed recursion problem <7> ht311 now it works but at behaves really wierd man
Return to
#javascript or Go to some related
logs:
#chatzone #mirc #slice #slice Nickii australia #chatzone #AllNiteCafe #c #linux www.mike.n.com
|
|