Code for Floating or Scrolling Div.

  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 26, 2003
  • Posts: 160
  • Loc: Chicago, IL.
  • Status: Offline

Post August 17th, 2009, 11:01 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 17th, 2009, 11:01 am

  • BIOSTALL
  • Graduate
  • Graduate
  • User avatar
  • Joined: Sep 11, 2005
  • Posts: 125
  • Loc: UK
  • Status: Offline

Post August 17th, 2009, 4:08 pm

You mean like this?

http://javascript.about.com/library/blanim03.htm
  • mk27
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jun 09, 2009
  • Posts: 334
  • Status: Offline

Post August 18th, 2009, 12:30 pm

It's probably often css:
Code: [ Select ]
div {position: fixed; }
Image
  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 26, 2003
  • Posts: 160
  • Loc: Chicago, IL.
  • Status: Offline

Post August 19th, 2009, 7:02 am

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 113 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.