Code Monkey home page Code Monkey logo

Comments (8)

fayching avatar fayching commented on July 17, 2024

http://frozenui.github.io/iframe-start-1.html 这里用了tab点击事件没有生效,样式用例子中display: inline-block的写法也有问题

from frozenjs.

hkz404 avatar hkz404 commented on July 17, 2024

命名为 scroll.js 也好,这样更合适,只要区别于 IScroll。
文档重新编辑了,下载地址会去掉,源码以 frozenjs 为主。

这周把组件改成依赖 Zepto 的模式。示例中用了 display:inline-block 是因为没有用 JS 动态获取 scroller 的宽度,同时示例的类名用 ui-tabs 而非 ui-tab 也是为了和现有 Fronzen ui 不冲突,后面结构会统一。

from frozenjs.

fayching avatar fayching commented on July 17, 2024

你看下我那个示例不是你写的那个,用的是css组件的ui-tab, 我一开始参考你的css冲突倒不会因为组件里并没有写.ui-tab-content和.ui-tab-content li的样式,但是用display:inline-block结构会有问题,这个应该只适合简单结构用font-size: 0有效的,后来改用display: -webkit-box;的方式可以轮播但是不能点击,怀疑是ui-tab fixed的原因

.ui-tab-content{
display: -webkit-box;
width: 300%;
}
.ui-tab-content > li {
-webkit-box-flex: 1;
width: 100%;
height:500px;
}

在 2014年11月22日,下午2:16,Hahn [email protected] 写道:

命名为 scroll.js 也好,这样更合适,只要区别于 IScroll。
文档重新编辑了,下载地址会去掉,源码以 frozenjs 为主。

这周把组件改成依赖 Zepto 的模式。示例中用了 display:inline-block 是因为没有用 JS 动态获取 scroller 的宽度,同时示例的类名用 ui-tabs 而非 ui-tab 也是为了和现有 Fronzen ui 不冲突,后面结构会统一。


Reply to this email directly or view it on GitHub.

from frozenjs.

rancui avatar rancui commented on July 17, 2024

学习中…

from frozenjs.

hkz404 avatar hkz404 commented on July 17, 2024

问题已解决,是程序内部判断类名的时候没有考虑到多类名的情况,下个版本会修复。

from frozenjs.

rancui avatar rancui commented on July 17, 2024

官网上js模块中 loading模块的调用方式那地方貌似写错了哈 应该是$.loading(options) 不是$.tips(options)

from frozenjs.

fayching avatar fayching commented on July 17, 2024

确实写错了
lp r dy 22s rrel7k r5c7

from frozenjs.

jeakey avatar jeakey commented on July 17, 2024

嗯,这个我修改一下,谢谢提醒

from frozenjs.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.