November 4, 201312 yr Newbies I have sections that hide/show after clicking on an HTML tag of each section. The sections hide/show thanks to JavaScript code. The problem is after the user click on the tag and the section below shows/hides, the page refreshes and the scroll goes to the top of the page. I want the scroll to remains where it was before the user click. I added a few lines of JS <script type="text/javascript"> function refreshPage () { var page_y = document.getElementsByTagName("body")[0].scrollTop; window.location.href = window.location.href.split('?')[0] + '?page_y=' + page_y; } </script> This code works in a HTML document opened in a browser (Chrome/Firefox/IE), but it doesn't work in Filemaker. Do you have any ideas?
November 5, 201312 yr Please complete your profile. What version of FileMaker, what OS, What platform. Here is a quick link to MY PROFILE.
Create an account or sign in to comment