Advertisement
firoze

prettyPhoto Activation

Jan 31st, 2015
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. // prettyPhoto Activation
  2.  
  3. <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
  4. <script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
  5.  
  6. <script type="text/javascript" charset="utf-8">
  7. $(document).ready(function(){
  8. $("a[rel^='prettyPhoto']").prettyPhoto();
  9. });
  10. </script>
  11.  
  12. // this below have to show into our portfolio in html document
  13.  
  14. <a rel="prettyPhoto" href="images/portfolio.png"></a>
  15.  
  16. // take the prettyPhoto folder from images and keep into your images file and change into the css remove ../ from prettyphoto.css
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement