ZeroShade Posted July 6, 2007 Share Posted July 6, 2007 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 More sharing options...
justsomeguy Posted July 6, 2007 Share Posted July 6, 2007 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 More sharing options...
ZeroShade Posted July 9, 2007 Author Share Posted July 9, 2007 Thanks!! Link to comment Share on other sites More sharing options...
ZeroShade Posted July 9, 2007 Author Share Posted July 9, 2007 I tired doing it with css... doesn't work. I've tried everything i can think of to get rid of this white space... and as soon as the pushpin is hit... it goes away. Any more ideas? Link to comment Share on other sites More sharing options...
ZeroShade Posted July 9, 2007 Author Share Posted July 9, 2007 I got it... simply did an onmouseover and then the opposite. Works fast enough so that it doesn't effect the page unless you know to look for it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.