Open GoogleCodeExporter opened 8 years ago
I fixed this myself with a little bit of javascript:
function scrollToElement(id) {
var element = document.getElementById(id);
if (element) {
element.scrollIntoView(true);
}
}
Called by:
<a target="_self" onclick="scrollToElement('id')">Link</a>
Cheers!
Original comment by WesBro...@gmail.com
on 31 Jul 2009 at 1:03
See also Issue #23
Original comment by msgilli...@gmail.com
on 25 Sep 2009 at 8:48
We do need to fix this in a future version of iUI. Provide a mechanism to use
scrollIntoView to get to named anchors.
The workaround in comment #1 may suffice as a solution in the meantime.
Original comment by msgilli...@gmail.com
on 9 Jan 2012 at 6:53
Original comment by msgilli...@gmail.com
on 9 Jan 2012 at 6:54
Issue 220 has been merged into this issue.
Original comment by msgilli...@gmail.com
on 9 Jan 2012 at 6:58
Issue 23 has been merged into this issue.
Original comment by msgilli...@gmail.com
on 22 Jul 2012 at 9:43
I wrote some code that does the scrollIntoView for named anchors. It was on an
experimental branch and is not thoroughly tested, but is worth looking at as a
starting point:
https://code.google.com/r/msgilligan-iuiscroll/source/diff?spec=svna8caeae0f0f7a
a644d55936fd891972334bc6236&r=a8caeae0f0f7aa644d55936fd891972334bc6236&format=si
de&path=/web-app/iui/iui.js
Original comment by msgilli...@gmail.com
on 22 Jul 2012 at 9:44
Original issue reported on code.google.com by
WesBro...@gmail.com
on 28 Jul 2009 at 4:17