Can anyone suggest a modification to this script that will always float the item to the bottom of the browser window, regardless of browser size.
<!-- m --><a class="postlink" href="http://www.javascriptsource.com/bgeffects/persistent-layer.html">http://www.javascriptsource.com/bgeffec ... layer.html</a><!-- m -->
I've tried changing the line
var topMargin = 100;
to
var topMargin = window.innerHeight - 20;
but then the floating item just sits at the top of the screen and doesn't float. Any modification or new script would be much appreciated.
regards
Kieran
<!-- m --><a class="postlink" href="http://www.javascriptsource.com/bgeffects/persistent-layer.html">http://www.javascriptsource.com/bgeffec ... layer.html</a><!-- m -->
I've tried changing the line
var topMargin = 100;
to
var topMargin = window.innerHeight - 20;
but then the floating item just sits at the top of the screen and doesn't float. Any modification or new script would be much appreciated.
regards
Kieran