@# Quotes DB     useful, funny, interesting





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



Comments:

<0> There are browser implementations like the one you were referring to though.
<0> Poke around the various browser's DOM and I'm sure you'll find something.
<1> Pilum There are browser implementations like the one you were referring to though. -- the most interesting this implementations are cross-browser
<1> for mozilla is one written above
<1> for IE is a little bit other..
<1> but anyway thanks a lot
<0> I don't know any generic parsers for strings of XML though.
<0> The few I've done were tailored specfifically for the task.
<1> i see..
<2> how to get the type of a variable?
<3> typeof x
<4> try to beat that!!
<4> (OS: Windows 2000 Professional, Service Pack 2 (5.1 - 2600)) (Uptime: 10w 1d 04:05:42) (CPU: 1-AMD K7 (0.18 m) {4} @~1013.58MHz) (MEM: Usage: 345/512MB (67.38%) [||||||||||])
<4> 10weeks uptime on winXP ! :P
<0> Why's it say 2k if it's XP? Heh.



<4> cauz the old moo.dll return windows 2000 for NT 5*
<1> Pilum
<1> alive?
<0> No, I suddenly died.
<1> var domParser = new DOMParser();
<1> var xmlDocument = domParser.parseFromString(STRING_HERE, 'application/xml');
<1> var nodes = xmlDocument.getElementsByTagName('tagName');
<1> and then play with childs
<1> =)
<1> tested on FF, Mozilla, Opera... tomorrow will install wmware and will tets it under IE
<5> tell me the link, ill test it...
<1> well it is trivial.. i just displayed 1 element from xml
<1> no web-server . locally
<1> the code is triial
<1> trivial*
<5> i was asking myself, cauz i got a web chatroom, all ajaxed, and i wanted to know about the compatibility of these XML function, it could be much faster and traficless to apend childnodes and render styles with XSL sheets...
<5> currently i make an ajax query and append to the innerHTML the new lines...
<1> i use ajax also for asinchronous request, but this dom parsing i was needed to display data recived from server
<5> i've read a couple of tutorial on that, but could not find a way to use the same code in IE and Firefox...
<1> _same code_ ?
<1> heh
<5> if it works in IE, it doesnt work in FF
<1> i know :-)
<1> that's why i laugh
<5> i hate to do f*ckin if (document.all) thisfunc(); else thatfunc();
<1> haha
<1> yep agree
<5> i hope these uncommun way of aplying w3c rules will be of the past in IE7
<1> thanks good i am j2ee developer and javascript is not my job, only sometimes...(when our designer is overloaded)
<5> and finally we will get IE to work with PNG without trickin it all...
<1> :-)
<5> anyway.. im off! going to mcdonnalds!
<1> heh i am going to play 1 quake before slpeep
<1> bye all
<6> I realize this is probably the wrong channel for this, but in wha direction would I look for infomation on setting up a website with idle timeout / idle logout?
<7> that's usually controlled by the server session
<7> so it depends on what serverside language you're using.
<6> the page is written in php... but its authed via mysql though apaches mod_auth_mysql
<7> ask on #php ... someone will be able to help you
<6> k
<6> thanks
<7> i'm ***uming php has a session object and that there are lots of existing implementatoins of session timeout monitoring
<7> np
<7> and good for you for not trying to do it half ***ed on the client side instead ;-)
<6> thats the idea that Im toying with.. this is a data entry site.. for tracking packages and items in and out of rma... anyways. i dont want someone to do a long entry just to submit it and then have it tell them it timed out.
<6> So im wondering if client side might be better... or can I do that with server side too?
<7> you can give them an alert client side to warn them, but if the guy is away from the computer it won't mean anything.
<7> if it's something that's long i'm ***uming it'll take more than a single page refresh to complete anyways
<7> no?
<7> each one of those hits will refresh the session
<6> no.. all the data is entered on one page and then submitted.. the form itself is short, but sometimes you have to stop to find a serial #, or lookup a vendor... or other ****
<7> at my last place we gave 5 hour sessions, so you had all morning or alll afternoon to fill out your order
<7> heh, then 30 min or 2 hours is tops you need then
<6> well thats too long... I kinda wanted to monitor the page, and if you typed anything, that would reset the timer ( so to say ), and you could take like up to 5 minutes between typeing someting..
<7> our were huge, and we had a lot of js based stuff so a guy could spend a day mapping steps without reloading once.
<7> so start with 45 min, and then when you get more data/feedback adjust
<6> this is all just to track who entered it.. you would walk up, login, and then if you forgot to logout, it would log you out after say 5 minutes... that way it always tracks who added what...
<7> have them enter who they are on submit
<6> that adds more time and more typing.. you might enter 30 items at a sitting... so I just wanted to do it on auth.. not only that but some users can do some things that others can, so using the auth info just makes sence overall..
<7> bah, that's why my system was entirely barcode based.
<6> I guess my question is.. is javascript capiable of clearing cached auth info. the type of auth info that you type into the standard popup "username" "boxes" that are a part of standard http auth



<7> no
<7> well, i guess
<7> yeah, you could eat the session cookies
<6> eat the cookies.. hehe
<6> that info is stored in a cookie then?
<7> the cookie is how the server side tracks the session
<7> i dont fuss with that stuff much though so not sure how much help i can be
<6> that cant be then...
<6> cause you can do whatever you want all damn day with http auth, until you close the browser.. if you open a second browser when the first is logged in, it forces you to login again on the second
<6> this is gonna be a headache
<6> hehe..
<6> looks like I answered my own damn question here... did a little more google - tried refrasing my search.. and found that .htaccess is not flexable enough for what I want.. so Im starting over with php login / logout
<8> wow. furtive still alive
<7> shhh
<8> :) you still depress from losing the playoff?
<7> are you crazy? I'm an Edmonton Oilers fan. My team just won 6-3 tonight
<7> i'm wearing this right now: http://wgauthentic.safeshopper.com/3/2.htm?204
<8> hahahaaa
<7> how you doing?
<8> not bad, thinking of camp out for Wiiiiiiiiiiiii
<8> ds lite is keep calling me
<7> dslite coming out in june, right?
<8> and thinking of getting you one as gift
<8> yes
<7> haha, i was thinking of buying two, so i can always play with someone
<7> $150 is cheap
<8> dunno, I will get Wii for sure.
<7> yeah, i think so.
<8> the duron machine give up finally
<7> heh
<7> i'm thinking of finally getting a digicam
<7> might buy one tomorrow
<8> i am looking a harddisk base videocam too
<7> you'll enjoy this:
<7> http://www.research.att.com/~daytona/inuse.php
<8> a very good NSA data capture node :)
<7> yeah
<7> no doubt the nsa one is 3x larger
<7> 4 more days of work and i'm on vacation
<8> .... you back to work for like less than 2 month ...
<7> yeah, but i worked hard during those two months.
<7> nah, grandparents 60th wedding anniversary, spending time out west to visit them and introduce the fiance to life west of Toronto.
<8> nice. my wife start bugging about my vacation too...
<7> ugly? http://stockmarketaudio.ca
<7> it's a quick and dirty place holder for them
<7> you snooze, i lose
<9> i check this: if (F1.M***Id.value=='')
<9> M***Id is actually M***Id[] (an array) and it gives me back an error
<9> how can i perform the check in other way?....
<9> http://pastebin.com/715142
<9> if anyone could help
<0> Use proper referencing.
<8> another silly []
<8> document.myform.elements["blah[]"]
<9> ok... didn't understand much
<8> http://www.jibbering.com/faq/faq_notes/form_access.html
<9> i see
<9> anyway to use M***Id[] anyway?
<9> otherwise i have some probloms with php
<8> .....
<8> [08:48] <8> document.myform.elements["blah[]"]
<9> thanks :)
<9> ht311,
<9> http://pastebin.com/715205 -> why am i getting checkE1 not defined?
<8> can you learn?
<8> you never use the line i gave
<9> yes i did
<9> var checkEl = F1['M***Id[]'];
<8> no,you didn't
<10> is there an alternative for window.status for setting the status bar's textto some string in Firefox?
<10> (hi)
<11> how do I "click" a button and trigger its function from a text link?
<4> <a href="javascript:;" onclick="yourfunction();">text link</a>
<8> <4> <a href="#" onclick="yourfunction();return false;">text link</a>


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#MissKitten
#AllNiteCafe
netforce misskitten undernet logs
What does a dipsomaniac crave ?
ntsyslog slackware
steakk
#MissKitten
#chatzone
#teens
#linux



Home  |  disclaimer  |  contact  |  submit quotes