First  |  Prev |  Next  |  Last
Pages: 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
node.offsetWidth vs clientWidth vs scrollWidth
for the code var node = document.getElementById("something") alert(node.offsetWidth) is very similar to node.clientWidth and node.scrollWidth I just wonder why offsetWidth is well documented in the Definitive Javascript book, but clientWidth and scrollWidth are not mentioned at all, even when all 3 of the... 24 Apr 2008 06:50
Missing the beginning of threads
In this newsgroup (and not others on the mailserver I use) I find that most threads start with a "Re:" article, referfing to something that I never see. I'm reasonably competent with NNTP protocol (having used it for about 20 years) which is why I mention that other groups on the same server are not affected... 24 Apr 2008 04:28
FAQ Topic - How do I find the size of the window/browser canvas area? (2008-04-24)
----------------------------------------------------------------------- FAQ Topic - How do I find the size of the window/browser canvas area? ----------------------------------------------------------------------- While it is often asked about window size, what is more relevant is the "canvas area" of the brow... 24 Apr 2008 01:17
Changing target of a submitted form
Hello. I have a form in which after submission displays several messages depending on what the user has inputted. The form goes to a AddCompanyHandle.jsp page where the input is verified and added into the database. I have a different jsp page called Message.jsp which displays the appropriate message in a s... 24 Apr 2008 04:28
Alternatives to using global variables?
Hi all, I was wondering if anyone had any suggestions for alternative ways for multiple objects to keep track of a single variable? Initially, I thought of just using a single (YUI) Custom event to let any interested objects know that the value has changed. e.g. Event 1 --> Function A |--> Funct... 23 Apr 2008 14:55
onKeyUp event not firing...or just bad code?
The code below correctly sets an iframe to be editable, and then tries to attach an "onkeyup" event to the iframe. Instead of doing that, however, it generates a cryptic "Object required" error in Explorer 7, and doesn't seem to do anything at all in Firefox. Am I missing something really basic? Thanks for any h... 23 Apr 2008 13:19
Pass Initialized Object Reference to Event
If I initializer my object as var obj = new SomeObject(); then I have some method inside of the object as: function SomeObject(){ ....... this.showLink = function(){ return "<a href='javascript:void(0)' onClick='obj.showMessage()'></ a>" } this.showMessage = function(){ alert("My Message is Here") } ... 23 Apr 2008 14:55
comp.lang.javascript FAQ - META 2008-04-23
comp.lang.javascript FAQ - META - 9.88 - 2007-10-12 1 meta-FAQ meta-questions 2 comp.lang.javascript tips 2.1 Which newsgroups deal with javascript? 2.2 What questions are off-topic for clj? 2.3 What do I have to do before posting to clj? 2.4 Why was my post not answered? 2.5 How do I direct someo... 23 Apr 2008 10:07
naming syntax rules
I've just run into a weird quirk in IE where I had named form elements like this: 2-some_name. IE was using just the numeric part as an index in the form collection array. Boy, that took a while to figure out! So, what are the rules for names and ids? I had thought this was loosened up years ago. J... 23 Apr 2008 14:07
scrollbar to iframe through javascript.
hi all, can any one tell me how will i set scrollbar to iframe throguh javascript. please help me asap. thanks in advance ... 23 Apr 2008 14:07
First  |  Prev |  Next  |  Last
Pages: 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39