jSize

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-13 19:28:12

软件介绍

Gone were the days of framesets during the late 90s. Usability studies then showed that frames (not iframe) are detremental. The Web 2.0 platform has made the frames concept emerge once again in another form to simulate interfaces that are found in desktop software. As a frequent Yahoo! mail or even Live mail user, you probably have noticed that you can resize reading panels by dragging the sliders/helpers. In this era, we are now talking about divs not frames and making them behave does take quite a bit of effort in your CSS and JavaScripting.

I am approaching this problem from a JavaScript perspective, the CSS to make it work is still daunting if you don't have a firm concept of it. Let's look at a illustration of what the example layout will be.

To make #v-slide and #h-slide work as a slider/resizer, just simply do this.

$("#v-slide").jSize({
type: 'left-right',
c1: '#left',
c2: '#right',
static: '#left'
});

$("#h-slide").jSize({
type: 'top-bottom',
c1: '#top',
c2: '#bottom',
static: '#top'
});

Let us look at the code above and see what it means.

type: (left-right | top-bottom) those are the two choices for your slider
c1: (jQuery css selectors) means the left container or the top container
c2: (jQuery css selectors) means the right container or the bottom container
static: (jQuery css selectors) the container that has min-width and max-width specified on their CSS (either c1 or c2).

Word of caution: min-width and max-width for your container plays an extremely important role to prevent the frames from breaking.

本文地址:https://codercto.com/soft/d/23314.html

降维攻击

降维攻击

高德 / 世界图书出版公司 / 2016-3-31 / 39.80元

本书优势: 第一,降维攻击是一个刚开始流行的商业概念,未来随着电影《三体》的上映,这个概念会更加流行,会成为一个全社会的讨论热点。推出这本书,正好借势营销,是一个热点窗口,同时这个概念的商业价值,又符合了时下市场的需求。 第二,这本书的案例和分析,立足于本土,因为降维攻击的思维,很好地表现了国内许多互联网企业崛起的过程,百度,阿里、腾讯、京东等电商的崛起历程都充满了降维的智慧,对于目前......一起来看看 《降维攻击》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具