pinterest

瀑布流插件

蹲街弑〆低调 提交于 2020-03-23 21:46:04
“ 瀑布流 布局”随着pinterest网的流行而出名,现在国内使用这种风格布局的网站也越来越多,比如说Mark之,蘑菇街,点点网,哇哦等等。 今天,主要向大家介绍一些相关的制作插件,以及成功的案例,希望能给大家今后的工作有所帮助。 制作 瀑布流 布局的优秀插件 首先简单的向大家推荐几款制作 瀑布流 的 jQuery 插件,这些插件能帮助大家轻松的实现类似于pinterest的布局效果: 1. Masonry Masonry是一个动态的网格布局插件。每个元素水平方向都采用全float布局,但在垂直方向使用绝对定位来控制元素的位置,犹如彻墙一样,能做到见缝插针。 2. Isotope Isotope是一款实现动态布局的精致 jQuery 插件,是单独的CSS无法实现的,而且他可以通过jQuery选择器来控制元素的显示与隐藏等。 3. Blockslt BlocksIt.js是一个创建动态的网格布局的jQuery插件。它将HTML元素转换为“块”,它们的位置布局类似于网格布局的Pinterest一样。 4. Wookmark Wookmark是一款简单的动态网格布局的jQuery插件。 5. Pinterest Clone Layout 这是一个客隆了Pinterest网站布局的jQuery,方便你快速创建一个类似于pinterest布局效果的站点 6. Flex

Pinterest style layout (Bootstrap 3 + Masonary) *final tweeks*

▼魔方 西西 提交于 2020-02-01 09:09:22
问题 I'm building a site that needs a pinterest style home page. (but only 3 columns wide collapsing down to 2 and then 1 column using the col-lg-4 bootstrap class). I've searched and found many options of how to do this. However, I don't want to specify column widths in my css (I want it to inherit the bootstrap column widths) I dont want to use the new css3 column layout (for lack of older browser support) I dont want to do it in PHP as it stacks in the incorrect order. I've adapted some code

Pinterest style layout (Bootstrap 3 + Masonary) *final tweeks*

一个人想着一个人 提交于 2020-02-01 09:07:22
问题 I'm building a site that needs a pinterest style home page. (but only 3 columns wide collapsing down to 2 and then 1 column using the col-lg-4 bootstrap class). I've searched and found many options of how to do this. However, I don't want to specify column widths in my css (I want it to inherit the bootstrap column widths) I dont want to use the new css3 column layout (for lack of older browser support) I dont want to do it in PHP as it stacks in the incorrect order. I've adapted some code

Pinterest style layout (Bootstrap 3 + Masonary) *final tweeks*

帅比萌擦擦* 提交于 2020-02-01 09:07:04
问题 I'm building a site that needs a pinterest style home page. (but only 3 columns wide collapsing down to 2 and then 1 column using the col-lg-4 bootstrap class). I've searched and found many options of how to do this. However, I don't want to specify column widths in my css (I want it to inherit the bootstrap column widths) I dont want to use the new css3 column layout (for lack of older browser support) I dont want to do it in PHP as it stacks in the incorrect order. I've adapted some code

Pinterest like Grid in Android

放肆的年华 提交于 2020-01-22 05:31:26
问题 I want to build a grid like the one in Pinterest app on Android. I started extending an AdapterView<ListAdapter> but I cannot make many things working (for example the overscroll effect) so, after abandoning the idea to extend AbsListView , now I am starting thinking it is better to extend a ListView and override the layoutChildren() method. What do you think? Thanks 回答1: We won’t be needing any external library for this as Android’s native RecyclerView makes implementing a Pinterest masonry

Log in with Pinterest

风格不统一 提交于 2020-01-11 09:21:08
问题 I can easy implement log in with facebook on iPhone. But I heared, that there was no official API for pinterest. So I wonder if there is a way to implement login with Pinterest. So my app can identify user after his login with pinterest. 回答1: Without an official Pinterest public API, anything else you write to be some kind of workaround is likely to break very easily. Best to register with Pintrist directly and hopefully they'll seed you with access to a beta SDK or API, once they come up

Want to make a detailview just like Pinterest

你离开我真会死。 提交于 2020-01-06 14:18:12
问题 I've been struggling with a view in xcode this whole weekend but still can't get it as I want. I want to do a detailview like Pinterest (see link below) but can't find out how to do it, is it a tableview with custom cells, collectionview or something else.. Which way's the easiest way to build it? Would be so grateful if someone got some good inputs for me.. Have a great upcoming week!! Pinterest DeatilView EDIT: This is what I got at the moment.. But feels like there should be an easier way

Pinterest redirect_uri query parameter

戏子无情 提交于 2020-01-04 11:02:16
问题 In my Pinterest app I have set the Redirect URI to https://my.site.com/pinterest/callback . When doing the redirection after authentication back to my site I append a sessionid so the query becomes https://my.site.com/pinterest/callback?sessionid=<string> . This doesn't seem to work as I get The provided redirect_uri https://my.site.com/pinterest/callback?sessionId=YA6udv2FrdjjV8juij3U5oIBBP6RoEQWWUFNzSHKaHGGf3jRq10uJ2A0-R-eYB8LLwiBTbESEdGzMY0fhYI8d7gOe3kOoPuPS6c-mowaaJBDv0J8D2I does not

How to add an UICollectionViewLayout programmatically?

余生颓废 提交于 2020-01-02 12:17:12
问题 I'm trying to setup a UICollectionViewLayout programmatically. I'm using a UICollectionView also without using storyboards, as well as settings its constraints. I've followed Ray Wenderlich tutorial on the subject with some changes to adapt the code to Swift 3 (as AZCoder2 did https://github.com/AZCoder2/Pinterest). Since all these examples uses storyboards, I've also introduced some changes to create the UICollectionView and its UICollectionViewLayout : collectionViewLayout = PinterestLayout