@# Quotes DB     useful, funny, interesting





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



Comments:

<0> ok
<0> thanks
<0> i done it
<0> !
<0> :)
<1> ouch...
<1> my hand hurts now why'd you wanted me to hit my screen
<2> I'm using document.getElementById('foo').firstChild.nodeValue to change the text inside a span (toggle between two values). It works the second time, but not the first. Any idea why that might be?
<3> Url?
<2> building a pastebin
<2> http://sukotto.pastebin.com/718414
<2> Want the "[-]" to toggle to "[+]" when I click the link. but it only starts working on the second click.
<4> sukotto: the initial value for display is probably not "none"
<4> It's "none", if you set in explicitly for the element with an attribute on from javascript
<2> Is there a way to detect the display value or some other way to know when to insert the values I want?



<4> Yes, but it would be much easier to just set the initial value using the attribute or just change your if statement to != instead of ==
<2> strange that setting display="none" works but setting the nodeValue doesn't. /me brain hurts
<2> ok, will try that
<4> You may check alert(firstChild.nodeValue) and see if it's "[-]" or something else.
<4> What, if you use innerHTML instead of firstChild.nodeValue?
<2> that seems to fix the problem. Thanks guys
<5> can somone help me with something ?
<4> Maybe
<4> It depends on "something"
<6> http://abum.com/file/shadow/animations/17632.swf
<1> aha, great one
<4> thanks
<7> I don't know if this is related to javascript but a whats the best way to do an ajax chat... using db, xml, or textfile ?
<6> depends if u want logging and searchable chats
<7> hmm..
<7> without searchable chats
<7> and with logging?
<7> searchable chats why do you need that?
<6> why wouldnt u want it
<6> flat file is easiest
<6> DB based is better imo
<7> more efficient?
<8> you'll use xml to transfer data, and xml is a text file
<7> more memory resource will be used though with Db ?
<8> so you should be happy now, cuz you're using all the three options :D
<7> I was going to use db but db may seem (at least to me) that it uses lots of memory resource compared to textfile or xml
<7> *xml = XML
<8> writing stuff to a textfile is retarded this days
<6> its not that much memory
<9> ajax is just another layer on top of whatever chat engine you're using. So long as your interfaces are good, it shouldn't matter what kind of guts you have underneath
<7> sk8ing: you mean better XML than textfile
<7> ?
<7> for this case
<7> ?
<8> yes
<8> you'll still use xml to transfer data
<8> as in... message id, timestamp, from, to, message
<7> hmmm..
<7> yes
<7> cheers~
<7> but without the db?
<8> do it as you wish, but using a db would save you a lot of time
<7> its not a concern regarding time
<7> more about which is best to free the server from some memory
<6> there isnt much difference
<6> the textfiule is loaded into ram anyways
<6> @ least wityh DB its in ram for a fraction of a second then flushed
<8> VaranG|aN: you can interact easyer with the db
<8> you simply send the timestamp from your js app and the server will feed you with exactly what happend after that timestamp
<10> got anyone in mind?
<3> The authors of xchat.
<11> lol
<3> Or more specifically the ones responsible for the plugin API.
<11> yeah i dont like xchat at all
<10> yay mirc
<3> I like using it, but writing plugins for it is a nightmare.
<11> do you know how to do a simple autojoin ?
<11> i can do that only for one channel
<3> Description: Prints some text to the current tab/window.



<3> I DON'T WANT TO WRITE TO THE CURRENT ONE! *Sigh*
<10> heh
<3> There's no less than 4 functions for writing to the _current_ one.
<3> You know dave's query blocker?
<3> I'm trying to write a similar one for xchat.
<11> oh
<11> and you dont know how do to autojoin to more that one channnel ?:D
<3> The last query blocker I tried didn't block queries at all.
<11> i tried with spacec and commas
<3> pieg: You set that on the server list.
<11> pieg, only one channel works
<3> Seperate with commas, no spaces.
<11> Pilum, i mean
<11> then it joins me to #php,#javascript.......#n channel
<11> i mean, its one channel called like that
<3> Anyway the one I tried, instead of dumping them and sending a notice back... it opened a new window and sent all queries to that. Blocked my ***.
<3> Having "Hi, I'm Isabella, here's my photo <url>" 10 times in the same window isn't that much of an improvement...
<11> ihh i hate those
<11> yesterday i had whole 10 spams
<3> And I've seen wikis written by 10 year olds with better documentation.
<3> Looks like I'm going to have to read the whole friggin IRC RFC to figure out this crap.
<12> Pilum: Figure out what?
<3> How to make it do what I want.
<13> what you want to do?
<3> Strangle some people.
<7> whom you want to strangle?
<2> I can find a particular <option> by iterating over all the <option> values. Is there a better way?
<14> yes, be more physic
<15> anyone can help me a bit ?
<14> no
<15> lol thnx!
<2> [Torgo], I don't understand your comment. Will you elaborate?
<14> no
<15> is there a command to list directory in java or should i use unix ls.. ?
<15> why u kicked me?
<2> iterate over the values it is then :-)
<7> LOL
<7> the ban message is pointless. how can he ask?
<7> can I message you lol
<14> what are you, an idiot?
<2> set timestamp on
<2> oops
<7> ok that ban message is weird ;)
<7> anyway whom should they ask to msg you?
<7> the ops i.e.
<14> what part is hard to understand? ask in the channel before msging
<7> IC
<14> best read the channel rules
<14> http://www.javascript-channel.com/Wiki.jsp?page=ChannelRules
<14> he violated rules #1 and #7
<7> I like number 1
<7> its common
<7> very common
<7> you know though its common to that sun owns both java and javascript
<14> wrong
<7> I wonder why netscape weren't bit imaginative about the name
<14> marketing
<7> sun couldn't sue them?
<12> One word...."hype" ^-^
<14> how can sun sue them?
<7> using the same name
<7> "almost"
<14> are they also going to sue the island of java and every coffee shop on the plaent?
<7> lol no
<7> yes ok
<7> but since java sued microsoft
<7> for the j++ I think
<14> much deeper than that
<14> point is, this #javascript -- not a java chat room
<7> of course not
<7> much deeper than that.. java sued microsoft ?


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

chinesegirl
ewaka passwords
#london
#php
hello mr. gates i'll be your server
#java
trovianni
eicar capacitor
fedora dnsdomainname failure
gensertrykk



Home  |  disclaimer  |  contact  |  submit quotes