Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » General Web Development Discussions

Discuss general web development related issues. For Opera bugs, use the Bug Report Wizard: https://bugs.opera.com/wizard/. For Opera feature requests and queries, use Desktop wish-list: http://my.opera.com/community/forums/forum.dml?id=24.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By mattcichy anchor Friday, 13. March 2009, 21:55:22

avatar

DSi remove or disable scrollbars in Dual Screen mode

I am building a site to work specifically with the Nintendo DSi. I would like the site to take up 100% of both both screens (basically a 352 pixel heigh site). I will be using the bottom screen for navigation and the top screen to display non-interactive content. My question is, when I am in the zoomed duel screen mode and use the <meta name="viewport" content="width=240" /> tag is there a way to disable the scrollbar either with CSS or JS?

If this is not the right place to ask this question, could someone point me to a more appropriate place?

Thanks!

By andreasbovens O anchor Monday, 16. March 2009, 17:37:35

avatarHi mattcichy,

> use the <meta name="viewport" content="width=240" /> tag

We recommend using <meta name="viewport" content="width=device-width" />

> is there a way to disable the scrollbar either with CSS or JS?

No. Even if the scrollbar is not active (e.g. because the page is very short), a greyed out version is shown.

By mattcichy anchor Monday, 16. March 2009, 18:57:58

avatarThank you for the info :smile:

By mattcichy anchor Monday, 16. March 2009, 22:20:11

avatarIs there a good way to capture the scroll event?

By hpique anchor Saturday, 20. June 2009, 09:16:38

avatar

Originally posted by andreasbovens:

No. Even if the scrollbar is not active (e.g. because the page is very short), a greyed out version is shown.



Dear Andreas,

Is there a way to disable (not hide) the scrollbar if the page is not "very short"?

The mouse events do not work the same way when the scrollbar is enabled, and if the page is 240x352, the scrollbar is of little use if the upper screen does not have any links.

Thank you for your time.

By andreasbovens O anchor Monday, 22. June 2009, 12:54:06

avatarhpique, can you post a link to a page showcasing what exactly you want to get to work? I'm not entirely sure what you're trying to achieve :-)

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom