Jump to content

how to show image position dynamicaly


pankaj.ghadge

Recommended Posts

some websites shows the advertising on right hand site, if the page is scrollable, that image also comes down when we scroll the page down & when scroll the page up that image comes upside.That means that image does not get disappear when we scroll the page. how to do this please tell me...........................

Link to comment
Share on other sites

if it is possible refer this code. ..........In this code they have created a dynamic window......when we minimize d window that appear on the left hand side.......... and when we scroll the page.........that minimized window goes down to d page..please COPY d below URL and download this zip file and tell me d solution ..........http://www.dynamicdrive.com/dynamicindex8/...dhtmlwindow.zip thanks in advance .........................

Link to comment
Share on other sites

Right so what you're trying to build is like the page in your example where you can move elements about but when you scroll they still stay fixed and don't go away right?Also you're building it up in the same was as them with a lot of javascript? From this link http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm I see it'll be a bit trickier because natural positioning of their div is absolute, not fixed.

Link to comment
Share on other sites

Change line #2 in dhtmlwindow.css to this (as Kingy said):

position: fixed;

I think I see some other requested modifications, but I'm not sure... Clarification, please?Note also that...

This script is now defunct! You should use the new, much more versatile replacement script, DHTML Window widget instead. This page is simply kept for your reference.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...