@# Quotes DB     useful, funny, interesting





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



Comments:

<0> np
<1> nice :)
<2> well i kick *** at php but i am weak at JS .....
<2> i need to learn sintax ans basic functions :)
<3> JavaScript should be pretty easy to learn
<3> it's all around javascript that takes time
<3> like learning the DOM.



<2> back :)
<2> well i like OOP even in php so :) it is easy :)
<4> oop in js is even easier
<4> sk8ing may not agree at all
<0> :)
<2> why ?
<0> long storry
<0> story
<2> lol
<2> i guess what could do problems ... methods and .... ::)))
<4> he couldn't get his mind think form the other way :D
<2> not "that" way :P
<5> hey, are there any way to capture the event within a function declared like this : document.getElementById('bleh').onmouseover = function () { alert('mouse position is' + event.mou***) }
<4> huh? capturing an event within an event handler? you already captured/handling the event ..
<5> this line is always returning 'mouse position isUndefined'
<4> read the event property reference. and what you have there only work in IE
<5> its because this 'bleh' element is a dynamic element, i know how to trap the event handler when i have access to the html code, like onmouseover='somefunction(event);' but i cant figure out how to capture the event handler for onmouseover declared dynamically
<4> you already doing it. just there is nothing call mou***
<4> ...
<5> sorry clientX :/
<5> whats the equivalent for firefox ?



<4> .onmouseover = function (e) { alert('mouse position is' + e.pageX) }
<5> thx
<5> is this working in safari ?
<6> hi all
<6> i want to display a div in the top right corner of the browser window. width of the window is determined differently in different browsers. also i need to calculate vertical and horisontal scroll of window (as it turned out). could you please point to a script (on the net) that would let me deretmine top and left that i can ***ign to div.style?
<7> use css for putting it on right top
<6> ok, thanks
<7> top:0; right:0; should do it
<8> hello
<8> why id i use this
<8> return /^\d+(\.{0,1}\d{0,2})?$/.test(str + String.fromCharCode(key));
<8> work
<8> but if i use this
<8> var myregex = new RegExp("\\d+(\\.{0,1}\\d{0,2})?","g");
<8> return myregex.test(str + String.fromCharCode(key));
<8> no work
<8> is the same regex sentence
<9> except for the $ and g
<8> how i can fix thta?
<8> can u help me please?
<9> kinda busy at the moment
<8> ok, dont worry
<10> hmmmmmm
<10> I don't *think* you're supposed to escape the shashes
<10> also you missed the ^ and $
<8> "g" (global) in RegExp according to the text of my book replace ^ and $
<11> wrong


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

Edwardo V1
worse than hai2u
#AllNiteCafe
stup1s
#mysql
#AllNiteCafe
#php
#apache
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes