| |
| |
| |
|
Page: 1 2
Comments:
<0> one final question.. (I need the window to close when complete.. I tried a window.close in the processing page which is now included in the <iframe src> How can I get that to trigger? <1> parent.close() <0> in my source? <0> Torgo: Thank you.. <2> Hello <3> Hello. <4> i wrote a little script with setInterval to make a fading effect on a div. It works fine a couple of times, but it's seems like the interval are going faster for each time.. <1> you likely mean to be using setTimeout <1> setInterval goes forever, unless you stop it <4> yeah, i stop it. It works just fine the first times I run it. But when i call the function several times without refreshing the browser the interval starts going faster <4> you with me? <2> yes <3> Emulating setInterval with setTimeout is what I usually do. <2> sorry but i'm a novice in javascript <2> can we run something on the computer with javascript
<2> because i wanna make an interface to administrate a computer <4> lamm: that would be a big security risk <2> it's for me so it's not a problem <4> i think you must do that with a server side language <2> but it is possible with js? <4> no <2> ok <2> so i should do it with php <5> lamm, yes. look into HTAs <6> You can exec from Javascript <6> var objShell = new ActiveXObject("WScript.Shell"); <5> with vbscript, you can completely administer any machine on the network <6> objShell.Exec() <2> [TorgoAway], oh ok <5> z0p, stop giving out wrong answers :P <2> vbscript ok <4> my bad :p <2> :) <2> so with javascript <6> var objShell = new ActiveXObject("WScript.Shell"); <6> objShell.Exec() <2> ok :) <2> thank <2> i will try <2> have you some website when i can learn about this? <2> please <1> sure, http://www.microsoft.com/technet/scriptcenter/default.mspx <1> and then search the msdn for details <2> ok <2> thank <2> and can we create a file with js as a file.doc for example <1> using com to script Word, sure <2> ok it looks fun <2> :) <2> thank you :) <1> np <2> i come back <7> 'night all <0> back.. <0> tried using my php as the source of an iframe, but now the variables in my php come across as literals <0> ie SELECT uid FROM uinquiry WHERE host='$host' <0> any ideas? <1> head over to #php <0> I did <0> am in #php asking same question. <1> great <0> no one there responding. <1> you don't walk into a Denny's asking where your dry cleaning is <6> Unless it's named Denny's Dry Cleaning <0> true, but I might head into Denny's and ask if they can fry my eggs over medium or even ask the cook the best way to cook a steak. <0> he might tell me, or might tell me to go to the grocery and ask the butcher <6> MitchM your question though, really is a PHP question and not a Javascript question. <0> I know.. unfortunately in #php, when they do have conversations, it is about the weather where they are or some unrealational thing to php <0> and I ask here, should there be folks here who work both javascript AND php <6> Yes, and they, like yourself, could be in both channels. <0> they could <0> Torgo.. thanks for you help earlier.. found the error.. it was how I was p***ing the variables to the script in the source. <8> Hello. <9> hi <9> I have a question about creating a link <7> hello <9> please anyone can help me <9> hi
<9> the question <9> is simple <9> if this parent is like _self <9> _blnank = ? <9> I think is window.something <9> right? <9> is already done <9> thanks anyway :) <10> how can i make a simple forum using java script <10> plz help <10> using a form with textarea text field and a submit buton <10> and somewre in the page to apeare the mesage from textarea <10> plzplzplzheeeeeeeeeeeeeeeeeelp <11> a forum requres server side code to store the information <11> *requires <12> just wanted to say good morning and if u dont mind me hanging you guys have sure helped alot without knowing it:) <13> Starr dont you know that filesharing is prohibited? <12> course i do <13> then why you're sitting on filesharing channels? <8> Ioad, filesharing prohibited?! <8> What does that mean? <13> I mean filesharing is prohibited on mirc <8> hrm, I'm not following ^^ <12> i'm not here to debate with ya :) i just read your answers to others to help me learn javascript:) if u dont want me to stay i'll understand <12> but you all have been a big help <8> Starr, you can stay. <12> ty:) <8> :-) <14> hello <14> can someone give a hand with a truncate script? <14> it's http://www.barelyfitz.com/projects/truncate/ <14> the code truncates "truncateMe" id in <p> - the thing is it doesen't truncate in multiple paragraphs <14> it truncates the first <p>, and that's it... <14> hmm... looks like i have to call the script after every <p> <14> surely there must be a workaround :O <8> rats, sec <8> rats, what did you mean by multiple-paragraphs? <14> using 2 or more <p id="truncateMe"> <8> rats, just call the truncate function on all <p> tags in the document. <8> function truncateMe(p) { .... } <14> isn't there a way to NOT copy the whole big code over and over again? <8> ArrayifyIt(document.getElementsByTagName('P')).each(truncateMe); // something like that <14> i'm kinda unfamiliar with javascript <8> You have to create the ArrayifyIt and Array.prototype.each function tho. <8> rats, ah. <8> sec <14> o_O <14> so ArrayifyIt(document.getElementsByTagName('P')).each(truncateMe); is enough? <14> <script type="text/javascript"> <14> ArrayifyIt(document.getElementsByTagName('P')).each(truncateMe); <14> </script> <14> :O <8> http://pastebin.parentnode.org/2867 <14> i think what's under "If you want to truncate all <p> you can do." should be in a different code, right? : <14> :P <8> it should be in the onload function <14> oh <14> no <14> :D <14> it works <14> heh <14> thanks a bunch <8> yw <14> :) <8> test <1> failed <15> How can i ''kill'' a web spider ? <15> Can i ''kill'' a web spider ? <16> You can ask it nicely not to index your site, but it can just ignore that. <15> because i want to solve a problem <3> Google for robots.txt <16> I didn't ask a question... I made a statement, heh.
Return to
#javascript or Go to some related
logs:
tahxi #gentoo #MissKitten HP ITO +stand for mingw cctype tolower #MissKitten remove mysql from linux WHAT FILM HAD BETTE DAVIS CREATING A SCANDAL BY WEARING A DARING RED GOWN TO A S Cient timed out while answering challenge Cannot add module via name 'mod_headers.c': not in list of loaded modules
|
|