www.webdeveloper.com
Results 1 to 2 of 2

Thread: Page with Lightbox is "Jumping" when navigating through site

  1. #1
    Join Date
    Sep 2013
    Posts
    1

    Page with Lightbox is "Jumping" when navigating through site

    http://cindyearlcovic.com/portfolio.html

    Can anyone help me figure out why this page is "jumping when" I click on the different pages throughout the site? I know it has to do with the lightbox because when I remove it from the page, it stops "jumping" when I navigate from page to page. It's driving me crazy!!

    THANK YOU!
    Gabbey

  2. #2
    Join Date
    Sep 2013
    Posts
    221
    Lightbox is small javascript library used to overlay images on top of the current page.

    You need to prevent the default action from taking place when the link is clicked. The simplest way to do this is to return false from the onclick handler or try out by not adding a data-lightbox attribute to any image link to activate Lightbox.
    Hope this helps.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles