[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-12 Thread beebul
Just thought of a great comparison.. I want it to work like the phonebook in a mobile phone where you complete more and more of the name and it moves down the list accordingly. Cheers On Sep 12, 8:53 am, beebul <[EMAIL PROTECTED]> wrote: > Not sure this is the right group for this question, I'm

[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-12 Thread Justin Perkins
Yes you could just setup a keyup observer on the entire document, the two problems that I see right away is that any keyboard shortcuts the user already uses may or may not work any longer depending on how you write your code. Secondly, depending on the size of the list of links, the script may ta

[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-12 Thread Matt Foster
I don't know about this "entire document" idea, if they're freely typing anywhere, A) As Justin mentioned shortcuts such as ctrl T for a new tab might be broken, and B) They're going to have no idea what they've already typed nor have any idea how many times they've hit backspace when trying a new

[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-12 Thread bluezehn
I think a scriptaculous autocompleter is the best solution to this problem. You don't want to muck about with where the user is on a page unless you absolutely have to, and an autocompleter doesn't have to work like it's a "drop down". You can just change the population of the ul and leave it as a

[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-16 Thread beebul
OK I have this code so I can jump to the point on the page where the H4 tag has the word Health in it... how do I then link onKeyPress to this: {literal} var arrEntries = $('a2z_list').select('h4'); arrEntries.each(function(objEntry, index) { var strEntryText = a