Note that there are some explanatory texts on larger screens.

plurals
  1. POVertical Scroll Content within DIvs - Reload to top
    primarykey
    data
    text
    <p>I'm using the simplest HTML 'overflow: scroll' type mark-up for creating a scroll bar within multiple div containers to display text and image content within the scroll. I have it setup within tabbed content areas, that are pulled together calling divs within the tab links. I'm trying to figure how, if possible, that when a user browses to a different tab and then back - to allow that scroll bar to reload to the top, ready to scroll downward again.</p> <p>Pretty much, the mark-up;</p> <pre><code> &lt;li class="newtab"&gt; &lt;!--JS Rollover Button for Tab--&gt; &lt;a href=#tab13 onMouseOver= "if (document.images) document.tab_recordedattack_off1.src= 'img/Btns/tab_recordedattack_on1.png';" onMouseOut= "if (document.images) document.tab_recordedattack_off1.src= 'img/Btns/tab_recordedattack_off1.png';"&gt;&lt;img src="img/Btns/tab_recordedattack_off1.png" name=tab_recordedattack_off1 border=0&gt;&lt;/a&gt; &lt;!--End JS Rollover Button for Tab--&gt; &lt;/li&gt; &lt;/ul&gt; &lt;div class="tab_container"&gt; &lt;div id="tab13" class="tab_content"&gt; &lt;div class="tabright"&gt; &lt;div style="border:0px solid black;width:500px;height:400px;overflow:scroll;overflow-y:scroll;overflow-x:hidden;"&gt; </code></pre> <p>I've been thinking about trying to set a simple html anchor point at the top of scroll areas and somehow call to it within the tab links - but can't figure out how to do that.</p> <p><strong>Any suggestions? - How can I point the tabbed links to the content and the anchor point?</strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload