Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do I stop End-less floating Div in JS? Re: How do I stop End-less floating Div in JS?

#68472
clokey2k
Participant

The jquery plugin would be a better way to go.

Include the plugin on the page like any other ‘js’ file. Then call it using a selector:

$('#sidebarsfloat').stickyFloat()

I haven’t tried it, but that should work. The #sidebarsfloat wont scroll higher or lower than the ‘div’ it is contained within. Give it a go?