Title: bernav's Replies | WordPress.org

---

# bernav

  [  ](https://wordpress.org/support/users/bernav/)

 *   [Profile](https://wordpress.org/support/users/bernav/)
 *   [Topics Started](https://wordpress.org/support/users/bernav/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bernav/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bernav/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bernav/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bernav/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bernav/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Master Slider - Responsive Touch Slider] Conflict with Scroll to Top](https://wordpress.org/support/topic/conflict-with-scroll-to-top/)
 *  Thread Starter [bernav](https://wordpress.org/support/users/bernav/)
 * (@bernav)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/conflict-with-scroll-to-top/#post-11738272)
 *     ```
       below is our code for the scroll to top:
   
       $(document).ready(function(){
       	var offset = 220;
           $(window).scroll(function() {
               if ($(this).scrollTop() > offset) {
                   $('a#backtop').show();
               } else {
                   $('a#backtop').hide();
               }
           });
   
       	$('a#backtop').click(function(event) {
               event.preventDefault();
               $('html, body').animate({scrollTop: 0}, 500);
               return false;
           });
       });
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by 10Web - Mobile-Friendly Image Gallery] Clicking thumbnail opens both lightbox + new tab/window](https://wordpress.org/support/topic/clicking-thumbnail-opens-both-lightbox-new-tab-window/)
 *  [bernav](https://wordpress.org/support/users/bernav/)
 * (@bernav)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/clicking-thumbnail-opens-both-lightbox-new-tab-window/#post-10001445)
 * Hi. I have installed the plugin yesterday. I have selected “Open Lightbox” from
   Image Click Action in Generate Shortcode page. But it seems that its not working.
   The image when clicked will redirect me to a new page instead of a lightbox. 
   I don’t have any plugins that will open a new window if an image is click. Is
   the lightbox only available for premium users? thank you.

Viewing 2 replies - 1 through 2 (of 2 total)