noah way
07-07-2011, 12:33 AM
Looking for a simple way to have a hidden element made visible when the page scrolls.
The idea is to have a back arrow appear only when the page has been scrolled horizontally.
trying something along these lines without success ...
<script type="text/javascript">
window.onscroll = function () {
if $("back").is(":hidden") {
$("back").show("slow");
}
}
</script>
The site is here: www.milesjaffe.com.
Thanks --
The idea is to have a back arrow appear only when the page has been scrolled horizontally.
trying something along these lines without success ...
<script type="text/javascript">
window.onscroll = function () {
if $("back").is(":hidden") {
$("back").show("slow");
}
}
</script>
The site is here: www.milesjaffe.com.
Thanks --