moving picture that moves with scroll bar

They have: 12 posts

Joined: Sep 1999

Hi,

I'm trying to figure out how on some websites, there will be a gif that will continue to move down with you as you scroll so that it always stays in the same position on the page. I think it has something to do with javascript. I hope anyone knows what i'm talking about. Please help if you can. Thanks alot - I appreciate it!

They have: 12 posts

Joined: Sep 1999

sorry, that didn't help me much. is it javascript that makes it work or dynamic html? I'm really confused--please help! Thanks.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

JavaScript is one language used to create dynamic HTML.

What was wrong with the link provided?

They have: 12 posts

Joined: Sep 1999

Hi again!
Well, the first time, the moving picture didn't even show up with the link. ANYWAYS, this page provided talks about an external javascript file. I'm not really familiar with this. Isn't javascript implemented in the "head" portion of the html?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

It can be... but some JavaScript is placed in the body, and others are external.

A JavaScript that is external opperates just like one that is in the head. In fact, you can take the source from the external .js file, and paste it into your head, and it will work the same.

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.