SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Preloader issue

  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Preloader issue

    what cause showing preloader loading.gif on product page just on page load, before clicking large image?
    What is wrong with jquery.fancybox-1.3.4.js and css?
    http://x.co/i7WR

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by espring View Post
    what cause showing preloader loading.gif on product page just on page load, before clicking large image?
    What is wrong with jquery.fancybox-1.3.4.js and css?
    http://x.co/i7WR
    It may be having compatibility issues. You're using fancybox 1.3.4 there, and it's progressed onwards now to version 2.
    http://fancyapps.com/fancybox/
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no, Prestashop uses fancybox 1.3.4 by default, so this not a reason.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by espring View Post
    no, Prestashop uses fancybox 1.3.4 by default, so this not a reason.
    The fancybox 1.3.4 library file that your site uses is not the same as the one that comes from official sources.
    Your library file has been edited, with parts commented out, and other parts changed.

    I would revert the library code back to the official code, from which troubleshooting can then successfully take place.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, original fancybox JS and CSS has been edited in order to replace the default preloader image with custom one. I'm trying to find out why it don't work correctly.

  6. #6
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by espring View Post
    yes, original JS and CSS has been edited in order to replace the default preloader image with custom one. I'm trying to find out why it don't work.
    With something as complex as the fancybox library, I do not troubleshoot that when its library file has been edited and modified.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Tags for this Thread

Bookmarks

Posting Permissions

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