@# Quotes DB     useful, funny, interesting





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



Comments:

<0> yes you can. access it like document.formname.elementname
<1> and u can grab its innerHTML and modify it
<2> hi
<2> in safari, the keyCode for left arrow is 63234 but in firefox it's 37, is this a bug or am i doing something wrong?
<3> hi
<3> can i declare a global variable from javascript running in eval() statement in a function?
<4> chillkat, yes
<4> eval('document.myGlobalVar=23;');
<3> hmm
<3> nice
<3> i just realized that if i only do eval('myGlobalVar=23;'); even then its like a global variable... is my observation correct?
<4> yup
<3> cool
<3> so only if i precede it with var, then it gets global
<3> ?



<4> if you do var myvar=23 will be defined as local
<3> yep, itz cool
<5> eval? wtf!
<3> :P
<6> hey i'm trying to understand why div.setAttribute('src',url); doesn't seem to work, anyone can help me out with it?
<5> because a div isn't an img
<5> i'm sure it sets the attribute, i'm just guessing it's not doing what you're expecting it to do
<6> well newdiv = document.createElement('div')
<6> and then newdiv.setAttribute
<5> then after alert(newdive.src) and you'll see it's there
<6> k thx, let me see
<6> undefined, weird
<5> did you append it to the doc? dunno, what browser you using? i find it easier to just do newdiv.src = "foo"
<6> document.body.appendChild(newdiv);
<6> well newdiv.src ="foo" works so it's good
<6> thanks
<5> np
<6> hmm, i can't seem to get it working
<6> trying to build something with 0 knowledge of javascript
<5> hoohaa
<5> ghost ride the whip!
<6> can i msg the url to what i'm making?
<5> sure, why not
<6> pictures should disappear but i'm not done yet.. obviously
<6> only tested in firefox
<5> in firefox's javascript console I got errors about height and width declarations
<6> hmm weird
<6> I'm just learning.. like i wanted them to snap to the closest point in the grid... at first i had a 8 line while loop.. but i figured it out in a single line
<6> parseInt((findPosY(obj)-1)/20);
<5> hehe
<5> check what I just messaged you
<7> muted what ya working on
<7> i know muted
<5> hm?
<6> he knows me
<5> ou're in a desert, walking along in the sand when all of a sudden you look down...
<6> what do i see ? a turtle?
<5> No a tortoise
<6> ahh haven't seen that movie in too long
<5> hehe
<5> still, you got it ;-)
<6> but it reminded me of something else
<6> i can't remember what show/movie/cartoon it was in , apart from BR
<6> I think it was something local
<5> You're reading a magazine. You come across a full-page nude photo of a girl.
<8> and solid snake come behine me and snap my neck
<8> furtive: http://www.interaction.rca.ac.uk/people/alumni/04-06/joe-malia/projects/project3.html
<5> haha
<5> http://tailrank.com/posts/562949953687504/Opera_on_Nintendo_DS
<8> http://forums.maxconsole.net/showthread.php?t=22614
<8> http://www.maxconsole.net/?mode=news&newsid=8029
<5> nice
<3> can i search for a string within another string in javascript? i mean is there a method to do that?
<8> indexOf
<5> http://www.quirksmode.org/js/strings.html
<3> o yea
<3> thanks
<3> is there a way to get all textareas in the documents, something like getElementsByTagType("textarea") ??
<5> getElementsByTagName
<5> close but no cigar :-)



<9> Why is the doctype declaration generating JavaSCript errors ? I use DHTML Menu Builder for my menus and if I use a certain doctype, it prompts a js error, if I remove the declaration then all my CSS is ****ed
<10> what error
<9> invalid arguement
<9> line 0
<10> not using a debugger?
<9> and I use: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;
<5> i doubt it's the dtd
<9> Well, I doubt it is too, but when I remove the declaration, no more error
<10> link?
<9> http://osiris.ubishops.ca/gaiters/
<10> add the dtd
<9> ok
<9> I did
<10> language="JavaScript" is deprecated btw
<10> http://validator.w3.org/check?uri=http%3A%2F%2Fosiris.ubishops.ca%2Fgaiters%2F
<5> i'm betting it's in the LoadMenus function
<10> maybe
<10> i'd start by getting it to validate first though ;)
<5> :-)
<9> when the error occurs when my mouse is over the menu
<10> gonna use a strict dtd like that, gotta pay the piper up front
<9> yeah there's a lot of small mistakes :P
<9> the code is dirty as hell :P
<10> yup
<10> call us when it validates ;)
<9> I try to keep a clean code but sometimes I try to do too much at the same time :P
<9> I will
<9> holy ****! 160 errors lol
<9> damn! the code that this Menu Builder produces is way too f'n dirty!
<9> the loader only must have 100 errors!
<10> no comment -- confilct of interest ;)
<9> You dont beleive in usong such programs ?
<10> no, i compete with them
<9> Ah!
<9> You work for a competitor ?
<10> unfortunately, my stupid hosting service is down right now
<5> am i hosting your stuff?
<5> i keed
<10> normally i'd direct you to domapi.com
<6> what does domapi mean?
<5> it means you didn't do your homwork
<5> homework even
<9> Document Object Model API 00:57] <10> unfortunately, my stupid hosting service is down right now
<9> [00:57] * Ugly_Duck has quit IRC (Ping timeout)
<9> [00:57] <5> am i hosting your stuff?
<9> [00:57] <10> normally i'd direct you to domapi.com
<9> [00:57] <5> i keed
<9> [00:59] <6> what does domapi mean?
<9> oops
<6> ah
<9> sorry
<6> nambla.com was taken?
<5> is only part of S-J hosted on domapi? cause some of her site is working
<5> muted you're gonna get your arse kicked
<10> no, she runs out of the house
<6> no i mean
<10> cable modem upload speeds don't affect her much ;)
<5> k, must of been because i did a search through her site and that must hit domapi cause when i tried to get the comments from the result it froze
<5> details, found another way around it.
<5> btw, tell her i like the site
<5> err facelift of whatever ;-)
<10> she says thanks
<10> ... and just realized she hasn't updated the comments page yet
<9> I'm starting to hate that program
<9> I know for sure that the error is inside the loader, but it never did that before
<9> BTW, the javascript error only occurs when I drag the mouse over the menu
<5> what's the js it points to
<5> i was getting an error about filter before but the .js it pointed to was a var name plus something else so I didn't bother going further
<9> it is all generated by the software, the js files are iemenu.js and nsmenu.js
<9> the mouseOver event generates an error that points to "height" variable
<5> post your original link again? i lost it during the reboot
<9> http://osiris.ubishops.ca/gaiters/
<10> only 96 errors left :P
<5> and what's the value of rjsPath?


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#MissKitten
What 1971 series depicted Robert Powell as a scientific watchdog ?
#linux
bad command `mdns off'
#chatzone
#AllNiteCafe
#AllNiteCafe
cannot lock password filelinux
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes