()
| 53 | } |
| 54 | |
| 55 | renderNav() { |
| 56 | const that = this |
| 57 | jQuery(".slideshowNav").html(this.nav).show() |
| 58 | jQuery(".slideshowNav a").on("click", function (event) { |
| 59 | event.preventDefault() |
| 60 | that.page = parseInt(jQuery(this).attr("href").replace("#", "")) |
| 61 | that.renderAll() |
| 62 | window.location.hash = "#" + that.page |
| 63 | }) |
| 64 | } |
| 65 | |
| 66 | page = 1 |
| 67 |