Permalink
Browse files

Oops, escaping

  • Loading branch information...
1 parent 6c3914c commit 16196f48f59246aa0208003bfae9bbfeb38c9828 @jakearchibald committed Dec 4, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
@@ -13,11 +13,11 @@ However, this solution is dirty as hell, but it works.
First, surround your image, or set of images with some dirty-magic script elements:
- <script class="responsive-gallery">document.write('<' + '!--')</script><noscript>
- <a href="http://www.flickr.com/photos/major_clanger/3690964841/">
- <img src="http://farm3.staticflickr.com/2624/3690964841_3f157fa6ba_t.jpg" alt="">
- </a>
- </noscript><!---->
+ <script class="responsive-gallery">document.write('<' + '!--')</script><noscript>
+ <a href="http://www.flickr.com/photos/major_clanger/3690964841/">
+ <img src="http://farm3.staticflickr.com/2624/3690964841_3f157fa6ba_t.jpg" alt="">
+ </a>
+ </noscript><!---->
Dirty isn't it? Anyway, then include responsiveGallery.js, and initialise your gallery:

0 comments on commit 16196f4

Please sign in to comment.