Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Basics (2014) Getting Started with CSS Intro to CSS Review

Miguel Nunez
Miguel Nunez
3,266 Points

Is it possible to stay in a full screen menu and press buttons to change elements well still stuck in there?

I want to press a menu button on my website once I do that a menu pop up but I'm trying to stay in that full screen menu and change elements by press buttons its like a video game where you press start on ps3 remote and it gives a menu of options and you can navigate in that video game menu to different pages once you press start again it goes back to the game i'm not trying to create a game i'm giving an example what I want to do on a website with that kind of method heres the example http://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_overlay2

and I want to stay in that black menu and navigate in that black menu with different elements changing every time I clink a link or a button in that full screen menu is this possible and how would I do that?

Miguel Nunez
Miguel Nunez
3,266 Points

Basically like a iphone Notification Center for my website I want to have my mobile website with that stucture when I press a navigation button I can press The elements or buttons in that Notification Center and go to different Notification Center pages but still in the Notification Center structure example https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/iphone6-ios9-notification-screen-today-alt.jpg

See how there are buttons in that where it saids today and notification something like that in a css and html kind of way even if I have to use java script to make that

1 Answer

Claudiu Bancos
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Claudiu Bancos
Front End Web Development Techdegree Graduate 22,468 Points

Short answer: Yes, with JavaScript.

In JavaScript you can make any element "request full screen". If you do that with a div that haÈ™ interactive elements or buttons inside, they'll still be there and function when the div goes into full screen mode. CSS styling for full screen divs is doable too.