Last active
April 13, 2016 23:56
-
-
Save s-hiroshi/c722e934b86376d227bc97ad6dd23f5f to your computer and use it in GitHub Desktop.
JavaScriptのライトボックス(Lightbox)サンプルです。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://lokeshdhakar.com/projects/lightbox2/ --> | |
<head> | |
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/lightbox/css/lightbox.css" type="text/css"> | |
<script type="text/javascript" src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/lightbox.min.js"></script> | |
</head> | |
<body> | |
<a data-lightbox="roadtrip" href="original.png"> | |
<img src="thumb.png"> | |
</a> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment