Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. markwaldin

    problems with static referencing non-static methods

    thanks so much. Now I understand. Works great.
  2. markwaldin

    problems with static referencing non-static methods

    I am trying to add a keylistener to my program but run into problems referencing non-static methods from main. Here is the jist of it: class myprogram { respondToKey instanceofKeyresponse = new respondToKey(); class respondToKey extends keyAdapter { dosomething; } public void main(){...
  3. markwaldin

    can't get array variables to process right with object descriptor

    If I try an address a object property using a variable it does not work. For example having document.myimage.src having myimage as an image objects name is identified correctly. Substituting a variable for myimage such as newimage=myimage; document.newimage.src is not recognized as a defined...
  4. markwaldin

    testing if a variable is defined

    try inserting an alert()statement in your code with the variable name in the paren's When the code executes it will pop a window with the value of the variable in it. If it says "undefined" then the variable is undefined.
  5. markwaldin

    objects with array names

    sorry to be vague. Don't have a link to reference but let me be more explicit here: /* this script creates a navigational bar with &quot;no_of_tabs&quot; tabs on it. If a user clicks on a tab, all other tabs turn tabblue.gif and the active tab goes tabwhite.gif */ <script...
  6. markwaldin

    objects with array names

    I created a set of image objects using an array. I try to reference the image object's source image by using the array name and it doesn't work in IE. For example: test=new Array(&quot;sample1&quot;,&quot;sample2&quot;) <img src=url name=test[0]> . . ...

Part and Inventory Search

Back
Top