I need to reference a DIV with the prettyPhoyo plugin

0

I want the prettyPhoto plugin to be invoked by clicking the div class = 'image'.

Necessarily you should be clicking the div in which I have the image without adding link elements or others.

Someone to help me please. I share the code.

<link rel="stylesheet" type="text/css" href="css/prettyPhoto.css"> 
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>  


<div class="image" style="background-image: url(../image.jpg);" rel="prettyPhoto"> 
</div>
    
asked by Juan Jose 17.08.2018 в 19:10
source

0 answers