AnsweredAssumed Answered

autoscroll a discussion board

Question asked by Chris Marone on Jul 8, 2018
Latest reply on Jul 8, 2018 by James Jones

Scroll a discussion board

I have a long discussion board that I'd like to autoscroll to the bottom of when I load the page.

I tried setting up an html page with a line of java script, but it looks like Canvas doesn't allow java in html

 

Are there options for displaying a discussion that would help me?

 

Is there a way to add java to Canvas html?

 

Here's what I've tried:

<html>

 

<p>This is the page...</p>

<p><a href="https://psu.instructure.com/courses/1892239/discussion_topics/120649

94?module_item_id=24723651"> click here </a></p>

<script>window.scrollTo(0,document.body.scrollHeight);</script>

</html>

Outcomes