Help - Search - Members - Calendar
Full Version: Image or Video move with html page
HTMLHelp Forums > Web Authoring > General Web Design
SGS
I have seen a few pages that have an image &/or movie that stays in the bottom middle or bottom corner of the html page no matter the size of the page. When you resize and drag the corner of the html page the image/Video goes with it.

I want to do that same thing but can't figure out how it's done.

Any help would be appreciated. Thanks.
Darin McGrew
The W3C's pinned-down menu example shows how to do this.
SGS
QUOTE(Darin McGrew @ Mar 11 2007, 09:57 AM) *

The W3C's pinned-down menu example shows how to do this.


Thanks Darin but here is my problem.

I have put an image into a layer and want the layer to move with the html page as it's resized. Maybe I can't have the image in a layer because it uses the x/y coordinates. The sample you directed me to talks 99% about a banner and I am using an image.

Any help on the code would be appreciated. I'm not a programmer so be gentle.

Thanks.
Christian J
QUOTE(Darin McGrew @ Mar 11 2007, 05:57 PM) *

The W3C's pinned-down menu example shows how to do this.

That's fixed positining, but to me it sounds like the OP wants a footer: http://www.themaninblue.com/experiment/foo...ample_short.htm

SGS
QUOTE(Christian J @ Mar 11 2007, 05:16 PM) *

QUOTE(Darin McGrew @ Mar 11 2007, 05:57 PM) *

The W3C's pinned-down menu example shows how to do this.

That's fixed positining, but to me it sounds like the OP wants a footer: http://www.themaninblue.com/experiment/foo...ample_short.htm



Here is a website that is doing what I am trying to do.
www.rovion.com

The video moves with the page.

I think it is some kind of java script but any help would be appreciated.
Effovex
The video should move with the page by default.

Are you trying to CENTER your video on the page? If so, you can use the <center> tag, or put it in a container with centered content (e.g. <P align=center>) or style the container with CSS (e.g. <P style="text-align: center;">)

I don't see any video on http://www.rovion.com
SGS
The video is there just wait a few seconds for it to load or you can just go into their "Showcase" tab.

This video is overlayed on top of the text. I can do everything just can't figure out how they are bottom centering of bottom corners and moving with the html page. ?????
Effovex
Apparently the videos aren't shown at all in Opera.

Anyway, this looks like position: fixed, which doesn't work in IE, but can be emulated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.