Okay
  Print

Make Column Link Open Lightbox

Step 1: Add an Extra Class Name in the Column Setting of the Column that need to open a LIghtbox . In our Example we have added "lightbox-column" as Extra Class Name .


Step 2: Add the Javascript code in Salient Theme Options Panel -> General Settings ->  CSS/Script Related Section .

For Video :

<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery(".lightbox-column a.column-link").attr("rel","prettyphoto").addClass("nectar_video_lightbox");
});
</script>

For Image :

<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery(".lightbox-column a.column-link").attr("rel","prettyphoto");
});
</script>
Click to View Larger Image