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. Mephist0222

    Changing link focus

    I have been able to get it to change link focus, but it won't target just the links I want it to and stop an the last one for going down and on the first for going up. Here is the latest version of the code, it is not working right now because I am trying to add in these features: <!DOCTYPE...
  2. Mephist0222

    Changing link focus

    Hi Dan, I di dnot copy the full pages code, just the middle. I also had the functions in the loop so I can use the ++ and --. If you have this working can you put it up?
  3. Mephist0222

    Changing link focus

    am working on a script that will focus on the first link in a set when the page loads, will go down one link when you trigger one function and stop at the end and go up one link when you trigger another function and stop at the top. I have it sort of working but it is not 100% <style>...
  4. Mephist0222

    Controlling radio buttons

    They would stop. So the function would do nothing. I just got this working, here is the code: <html> <script> filter = "" function radio(down) { if(document.otherForm) { var x = document.otherForm.other; var index = -1; for (var i = 0; i < x.length; i++) {...
  5. Mephist0222

    Controlling radio buttons

    It should have 2 functions that shoud behave like this: down(){ if(no radio button are checked){ check the first one } else { the next radio button is checked (they all have the same name so only one can be checked) this will stop at the last one } } up(){ if(no radio button are...
  6. Mephist0222

    Controlling radio buttons

    I thought this would take 5 min, but 2 hours later, I am looking for help. I have an unknown amount of radio buttons, I need to have them selected via 2 functions. One selects them going down (++) the other going up (--). None can be selected until an action is taken. The fist one is...
  7. Mephist0222

    Accessing links in a table with arrow keys

    Hi, I was able to figure this out, sorry for the delay in response, for some reason email from here gets caught in my spam filter: // Set initial variables var focus={ x:0, y:0 , table : null} // Function that adds the focus to each function focusOn(focus) {...
  8. Mephist0222

    Accessing links in a table with arrow keys

    I thought I was pretty explicit in my descriptions, but I am sorry if I was not. It is always a little tricky explaining things in email. Forums need a white board tool ;) The scenario you mentioned is something that would fall into my nice to haves for each function. It would be great if...
  9. Mephist0222

    Accessing links in a table with arrow keys

    It won't be quite as complex. I know there will be a max of 4 items in a row, but the next row could have 1 - 4 items in it. | item | item | item | item | | item | item | So it gets trickie. If I am on row one item 1 and hit the down arow, I will go to row 2 item 1. But since you will...
  10. Mephist0222

    Accessing links in a table with arrow keys

    Correct, it will be based on how many results come back in the search query.
  11. Mephist0222

    Accessing links in a table with arrow keys

    I will always know the first item, so the starting point is easy, but the tricky thing with doing the + 1 is I may not know how many items there are to define the next row. Also the up and down functions are not paning out.
  12. Mephist0222

    Accessing links in a table with arrow keys

    I am making an application that allows users to use the key board to interface with it. I am using YUI for the key listening and have almost all of my functions working. The one that seems impossible right now is I have a search result page where links to items are in a table. I need...

Part and Inventory Search

Back
Top