Help!! How can position a video with Javascript relative to the screen size??
H!. This this driving me nuts!. I am new to this, and I am trying to place a video in the main page of this website www.carolynryan.com using javascript. However, the video has a fixed x-y position, in pixels. If If the site is viewed with different resolutions or screen sizes, the video obviosly appears more to the right or left, instead of "moving" with the size of the page, inside the square area to the right.(centered). Does anybody know how to place the video in such a way so that the video is always centered there? I can't place it inside the page because it has no background, (spokesperson video) Maybe doing it with percentages or something like that?
This is the code I am using for the javascript video..it's located at the bottom of the index page source in www.carolynryan.tv
Bookmarks