I have got it working almost.

I anyone can just help me with IE now that will be great.
I need to get the drop down scrolling into view working with IE only.
As when the user presses the up or down key the whole page scrolls up.

I have added only

#################################

        if (this.index == i) {
          var element = this.getEntry(i);
          element.scrollIntoView(false);
        }

#################################

to the below code of the controls.js

#################################

  render: function() {
    if(this.entryCount > 0) {
      for (var i = 0; i < this.entryCount; i++) {
        this.index==i ?
          Element.addClassName(this.getEntry(i),"selected") :
          Element.removeClassName(this.getEntry(i),"selected");
        if (this.index == i) {
          var element = this.getEntry(i);
          element.scrollIntoView(false);
        }
      }
      if(this.hasFocus) {
        this.show();
        this.active = true;
      }
    } else {
      this.active = false;
      this.hide();
    }
  },

#################################

Can anyone help me solve this scrolling issue as it is IE only that
has the problem.
Firefox works correctly.


Very grateful to anyone who can help me.


Regards
Uncle Mike


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to