Tobias Haagen Michaelsen
2007-Apr-04 12:31 UTC
SV: [Rails-spinoffs] toggle.appear focus on div problem / question
Is this what you want: http://prototypejs.org/api/element/scrollto -Tobias -----Oprindelig meddelelse----- Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af natquick Sendt: 4. april 2007 12:53 Til: Ruby on Rails: Spinoffs Emne: [Rails-spinoffs] toggle.appear focus on div problem / question Hi there, Can anyone help me, how can I focus on a div if i use toggle.appear? Here is the test page where I use the option, and when I open a new "menu item" I would like to focus on that div. I have tried several easy options but no luck yet. http://www.hypnoze.com/focus/effects_toggle_test.html (Here is the list about what I have tried so far: 1. <a href="#smg">....<a name="smg"> 2. create a hidden input and focus on that ( the focus is working, but the window stays on the same location ) 3. js onlcik window.location option to the img ( doesn''t work ) ) I would appreciate any kind of help. Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---