Code for Floating or Scrolling Div.

  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Posts: 161
  • Loc: Chicago, IL.

Post 3+ Months Ago

What is that interactive code that appears to be JavaScript that allow for the floating and/or scrolling divs or tables to float or scroll when a webpage is either scrolled up or down? It mostly appears when a page opens, and seems to be mostly surveys or contact forms that won’t leave you along until is clicked or filled out.

I need to add that code to a page in form of a contact form.

Thank you,

cgfX
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • BIOSTALL
  • Graduate
  • Graduate
  • User avatar
  • Posts: 125
  • Loc: UK

Post 3+ Months Ago

You mean like this?

http://javascript.about.com/library/blanim03.htm
  • mk27
  • Proficient
  • Proficient
  • User avatar
  • Posts: 334

Post 3+ Months Ago

It's probably often css:
Code: [ Select ]
div {position: fixed; }
  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Posts: 161
  • Loc: Chicago, IL.

Post 3+ Months Ago

BIOSTALL,

Yes that is what I was talking about.

mk27,

Your css is also a smart conclusion.

I will try and test both.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 79 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.