| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> Error: rgb is not defined <0> Source File: file:///C:/Program%20Files/Macromedia/Dreamweaver%20MX/TMP1ogkrvlma5.htm <0> Line: 1 <1> the first the middle one and the last one <1> man <1> listen to me <0> of course i know them <0> they are same <1> can you access each of them? <0> first they are all 0 <0> then all of them 20 <0> what do you mean by access them ? <1> you're not listening... <1> how do you generate the table? <0> i do a loop in php <1> ok
<1> so you have 3 numbers <1> $R, $G, $B <1> ok? <0> yes <0> they are equal <1> so you have one :) <0> yep <1> $C <0> yes <0> echo "rgb($C,$C,$C); <0> echo "rgb($C,$C,$C)"; <0> the problem is not the php <0> the problem is that rgb() is not working in javascript <0> i think i'll have to convert it myself to hex in php <0> then send it like #123456 <2> stefys` Why are you talking about PHP in here? <0> well, they asked me why and how i'm doing it <0> so i had to explain <0> but the question i'm asking about is javascript <1> I don't think you have rgb() function in javascript <0> is there any rgb function in javascript ? <0> it tells me rgb() undefined <0> so no <0> but i thought it had another name <1> use sprintf() in php <1> so you'll have the leading 0 <0> ok <3> stefys`: http://amby.com/tools/rgb2hex.html <0> thanks <0> sorry for pissing you off <3> stefys`: look here: myP.style.background="rgb(255,0,0)"; <3> http://developer.mozilla.org/en/docs/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces <3> and LEARN TO USE GOOGLE !!! damn it! <0> i fixed it, thanks <4> is it possible to have an index of the array is string? varArr['hello']='world'; ? <5> That sets the property of the object rather than anything to do with arrays <5> It's like doing varArr.hello = 'world'; <4> thats what i will do? <6> hi <6> need help <7> Yes? <4> my 'hello' is also from variable how should i do it? <6> i need help in validating forms <7> akoni: Do you intend to explain or are we going to waste time guessing? <6> ok i ll pm u <7> Wrong. <6> hmm ok .. <6> how can u validate a radio? <7> That is a good question indeed considering that they're static... <7> Why would a radio need validating? <6> am making a order form .. <6> i need all the field 2 be validated .. <7> Yes, but a radio button is exactly what you tell it to be... <6> ok .. if ever he/she for got 2 click the radio button .. <6> can i send u the form that am making .. <7> Ah, so you want to see wether one of them is checked or not? <6> just take a look at it .. <6> yupzzz ... <7> Loop through and check if one has .checked==true; <7> Although if I were you I would have a default radio instead.
<6> ok .. can send u the form dat am making .. and take a look at it .. <6> i dont know much on java script .. <7> var radios = document.forms['formname'].elements['radioname']; <7> And then you can loop through the radios array <6> hmmmm ok .. <6> do have any sample form??? i could understand more if u have a sample .. <4> Pilum: is it possible to have a string index in an array? <7> An ***ociative array? <4> what is that? <4> maybe... array like this myArray['foo']='bar'; <7> An array with "a string index" as you put it. <4> it will work? <7> Yes. <4> hmmm... then it musst be wrong in my script ok tnx <7> Judging from dave-e's response it might not be what you want though. <4> i did not get it :) <4> wow it worked. I just didnt debug it properly because i didnt know it works. Thanks <8> hello <8> anyone can help me ? <9> with <8> hm? <8> with javascript :) <8> i found a javascript on internet <8> and i want to modify it by adding something <9> well just ask and wait for an answer <8> i have a slideshow script <8> any volunteer ? <3> Djanov how much do you pay ? <8> with my gratitud <8> ^^ <8> so ? :( <7> In that case you'd probably get better results asking the author of the script. <9> paste the script on some site <7> But of course, you can always ask. <8> ok i'm giving you the link <8> http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_57.html <9> too late, im off to get some missing content for dinner :D <9> be back in 15 <10> im gonna go eat too <10> ill be back when Djanov leaves <8> what i want is to change images without clicking on the arrows <8> :( <10> d'you know any javascript, Djanov? <10> google for "Javascript tutorial setTimeout" <8> but the code is hot for me :( <8> can you help me please ? <8> for you it's easy, i'm newbie <3> Djanov $10 and i'll do it for you <8> do you accept serbian credit card ? <8> ^^ <8> please man <8> help me <8> you are my last hope <9> wat do u wanna modify <8> it's a slide show <8> i'm changing images by cliking on buttons ( previous / back) <8> i want to change images automatickliy without clicking <8> do you understand ? <9> yes, but then u dont need this script do u <9> u need to write your own with a timer <8> i want this one <8> because i also want to change images by clicking on buttons <8> to resume i want 2 way to changes images <9> ok then just google for a settimer function <8> automatckly and by clicking on buttin <9> i don't remember hte syntax, maybe someone else can answer it here <8> : <8> :( <8> i have an idea , anyone can help me please ? <9> its very easy if u google for the javascript timer functino <8> can i PV you ? <7> PV? <8> private <7> Heh.
Return to
#javascript or Go to some related
logs:
#linuxhelp masonova apple #chatzone #chatzone #linux What is England's best known rifle range sir cai #c #linuxhelp #chatzone
|
|