After a last minute request to change a website so it automatically scrolls down to show Google Map when a search is submitted I was preparing to write some tacked on jQuery to provide the functionality. That was until I came across a Javascript function which already did exactly what I wanted, ScrollIntoView(). Continue reading “Javascript: ScrollIntoView()”
JQuery UI: Unnecessary scrollbar in accordion
Creating an accordion in a page, set it to automatically take the height of the biggest div etc, all fine except I was getting an unwarranted scrollbar in one of the divs. Continue reading “JQuery UI: Unnecessary scrollbar in accordion”