mqchen / jquery.diamonds.js

Diamond layout.
http://mqchen.github.io/jquery.diamonds.js/
MIT License
128 stars 69 forks source link

help :) #6

Closed roxanawax closed 10 years ago

roxanawax commented 10 years ago

Hello I read very carefully your readme.md fail and i do the same thing, but nothing happens. Very sorry, i'm new in this! Can you help me? Thank you!

screen shot 2014-01-20 at 9 33 25 pm

mqchen commented 10 years ago

Hi! You need to include a small javascript snippet that initializes jQuery Diamonds on your elements. Check out the demo here: http://mqchen.github.io/jquery.diamonds.js/

For example, add the following code right after your script-tag:

<script type="text/javascript">
    $(".diamondswrap").diamonds({
        size: 250, // Size of the squares
        gap: 1 // Pixels between squares
    });
</script>
roxanawax commented 10 years ago

Sorry, but nothing again!

screen shot 2014-01-20 at 10 38 25 pm

mqchen commented 10 years ago

Have you added jQuery?