http://www.btel.net/hs001.html
Scroll down and click on "More Content 2" then Close. How do I maintain scroll position or keep it from returning to top of page upon window close?
Code: Select all
<a href="#" onclick="hs.close(this)">Close</a>
Code: Select all
<div class="closer" onclick="hs.close(this)">Close</div>
Code: Select all
<style>
.closer {
width: 35px;
margin: 0 auto;
text-decoration: underline;
color: blue;
cursor: pointer;
}
</style>
Code: Select all
<div class="closer" onclick="hs.close(this)"><img src="/hstest/highslide/graphics/close.png" alt="close x" title="Close"></div>
Code: Select all
<style>
.closer {
float: right;
cursor: pointer;
line-height: 0px;
}
</style>