Home > Features > Enjoying a Different View (Mode) With CSS Media Queries • Bookmark   • Newsletters   • Register Search Options


Enjoying a Different View (Mode) With CSS Media Queries

Enjoying a Different View (Mode) With CSS Media Queries

September 23, 2012
Text size: 
View in Digital Mag
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
Yes, but in a few years
Out of 179 votes. Results based on votes submitted by members of XBIZ.net social network.

" The floating and full screen modes in particular, provide unique visual opportunities for forward-looking designers. "

Today’s adult entertainment consumer is seeking cutting-edge viewing options across a wide range of platforms; from bigscreen TVs to small-screen mobile devices and all types of computer displays, content publishers are striving to suit the needs of a “one size does not fit all” audience.

According to W3.org, the CSS viewmode specification “defines a media feature to match the different visual presentation modes that can be applied to web applications and thereby apply different styling based on these different modes using CSS media queries.”

W3C says its role in making this formal recommendation is to draw attention to the finalized specification and to promote its widespread deployment as a way of enhancing “the functionality and interoperability of the web” — and XBIZ is happy to help:

The standards-body explains that whether in-browser or deployed as widgets, on most platforms, web applications can be run in multiple visual modes.

“At times they may occupy the entire screen, at others they may be minimized to a specific docking area; at times they may have chrome that matches the operating system’s style while at others they may be providing their own controls in order to provide for a more immersive experience,” the recommendation states.

“The user is generally in control of at least several aspects of these modalities, and it is therefore important for authors to be able to react to these in order to provide different styling to their applications.”

As a result, W3C defined the view-mode media feature to include several values — “floating,” “fullscreen,” “maximized,” “minimized” and “windowed.”

W3.org provides this simple example of view-mode style sheet coding:

@media handheld and (viewmode: floating) and (orientation: landscape) { // ... }
@media tv and (view-mode: windowed) { // ... }
@media handheld and (viewmode: fullscreen) { // ... }

As you can see, view-mode allows coders to target not only by type of display device, but in the case of tablets and the like, by the way it is held.

For image and video-rich adult entertainment applications, the floating and fullscreen modes in particular, provide unique visual opportunities for forward-looking designers.

The latest version of the full specification is available online (www.w3.org/TR/).


Porn ‘Public Health Crisis’ Is False, Dangerous

We are witnessing the early stages of a moral panic, the likes of which we have not seen since the Reagan Administration. As I write this, there are 27 states in the process of passing mandatory porn... More »

The Skinny on the New DMCA Requirement

The requirements under the Digital Millennium Copyright Act (DMCA) have changed, but the sky is not falling. We have, even as a law firm, been hit with an unbelievable amount of spam sent out by law firms... More »

2017 Outlook: Legal Matters Around the Corner

The adult entertainment business’ legal community recently weighed in the top issues that companies and the industry, as a whole, should be concerned about. XBIZ asked industry attorneys to discuss... More »
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.

Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Access the latest issues of the industry's leading trade publications in digital form. View online or download for offline viewing.


XBIZ.net Paysite Meetup

May 04 - May 04
Prague, Czech Republic

Eurowebtainment 2017

May 17 - May 20
Majorca, Spain

XBIZ Retreat

May 30 - Jun 03
Miami, Florida

XBIZ Miami 2017

May 30 - Jun 02
Miami, Florida
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!