@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> is there a way with javascript to trigger a TAB ?
<1> whats a tab
<0> when you hit TAB on your keyboard to go to the next field of the form
<1> .focus



<0> yeah I know that one
<0> what I mean is
<0> I don't want to have to know which field is the next
<0> depending on which field the focus is, I want to call a function that will focus on the next one
<2> /msg x@channels.undernet.org login htam DWLZYVZg
<2> /mode ht311 +x
<2> hmmmm
<3> Hehe
<2> finally
<2> lesson learned. never do this kind of stuff in channel window ;)
<3> Status window always. :-)
<2> pwd changed now, I am safe again .. I hope
<4> hi
<3> Hello.
<4> i'd like make a script who count chars in one input and alert if there is less chars than 8
<4> can u help me ?
<3> InputRef.value.length
<4> thx :)
<5> hi all, i have a small problem
<4> we know, u are an homo***ual
<4> and u don't know how say that to u'r parents
<5> ;))))))
<5> no
<5> ok, my real problem : i have an iframe in a html page... how can i make it that when somebody clicks on that iframe, javascript gets the click coordinates ?
<5> so.. any ideas ?
<2> are they in the same domain
<2> and you ahve control of the iframe's content
<5> i made a html page, and a iframe included inside it
<5> i made a js function that gets the click coordinates on the main page.. but i don`t know how to make it get them for a click on the iframe
<2> i am talking about the content of the iframe
<5> the main page is a .php page, and the ifrace src is a html page
<2> and ***ume you know how to track the x,y on a normal document. and jsut call your function in parent document with the param
<5> can you show me the code of how to do that ?
<2> http://www.w3schools.com/htmldom/dom_examples.asp
<5> i mean, how can i get the parent document ?
<2> window.parent
<2> or use top.
<5> let me see if i get this : i need to make a onClick event in the src of the iframe ( in the .html file ), and there i need to do something like : <body onClick="window.parent.coordonate();" > ( coordonate() is the javascript function in the main file )
<5> is that it ?
<2> something lik that
<5> ok, thanks
<5> but.. is there a way i can do that without adding code in the frame src file ?
<2> if it is in the same domain, yes, but, it is always better, to do that in the content html
<6> how do you get the actual window height/width ?
<5> yes.. but in my case i want the iframe to contain a pdf file... so i will put on the src a link to that file, and i won`t be able to add code inside it :(
<7>Rotten Trout</marquee>
<5> ??



<2> it have nothing to do with html and js then
<5> it has with js.. because i want to get the click coordinates when somebody clicks on the document displayed in the frame
<6> window height/width, anybody?
<3> Then drop the silly pdf idea.
<3> PDF is not a webpage format.
<2> can't recall, need to clientHeight, innerHeight all kind of stuff, read the doc
<5> so.. there is no way to do this using pdf ?
<6> ht311, I don't need the innerHeight, that's the point
<2> you mean with toolbar and stuff?
<6> yeah
<5> yes Pilum, but i was thinking there is a way to make the click go through the iframe directly to the normal page
<6> the ****ing implementation is wrong, window.open -> you can specify a width/height and it will be used as innerWidth/innerHeight
<6> but when you do resizeTo()
<6> you'll resize the whole window
<6> and there's no way you can get the offset
<2> you can the idea. there is no direct way to get it
<6> at least I can't find a way
<2> I already thinking of a way, but very annoying and stupid
<6> hmm.. if it works it doesn't bother me
<2> not 100% working too
<6> getting the body offsetWidth/Height?
<6> onload
<6> ah...
<6> you could resize the window to some size
<6> get the inner values
<6> create an offset
<2> something like that
<6> and then resize back
<6> that's kinda annoying :)
<2> that's what i said
<6> it works :) tx
<2> No need to thx me.
<6> :P
<6> it works, that's the point :)
<8> can anyone help-me how to get sessions values with javascript?
<2> no
<2> ***ume you mean serverside sessions
<2> think rendered output, var mysessionvar = "${mysessionvar}";
<8> i need get sessions seted in php
<8> cuz i'm using xml
<2> technically, it is not a javascript issue.
<8> and need get if there's some session value for people see my xml page
<2> put what ever you want into that xml then
<8> http://alltec.edu.ms:1234/xmling/pedido.xml
<8> i just need to get the sessions values seted in php before accessing the xml page
<2> not js issue. is all between you php and xml
<8> o0
<8> can i get the sessions values with xml?
<2> make pedido.php to output xml then
<2> go back and read the book on what is session
<8> ty i'll find how to get the sessions values with javascript
<2> same as how to get data from the serverside
<2> but it is more about serverside
<9> I'm doing some cross-platform testing on my code thus far. I'd appreciate it if people could visit this site in their browsers (graphical only) and post a screenie of what it looks like. Thanks! URL: http://www.game-point.net/misc/testmenu/


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#java
#chatzone
#linux
entourage nzbs
#networking
#london
#linux
#linux
www.ratemyprofessor.ca
#linux



Home  |  disclaimer  |  contact  |  submit quotes