@# Quotes DB     useful, funny, interesting





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



Comments:

<0> i have a quiz..need to read the value and process this ( print next the questions the right answer ) without click another button
<0> pls, little help
<0> ;;)
<1> we don't do quizzes :P
<2> What value
<2> ?
<1> ok, maybe Pilum does
<1> word :D
<3> clientOffset is returning a bigger number than the actual size
<3> why?
<3> (there's also no padding/margin or borders whatsoever)
<0> Pilum the value means the answer choose for the question
<0> tks again
<3> help me maybe?
<2> PutItak: Use standard methods maybe?
<2> Or universal at least.



<3> standard methods?
<3> offsetHeight is standard
<2> And clientOffset?
<3> sorry, im tired
<3> is clientHeight standard?
<2> No.
<3> what do I do then?
<2> Follow [Torgo]'s advice.
<3> ok
<3> still not working
<3> wait
<3> actually it is
<3> how did it work?
<3> whats the trick?
<4> hi, i'm creading a <label> using createElement, and then using setAttribute('for') ot link it up to a checkbox, this works fine in ie and firefox, but safari doesn't p*** the labels click onto the checkbox, am i setting the property wrong?
<5> safari has many holes
<4> poo
<5> if you can't find anything on google, I wouldn't worry about it
<5> poo?
<4> yes
<5> suit yourself
<4> i wanted it to work properly
<6> does anyone here write 'unobtrusive' javascript?
<5> eh?
<6> er, without any inline event handlers?
<6> by using the DOM?
<5> pretty much everyone here
<6> cool. just a sec, i have something to paste.
<6> it's at http://perry.pastebin.com/705381 . I pasted this on #javascript on freenode, and someone told me that I had done something bad with 'closures' or something
<5> ouch, yes
<5> you have a closure in the onclick
<6> [Torgo]: thing is, i totally didn't understand what they meant.
<5> you are referring in the function body to outer local variables
<6> ah.
<6> namely, detailholder?
<5> correct
<5> links array too
<6> [Torgo]: ok. how do I modify this so that I can use those variables inside of that function?
<5> line 8 can simply become select v.orderId
<5> from gft.v_ordersAvailableForFulfillment v
<5> inner join gft.OrderDetailFulfillment odf on v.orderid = odf.orderId
<5> inner join gft.FulfillmentCatalog fc on fc.partId = odf.partId
<5> where
<5> ((fc.isXML = 0) OR ((fc.isXML = 1) AND (odf.requestDate IS NOT NULL)))
<5> ****, sorry
<7> hello
<5> line 8 can become var thetext = this.rel;
<5> and the detail
<5> Holder refs
<5> can be replaced by longhand
<6> someone's telling me that i could just use document.links and avoid the getElementByTagName
<7> /amsg Is there a toolkit or guide available that will allow me to use Amazon.com style "mouse over" popups that can contains html content (links, headers etc)?
<5> like this? http://www.domapi.com/build/tests/HTML_4.01_Transitional/flyover.htm?theme=system&skin=false&lang=eng
<7> [Torgo] I'll check it out, thanks
<8> how do i run functions from another script file in my script file?
<9> load the other scriptfile before you load yours
<8> i saw why
<8> one sec
<8> workin', ty
<10> can you use an array of different words as a dilimiter in a form validation?
<10> if (/\smeters\s.+\d+.*\smiles/i.test(s_ring)){



<10> meters and miles both in an array[words]
<10> and then if (/\s (a word in array) \s.+\d+.*\s (a word in array) /i.test(s_ring)){
<9> You have to create an regex-pattern from the arrays
<9> new RegExp("\\s(" + meters.join("|") + ")\\s.+......", "i")
<10> would it be easier to write if statements for 10 different combinations or do the regex array pattern ?
<9> no
<10> can i show you the question?
<10> would this work fatbran
<10> array[1]=meteres array[2]=miles etc etc.
<10> for ( i = 0; i < array.length - 1; i++) { if (/\sarray[i]\s.+\d+.*\sarray[i]/i.test(s_ring)){} }
<9> no
<9> You have to do it as I just told you.
<9> should the two arrays match in pair?
<10> ye
<10> im not understanding how your regexp is working
<10> can you elaborate?
<9> you can create a regex object by using new RegExp("regex-pattern", "regex-options")
<9> /^\s+/i translates into new RegExp("^\\s+", "i")
<9> u follow?
<10> i follow so far
<9> you have to create a regex object from your arrays
<10> i understand
<9> arr1 = ['a','b','c']; arr2 = ['d','e','f']; var i, r; for(i = 0; i < arr1.length; i++) { r = new RegExp("\\s"+arr1[i]+"\\s.+\\d+.*\\s"+arr2[i], "i"); r.test(someString); ... }
<9> great
<10> what if they aren't paired, e.g. meters isnt paired with miles exclusivel
<9> then you do as I wrote first
<9> sorry for late response, was making a sandwitch
<9> var r = new RegExp("\\s("+meters.join("|")+")\\s.+\\d+.*\\s("+miles.join("|")+")", "i");
<9> r.test(someString)
<10> javascript focus on a text box name text1 is document.form1.text1.focus ?
<10> <input type="button" value="Convert!" onclick="Convert(document.form1.input.value);"> seems to be giving me an error
<9> focus()
<10> http://pastebin.com/705791
<10> don't get whats wrong
<10> any idea?
<11> Adapt Convert() doesn't compile. The problem isn't your DOM reference.
<10> yea got that sorted out CheetoMan
<10> im trying to write a decimal to binary conversion
<10> http://pastebin.com/705865
<10> i think i have the right thought process there
<12> hi
<12> i have a js variable
<12> var_aux = 'document.getElementById(<?php echo $aux; ?>).style.display =<?php echo $aux2; ?>'
<12> how do i activate it?
<12> i mean like printing or so
<12> 0_0
<13> How do we go about creating a page with an RSS feed?
<14> yop@all
<15> hello
<16> how do i refresh by button a frame (my frame called "top")?
<17> fames["top"].location.reload()
<17> frames["top"] of course
<17> However I wouldn't name a frame "top". This might be confusing as the top most window is referenced by "top"
<16> frames["top"].location.reload()
<16> is not working
<17> what says the javascript console?
<17> maybe top.frames["top"]
<16> its refreshing me the whole page
<17> What if you rename your frame?
<17> You may also use:
<17> frames["top"].location.href = frames["top"].location.href
<16> what do u mean?
<16> i need just a simple refresh to my "left" page or top.. :]
<17> where is your script thats doing the refresh?
<17> You may post a URL to test.
<15> hello
<15> does any one know how i can setup an paypal acount which allows access to my choping chart
<15> so people can by using paypal?
<17> http://www.paypal.com/
<18> Hi, I have a challenge I'm stumped with. use firefox to load http://www.tipsforlosingweight.com/ - notice how the status bar flickers every few seconds with a status message. I need to poll a remote server every few seconds and check the response and do so discreetly. That is, WITHOUT, flashing a message in the status bar. This works fine in IE, but not Firefox.
<19> hello
<19> better to have external .js files or have the <script> tag in ur html file?
<17> depends
<17> but usually external files are more handy


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#java
#linux
PURGED THE GREAT PLAGUE
mhux grande fratello 1
#MissKitten
#mirc
www.freepornovideos
sosexy
jpeglib fedora 6
#windows



Home  |  disclaimer  |  contact  |  submit quotes