Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    kza
    kza is offline
    New to the CF scene
    Join Date
    Aug 2013
    Location
    Currently working and living in Thailand.
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post JS error in gallery code

    Hi CF.

    I'm new in this site, and actually came upon you as a by-product of an error.

    In the sidebar, of the blog I am currently building, I have a small thumbnail displaying gallery, with random pictures from several galleries.
    My blog platform is Wordpress and the plugin/widget I use is Nextgen Gallery.

    Now, my problem is, that the sidebar thumbnail displayer prevents the bottom "1, 2, 3"s (page navigation) from working.

    My brother found a piece of the code, which should contain the problem;


    URL for the blog is: http://www.asientravel.dk/blog/
    I am creating the blog for a small company, so if you find the link as spam or commercializing, feel free to remove it.

    Thank you in advance.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,946
    Thanks
    0
    Thanked 236 Times in 233 Posts
    I did not look at your site but the .attr('id') is undefined because $gallery is empty. This means that it did not find the parent element matching the '.ngg-galleryoverview:first' selector.

  • #3
    kza
    kza is offline
    New to the CF scene
    Join Date
    Aug 2013
    Location
    Currently working and living in Thailand.
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not the sharpest coder, could you be so kind to specify that for me?

  • #4
    kza
    kza is offline
    New to the CF scene
    Join Date
    Aug 2013
    Location
    Currently working and living in Thailand.
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    More of a novice, so if anyone has a solution for me it'd be greatly appreciated.

    Thank you in advance.


  •  

    Posting Permissions

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