Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="box">
- <div class="item" data-category="#music"> CLICK </div>
- </div>
- <div class="box">
- <div class="item" data-category="#movies"> CLICK </div>
- </div>
- ...etc ...
- $('.box').click(function() {
- $('#dialogbox').show();
- });
- <div id="music"> ALL INFORMATION ABOUT MUSIC </div>
- <div id="movies"> ALL INFORMATION ABOUT MOVIES </div>
- ... etc ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement