<%-- /** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ --%> <%@ include file="/html/portlet/dockbar/init.jsp" %>

100%
768px
1024px
1280px

(px)

×
var devicePreview = new Liferay.Dockbar.DevicePreview( { devices: { autosize: { skin: 'autosize' }, custom: { height: '#height', resizable: true, width: '#width' }, desktop: { height: 1050, width: 1300 }, smartphone: { height: 640, preventTransition: true, rotation: true, selected: true, skin: 'smartphone', width: 400 }, tablet: { height: 900, preventTransition: true, rotation: true, skin: 'tablet', width: 760 } }, inputHeight: '#height', inputWidth: '#width', namespace: '' } ); Liferay.once('dockbarHidePanel', A.bind('destroy', devicePreview));