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 biv343 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. dijo123

    focus text

    Ok, thank you Jeff!! /Diana
  2. dijo123

    focus text

    I have read about the srcElement property, but I don't think it will solve my problem. http://www.webdevelopersjournal.com/articles/jsevents3/jsevents3.html http://www.webreference.com/js/tips/000726.html
  3. dijo123

    focus text

    ok, so there is no keyPress, or "someone-focus-something" or onClick function like in Java programming that waits for a special keypress or click event anywhere on the site? The functions must be attached to an element? /Diana
  4. dijo123

    get tab focus

    A WebC browser!
  5. dijo123

    focus text

    It worked if I wrote: if (cNodes[x].nodeType == 1 && cNodes[x].focus) { cNodes[x].focus(); break; } It seems that I have elements that not can be set to focus. Anyway, the getAttribute did not work. It says getAttribute is not a function. My brower may not support that, I don't...
  6. dijo123

    get tab focus

    -I can't call a function when I click on the link.(I get bad performance then.) -getElementsByTagName don't work on my browser. I have tried document.getSelection(), it did not work. I don't know why, maybe because my browser just support JavaScript language version 1.4. and a subset of the W3C...
  7. dijo123

    get tab focus

    Hello, How do I get the Id of a node that is tabbed(focused)? I have a menu mainly made by div tags and a-tags. If the user tabulate to a special menu I want to save that id into a cookie. Next time I would like to get the cookie and make that menu focused again. I want this to happen on...
  8. dijo123

    focus text

    Yes, that is what I wanted! Do you also knew how to get the id of the focused element right now? I want to get the id of the focused element and save it into a cookie(in onUnload). Next time the page is opened, the element is focused again. /Diana
  9. dijo123

    focus text

    My code look like this: <div id="menu0" class="clF">&nbsp; <a href="template_07.htm" class="clS">Accessories</a><br> <a href="template_07.htm" class="clS">Remove</a><br> </div> It worked if I gave the <a> tag a id. Is there a possibility to give focus to the div tag and then step down to...
  10. dijo123

    focus text

    Hello, I wonder how to focus a text within the <a> </a> tag with means of JavaScript. (The tabulation shall start from that text.) Like: var el=document.getElementById("menu1"); el.getfocus(); /Diana
  11. dijo123

    positioning text

    Thank you very much, it worked fine!
  12. dijo123

    positioning text

    Hello, I would like to have something that has the width: 10px, to place in front of a text. Explanation: I have an image followed by a text like this: <img src="a.png" id="a1">&nbsp; <a href="#" onclick="link(); return false" class="cl1">Hello!</a><br> <img src="no.png" id="a2">&nbsp; <a...
  13. dijo123

    Loading...

    Thanks!
  14. dijo123

    give the img-tag a width in .css file

    Thank you! I thought I had tried that, but I had not!
  15. dijo123

    give the img-tag a width in .css file

    Hello, I would like to give my <img>-tag a width and an heigth in a css-file. Do I have to give the img-tag a class name? Like: <img class=img> I want to prevent that. (I have lots of img-tags) /D
  16. dijo123

    Loading...

    Hello, My menu, implemented in javaScript takes 8 seconds to load on the page, is there a possibility to first show a message, like: "the menu is loading..." in the meantime? I just use javaScript and html. Does someone know such a script? Is has to take as less memory as possible. /Diana
  17. dijo123

    performance

    ok, then I post the following code in this message: * subMenyer * ************************************************/ if ( eval( 'typeof( (subMenu'+i+'))' ) != 'undefined'){ var j=0; //ökar för varje submeny, börjar om igen efter varje huvudmeny while( (eval(...
  18. dijo123

    performance

    Well, yes, but how do I post a URL, including my code on the c-drive? I do't have a homesite. /Di
  19. dijo123

    performance

    I post the completely code, but it is cut off. How do I post a URL?
  20. dijo123

    performance

    Thank you very much for trying to help me! I post the functions: first the function initiateMenu() is called, then foldInit(). It's function initiateMenu() that contains the 88 arrays! The function foldInit() contains a for-loop and 3 while-loops. function initiateMenu(){ menu=new...

Part and Inventory Search

Back
Top