Lemme explain my situation here: I'm trying to make a layout for a website. This goes in a small box, and can include HTML and CSS, yet not javascript. I have a small box inside this, with tabs to link to different things. This is done via putting the divs in a box and using anchor tags to get to them.
This is totally fine, until the page has a scrollbar. Then, when you click on the anchor tag, it scrolls. This is a problem as if moves the whole page, and even the tabs aren't visible anymore. Is it possible to get this to work, without any javascript, or should I just put this in an iframe hosted on my own website and get past it that way? :/
Thanks!
views:
266answers:
1
A:
Seems like a simple scrolling div will do the trick. No javascript needed. Much better than an iFrame, I think.
Byron Sommardahl
2010-01-31 04:49:50
This is in a div, yet I don't want it to scroll. What it does is has all of the divs inside a 'structure' div, and then moves them. The user doesn't scroll, they click on a link, for example #about, and then the div repositions. So basically, I don't think that'll work, but I can try. Thanks!
Arianna
2010-01-31 08:08:49
It sounds like are looking for "scroll" functionality without the actual scroll bars. Maybe, in that case, you DO need an iFrame and then use CSS to hide the scrollbars.
Byron Sommardahl
2010-01-31 17:19:01
Okay, thank you. :D
Arianna
2010-02-06 08:36:56