javascript - Top-left pixel outside 100% width of the browser window -
is possible load webpage top-left pixel isn't first 1 rather somewhere else?
this current webpage layout , i'd webpage loaded top-left pixel right red arrow lands
i think understand request: sounds goal have single-column page , exclusively in section right/left blocks you'd able scroll left/right.
if that's correct, restructure page have middle column, , use css positioning on #about section this:
#about {position: relative;} #left {position:absolute; left:-100%; width:100%; min-height:100%;} #right {position:absolute; left:100%; width:100%; min-height:100%;}
you might need body overflow, too:
body {overflow-x:hidden;}
then create functionality want, use javascript/jquery animate sections left/right when click on anchors in #about section.
or use js plugin, works extremely , designed type of layout: http://alvarotrigo.com/fullpage/
Comments
Post a Comment