| |
| |
| |
|
Page: 1 2
Comments:
<0> we'll never know his problem :) <1> could be english language <2> hi <1> hey optocus long time no see <2> yeah <2> took a break from work a few days :) <2> SufiBlade you know css man? div/css layout techniques? <3> got a question how do u embed javascript in a flash file? <1> optocus slightly <1> ooops that was a hour ago u asked hehe <1> sensbly_cute #flash <1> you use the FSCommand to write js in flash <1> but its more to call js functions from the htm doc <3> how about the forms? <3> could i include it there? <3> so i could just call a one line command?
<1> the html form? <3> yup <3> i already saw one like that <1> yeh you can <3> how? <3> im still downloading flash prof 8 <3> will that do? <1> you can write your function anywhere in the html page...preferrably in the head tags <1> and in flash, actionscript command is FSCommand() <1> you'll have to look at the help files for the exact syntax <3> but the forms <3> could i include it in the flash as well? <1> you want to include html forms in flash? <1> i dont think so....wasnt an option in version 7 <3> i just saw one like that.. <3> nweiz.. <3> is there any possible way that i could just save the form in a remote host? <3> and then call it through javascript? <1> yeah <3> SufiBlade? <3> how? <1> but you'll have to read the form as XML and then generate in Flash on runtime <1> and i dont think you seem experienced enough to do that <3> yup <3> but i wanna learn <1> then the first thing is that this is a javascript channel <1> and flash uses actionscript <3> okies <3> thnks <3> nweiz.. <3> i have another question <3> could i encrypt the js file? <3> and in forms.. <1> yeah <1> but again thats not easy <3> how? <3> nweiz.. <3> got a simpler question <3> what is the syntax to use <3> in order for me to write a given variable <3> to a field form as it's value? <3> is it. document.write("inputname).value? <1> document.forms.fieldname.value <3> how would that work? <3> for example <3> i wanna put in there <3> var x=document.form1.comment.value <3> then <3> x= a great comment <3> will that do? <1> i doubt it <1> look u need to do some basic tutorials <3> ok.. <3> tnx nnweiz.. <3> <3> but.. for example <3> <3> i wanna change the variable <3> <3> or make an array to write <3> <3> form time to time <3> <3> is it possible <3> * diluted^ has joined #html <3> <3> for exapmle
<3> <3> example <3> <3> var info="you are in the zone" <3> <3> then <3> <3> document.forms.element.value=info <3> <3> will that write "you are in the zone" <3> <3> in the value of the the element? <1> yes <3> so i dnt need to put it in a function? <3> or i still do? <3> bec. i noticed in some form they will compile it as a function <3> and call it onsubmit <3> or i'll just type it under the <SCRIPT> <3> just to declare the variables? <4> io <4> I've a little problem about some float calculation.. <4> If I do 316930.35 + 29429.06 ... it works right. Bu If i add 513.04 to that... it gives me an awful .4499999999995 <5> Hi again :-) I've got a problem: If I make a button with onclick="javascript:document.property_importer.src='http://here-the-url', I get the error "access denied" - why? the button definitely is for changeing the URL in an iframe (named property_importer) <6> first, drop the javascript: <6> 2nd, it should be window.frames["myiframename"].src <5> ah <7> wouldn't .location be more apropiate? <7> *apropriate <6> hmm , depends, if it is crosssite, you can't get the location <5> erm, it's an iframe, not a "real" frame <6> Testicus: it doesn't matter, both are about the same from the javascript's eye <5> ah okay <5> keeps sayin' "access denied" <5> isn't it allowed to change the url of an iframe? <8> it is <9> yeah <8> ei execube.. got a problem... it form validation <5> onclick="window.frames['property_importer'].src = 'http://www.test.de';" <--- access denied <8> if im trying to autofill a blank field.. will this work? function validate(){ if(document.form1.comment.value==""){ document.myformname.myfieldname.value = "foo"}} <5> ah ... location works <9> java_hunter: yeah, it'll work <8> ok thanks a bunch <9> src should work.. hm.. <8> maybe it has an element id that works as a validating mark <8> without the exact id the frame wouldn't work even if you have the exact element name <8> ;) <9> i don't think there's such thing <9> :p <8> haha <8> just a wild guess <8> im thinkin that it should be workin as well ;) <9> works fine for me, Testicus <9> Testicles ;\ <9> <iframe id='blah' src="http://google.com/"></iframe> <9> <a onclick="document.getElementById('blah').src='http://yahoo.com/'">test</a> <9> try using IDs insted.. not sure why frames[] wouldn't work <9> or maybe it's frame[] <8> exacube <8> it worked <8> thanks a bunch again <8> u mad my day <8> haha <8> got another problem though <9> ask away <8> ei exacube got any clues with my last question? <9> you didn't ask your question <9> [09:22] <8> got another problem though <9> [09:26] <9> ask away <9> [09:26] * java_hunter (~g@203.87.203.250) Quit (Ping timeout) <9> i guess it never made it to the server <8> how do i grab a global variable and verify it's values in a local function? <9> simple declare it outside the function <9> <script> <9> var blah = 5; <9> function check(test) { <9> if (blah == test) return true; <9> else return false; <9> }
Return to
#javascript or Go to some related
logs:
iironnick #slice #linuxhelp #linux tudty pinkey and the brain quotes
#c++ mazzid WIRELESS CHIP (NICOS) Salacova_Apokalypsa21
|
|