How to Remove tweet and facebook like buttons on PrettyPhoto

just follow this step:

1.dont delete anything from jquery.prettyPhoto.js

2.Open your page and write your customize script, here

<script type=”text/javascript”>

$(document).ready(function(){
$(‘.prettyPhoto’).prettyPhoto({

});
</script>

3. this is existing script use in script.js, now we are editing this script.

<script type=”text/javascript”>

$(document).ready(function(){
$(‘.prettyPhoto’).prettyPhoto({
changepicturecallback: onPictureChanged,
});
</script>

4. and, finally do this stuff.

<script type=”text/javascript”>

$(document).ready(function(){
$(‘.prettyPhoto’).prettyPhoto({
changepicturecallback: onPictureChanged,
});

function onPictureChanged() {

var twitterDiv = jQuery(‘.twitter’);
twitterDiv.empty();

var fbDiv = jQuery(‘.facebook’);

fbDiv.empty();

}
</script>

5. thats it for now.

 

thanks for view this post, and also keep comment, its give me energy to write this kind of usefulĀ  blogs.