Scroll to the Google Books Preview when it loads user/dbs/scroll_to_preview
authorDan Scott <dscott@laurentian.ca>
Mon, 25 Feb 2013 19:51:11 +0000 (14:51 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 25 Feb 2013 19:51:11 +0000 (14:51 -0500)
commitf9efc5a071695786f843a86b3210d439ff631e7e
treee42360974f96d4a1d8006ed410b3ed2835b2c2d5
parentd8d832489f054bfba51854354ae00d7a26edc237
Scroll to the Google Books Preview when it loads

On screens with large fonts or not much vertical resolution or with lots
of copies to display, clicking the "Google Books Preview" button
wouldn't result in a very noticeable change to the page because the
major change was buried under the fold.

Therefore, use the ID of the preview pane to scroll to that location
after the preview gets loaded.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/ac_google_books.tt2