Scroll follow code from dynamic drive does not work.

  • 1
  • Problem
  • Updated 8 years ago
  • Solved
I want to add html on my site that follows me down as I scroll.
I found a few that looked nice:

But I have a problem.
If i copy the code into notepad and save it in my documents, then open it with the browser, it works nicely. But, if I put it in a html element on the site builder, It comes up stuck in place in the middle of the site.
Here are some images:
On dynamicdrive

After scroll

on site builder:

After being published

I am really disappointed.
Please help me.
I think it is a publishing error.













Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
  • frustrated

Posted 8 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Kevin

First of all - the problem may be due to the fact that you have both codes running on your site. Some script codes do not interact well with each other - causing one to fail.

I suggest just working with one code at a time on your page.

The other thing is you may not have enough content on your site yet to enable the scrolling to work. Try hitting enter several times and then try and see if your floating menu works.
Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
I tried putting one code at a time on there and it didn't fix it. Anyways, I checked every line of code for every single piece of code in there and I didn't find any similarities. I also pressed enter as you said and, well, I did not see a single bit of change.
Photo of Kevin

Kevin

  • 475 Posts
  • 29 Reply Likes
Thanks for your help, but I found something else that works and is in fact even better than what I had in mind.http://jixedbar.rawswift.com
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Fantastic news, kevin.superplane.

I'm glad that you were able to find something that worked for you!