24/7 Support: 800.608.6482

Reference Guide

Try our new AI assistant by clicking the chat icon in the lower right corner.

This Version is Out of Date

You can find the updated Miva 10 Reference Guide here

General Information

Client Dimensions

Client Dimensions is a module that gives developers access to the screen size of the device the customer is using. These dimensions are available both in JavaScript (as cookies) and in the Miva Template Language (SMT).

Client Dimension adds JavaScript in a page's head tag to detect the client's screen size. The data is saved in a cookie and the page is refreshed on the first page load. All of this happens very quickly and should be completely transparent to the customer.

For more information about using Client Dimensions, please see:

http://docs.miva.com/docs/client-dimensions

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.