I have already quite advance in solving my problem using a solution I have found in another post: https://stackoverflow.com/a/8653109/1567848 - but am still not able to make it work on a real page. It would only work within JSFiddle.
Here is my already quite complete example and it work exactly the way I want: http://jsfiddle.net/enULV/ (why won't it work on a real page?). - my guess is that there is a problem with the JavaScript, but my JS is quite poor and I would be very thankful for some help.
Perhaps another solution could be to determine a certain amount of pixel from the bottom, creating a limit for the #footer_border
not to overlap the #footer
. (Just another random idea - I would actually prefer to get this other method working.)
Besides, I would like the HTML-Markup and CSS to stay just the way they are (for that it how the page is constructed with all its content, in which I wish in include this script).
Thank you very much in advance.