GitXplorerGitXplorer
d

jinterest-pinterest-style-web-library

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
c55df765e8733f2b55d3ca1b030f0761928eebe5

Update README.md

ddevjin0617 committed 11 years ago
Unverified
5c00fc04b460e7ca37655a65dbf3d7975e23cb44

sample image

ddevjin0617 committed 11 years ago
Unverified
cc8042259421fa4f05fb0781ffa103fb55ce6a9a

Update README.md

ddevjin0617 committed 11 years ago
Unverified
b44079877a4d5463c92be9246f4015396f9d9c4f

source update

committed 11 years ago
Unverified
2902c75c37836d1597a6a49f4c8f72755224e5d7

Initial commit

ddevjin0617 committed 11 years ago

README

The README file for this repository.

jinterest-pinterest-style-web-library

Join the chat at https://gitter.im/devjin0617/jinterest-pinterest-style-web-library

jQuery + Bootstrap Pinterest Style Web Library

How to Use

Use? Very Easy!

  1. jquery, bootstrap add CSS, Js Library. and jinterest.js add!

  2. in <div class="jt-body">

  3. data set

  4. jinterest init!

  <html>
    <head>
    <title>jinterest sample</title>
    
    <!-- Latest compiled and minified CSS -->
		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">

		<!-- Optional theme -->
		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">

		<!-- Jinterest CSS -->
		<link rel="stylesheet" href="https://raw.githubusercontent.com/devjin0617/jinterest-pinterest-style-web-library/master/css/jinterest.css">
    </head>
    <body>
      <div class="jt-body"></div>
      
      
      <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
		<!-- Latest compiled and minified JavaScript -->
		<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

		<!-- Jinterest JavaScript -->
		<script src="https://raw.githubusercontent.com/devjin0617/jinterest-pinterest-style-web-library/master/js/jinterest.js"></script>
		
		<script>
		  var listObj = [{
					id : '1',
					img_url : 'img/img_0.png',
					title : 'helloworld',
					content : 'hello content',
					date : '2014.05.01',
					like_count : '99',
					reply_count : '10'
				}, {
					id : '2',
					img_url : 'img/img_1.png',
					title : 'helloworld',
					content : 'hello content',
					date : '2014.06.01',
					like_count : '99',
					reply_count : '10'
				}];
				
			$(document).ready(function() {
			
			    	/* jinterest init */
				Jinterest(listObj);
			});
				
				
		</script>
    <body>
  </html>

Sample

jinterest