I recently incorporated the "enscroll
" javascript scroll bar into my webpage. You can find more information about it at
<div id="enscroll_name">
<ul>
<li id="p1">product1</li>
<li id="p2">product2</li>
<li id="p3">product3</li>
<li id="p4">product4</li>
<li id="p5">product5</li>
</ul>
</div>
Upon loading the page, I needed "product3" to be in the visible area. To achieve this, I initially used <a name="p3"></a>
. However, I am unsure how to accomplish this through scripting. In HTML, we typically utilize anchor name tags like <a name="p3"></a>
. How can this be achieved within the script?