Jump to content

scrollbar moving down at a set position


ZeroShade

Recommended Posts

I'm using a virtual earth map on my page and the pushpin will do a screwy thing with the page when it first loads... and creates a div after the page actually loads. Is there a way to have the scrollbar only reach down a set amount of pixels on the page to stop at the footer and not go beyong it into the white space that is created. Myself and another have sat down for a while trying different ways to edit this problem and we could only come up with creating a custom pushpin but I don't want to deal with the 3d modes shim. So as usual I refer to javascript... does anybody know how to modify the scrollbar to do this?

Link to comment
Share on other sites

You don't modify the scrollbar to do that, you set the page up to hide overflowing content using CSS. Put your map inside of a div, use CSS to set the width and height of the div, and then set the overflow property on the div to hidden, that way any content bigger then the width and height of the div will not be shown.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...