@# Quotes DB     useful, funny, interesting





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



Comments:

<0> OriginalCopy: How do I force a maximized window?
<0> You can not. Mozilla browsers try to make the opening of new secondary windows noticed by users and noticeable by users to avoid confusion, to avoid disorienting users.
<0> http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html
<1> ht311 well, that's mozilla, I was asking about xul(runner) which still implements some parts of GRE but is not totally the same
<0> then, it is not even about dom.
<1> ok ok ... I'll just look for some other places where people know something else except "the doom" :)
<2> weird... calling a function from within a function seems to 'nest' it, making the parent function the 'this' object
<2> however calling this.functionName() from within a function fixes it
<0> normal js behavior
<0> http://www.quirksmode.org/js/this.html
<3> ola



<4> OL
<0> oh, you back to life.
<5> ol
<3> yeah, trying to get about more
<6> hey
<6> does javascript have an API like java does? (with all the cl***es and methodes available and sintax and such?)
<6> *syntax
<3> http://web.archive.org/web/20031202235047/devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/
<3> someone have the new moz link?
<5> Tell me when you find it. I've been bashed enough for linking that one, but I'm too lazy to find the new one. :-P
<6> furtive, thanks, I was hoping of a more compact and clear "documentation"; the one on w3school is better I would say
<5> Hah.
<3> try msdn then: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/29f83a2c-48c5-49e2-9ae0-7371d2cda2ff.asp
<5> Well, as [Torgo] points out, there's also MSDN
<7> devedge-temp.mozilla.org ?
<3> or http://www.devguru.com/Technologies/ecmascript/quickref/javascript_index.html
<5> I'll be damned. He's linking the web.archive one hehe
<5> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/
<3> of course all these and more can be found here: http://www.javascript-channel.com/Wiki.jsp?page=Links
<8> sometimes ;)
<6> who is developing javascript? :\
<7> oooh burn
<6> (I mean that microsoft has it on msdn :p )
<3> site's been holding up ok lately, i'll be changing hosts in next 14 days or so
<6> is there any software to make it easy the writing of javascript? (to have autocompetion for methods and fields?)
<6> *autocomplete
<3> bah
<6> what?
<3> you're better served by making sure you're using a debugger. http://www.javascript-channel.com/Wiki.jsp?page=KnowledgeBase#debug
<9> furtive: I started with the ruby-cms development the other day, too me forever to write/strip the scgi-runner ^-^ atleast it's correctly plugged into apache/lighttpd now.
<3> nice
<10> greetings!
<10> if I have a reference to an open window on my page, and this window is not resizeable, how can I make it resizeable?
<10> tried myWindow.resizable = true and what not
<11> anyone mind letting look at some orderform code that uses js as an error checker?
<5> What's the problem with it?
<11> well the problem is i'm not very familiar with js and the boss wants me to make an orderform
<5> Did you have any specific question?
<11> http://www.printlust.net/orderform.html
<11> well, i tried a little bit of test code in there
<11> cant get it to work though
<5> String.compare()?
<11> thats not a js function?
<5> Never seen it before.
<11> oh, well that could be a big problem :P
<11> what is used for comparing two strings?
<5> Usually you compare with == anyway



<11> js will do that with strings?
<5> if(string1 == string2) { // equal }
<5> Yep
<11> ahh
<11> ok
<0> ... what make you think there is a .compare ....
<11> i saw something on a website
<9> *meep*
<11> but maybe it was the wrong language
<11> the more i think about it, i think it must have been java code they had, google sent me to the wrong place :P
<0> that is not even java , java is .equals, and c# is == ....
<11> well then i have no idea what it was they had
<0> lucky that your boss didn't ask you to make an ajax orderform
<11> im not even sure what that is
<11> var emailinput = document.form1.email.value;
<11> is that correct?
<5> If you want the value in a variable, sure.
<11> i wonder why it isnt giving me an alert then
<12> If I have inline javascript when doe "main()" ( guess that's what you could call it ) begine to execute? After the page and be downloaded and the DOM has been created? Or "main()" then the DOM is fully created?
<12> I'm having a problem where I'm checking if (document.images) { document.["mainImage"]... } That document doesn't have that property
<12> Is this possible?
<5> document.images["mainImage"]
<12> document["mainImage"].src appear to work fine inside a javascript function
<12> I guess this is just because the DOM isn't fully created so I have address everything absoulte "path"
<12> ?
<5> It's a bad habit to create shortcuts when you aren't 110% sure what you're doing.
<5> And in your case it's inefficient too.
<11> hmm
<11> well, anyone know why it isn't giving me an alert window when they emails dont match?
<5> Because the values are null
<11> ok, so how do i get the js to read the values from the form?
<5> Declare the variables inside the function
<5> You declare them before the form is loaded, so you can't get any value from it.
<11> ah ha
<11> that makes sense
<11> thank you
<5> Oh and in xhtml it's type="text/javascript" instead of language="javascript"
<11> :)
<0> PRMiller: read this http://www.jibbering.com/faq/faq_notes/form_access.html
<11> ok
<12> Pilum: That would be my case. First time writing any javascript
<12> Using DOM to change the page is cool. I'm sure you get this kinda question all the time but what's the Javascript book? oreilly's? (one of many I'm sure)
<5> Shouldn't read outdated tutorials then hehe
<12> heh
<12> My boss said "Figure out how they do that image swapping on eBay!"
<5> Heh.
<5> You were on the right track at least.
<12> I have to down to one line our PHP guy has to dynamicly create so that will have to do
<11> alright Pilum, i've got a question for you
<11> once the initial error checking is completed and the form gets sent to a php page
<11> and they user sees something they dont like and i want them to go back to the input page...
<11> how do i keep the origial form data in place so they dont have to start over?
<5> Cookies?
<12> Struts baby! ;)


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

karioles
BABY RAPIDIST
#c++
couples slow-danced to his dreamy eyes in 1962
wow : dps meter
lower_bound sucks
ssh scanners
#linux
ess1868 and ubuntu
iptables delete bad-rule



Home  |  disclaimer  |  contact  |  submit quotes