@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<RosmarK`AwY> anyone can help with javascript?
<[Torgo]> ASK
<RosmarK`AwY> I would like to do some sort of script or something that when I press on a link (image, or text hyperlink or even button - doesnt matter), it inserts a character in the active text area
<RosmarK`AwY> like the character map in ms word...
<vardhan> http://www.devilducky.com/media/22272/
<vardhan> what song is that?
<ht311> or win1 = window.open ..... ; then you can call win1.focus() too.
<jora-katok> well my problem is that i want to call method z from that win1, if else pressing on button from child wind will lead to execution from parent window
<jora-katok> not vice versa
<jora-katok> i need child to be able to call function from parent
<ht311> oops , i mis read, must be tried
<ht311> opener.z();
<jora-katok> sure ?
<jora-katok> i tried
<ht311> sure
<jora-katok> hmm let me check again..
<jora-katok> thak you
<ht311> check if opener give you a valid window ref.
<jora-katok> ok
<jora-katok> perfect
<jora-katok> thanks a lot!!
<ht311> np
<niccademo> anyone know a good place to get java apps for my nextel phone
<jora-katok> i added this method dinamically from child and it didn't want to execute it.. but if i define it staticaly it works
<furtive> niccademo java != javascript. go ask #java hehe
<ht311> furtive: you read about that? http://www.onlinerights.ca/learn/copyright/money_in_politics_conflicts_fo/
<furtive> yup
<furtive> let's hope she loses her seat
<furtive> although conservatives would go for same thing no doubt
<ht311> I hope so too. hope people will be more aware the situation and not as easy to p*** as before
<ht311> jora-katok: if you want to add stuff dynamicly as you said, it need to use the evil eval
<jora-katok> well it's ok... statikaly it's ok also
<ht311> try to stick with this :)
<jora-katok> parent.document.body.innerHTML="<script>function z(){alert("z");}<\/scripy>"
<jora-katok> smth like.. that..
<ht311> don't think you can add script tag like that
<jora-katok> why ?
<jora-katok> body.innerHTML - showed this content..
<jora-katok> paren't content
<jora-katok> parent's content
<ht311> http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp?frame=true
<jora-katok> same stuff
<jora-katok> hm i'll try again
<ht311> "When using innerHTML to insert script, you must include the DEFER attribute in the script element."
<ht311> and I don't think it is a good practice
<jora-katok> yes..
<jora-katok> agree
<ht311> furtive: for your gf http://www.fguide.org/Bulletin/conflictdiamonds.htm
<vardhan> YAR! my internet speed just tripled.. 1mbit
<ht311> but roger have quota?
<vardhan> no
<ht311> then it is good news actually. but I am on 3mbit ;)
<cr00k> hi
<cr00k> is there anyway to call pdf print function via javascript?
<furtive> nope
<furtive> the best you've got is window.print() and that doesn't work within pdf afaik
<furtive> movie time
<ht311> later
<cr00k> ok thanks
<W0DKA> hi
<W0DKA> anyone active in here?
<dravine> is the rules page down?
<Erw> how can I unset the selection = document.selection.createRange(); variable?
<Thunder^> Hiya guys :-)
<Pilum> 195.195.109.176:9876/telnet: Name or service not known
<NeoFuture> telnet://95.195.109.176:9876
<p***urrr> Is there someone here who could tell me how to make a link open automatically in a page without opening a new window?
<[Torgo]> tmi ;)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#linux
Type 'deb' is not known
#MissKitten
#skype
#MissKitten
xikel
#squid
#AllNiteCafe
libc_12.html#SEC196
#linux



Home  |  disclaimer  |  contact  |  submit quotes