fancyapps / fancybox

jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
http://fancyapps.com/
7.28k stars 1.78k forks source link

will not work in firefox please help #372

Closed vip-david closed 12 years ago

vip-david commented 12 years ago

http://dtcs.ca/ click the shopping cart upper right corner the iframe opens inside with no problem inside internet explorer 9 and 10 however inside firefox it does nothing

fancyapps commented 12 years ago

Please, update all files, including helpers.

vip-david commented 12 years ago

I just update yesterday

fancyapps commented 12 years ago

Then fix your JS errors -

Uncaught ReferenceError: jQuery is not defined jquery-ui.js:322
Uncaught TypeError: Object function (obj) { ...
vip-david commented 12 years ago

ok the error is only with the fancyapps and I just download it from you yesterday

vip-david commented 12 years ago

look at my source and tell me if you c a problem "<!DOCTYPE html>

``` DTCS - DT Computer Services ```

SHOP ONLINE

UPGRADE YOUR PC

BUILD A WISHLIST
DT Computers Online Store

```

DT Computer Services

  • 519-451-0014
  • daniel@dtcs.ca
  • david@dtcs.ca
  • Packages

    Our Packages
  • Calendar

    & Specials
  • Services

    Our Services
  • Contact

    Get In Touch
``` ``` " ```
fancyapps commented 12 years ago

This piece of your code breaks the further execution of the JavaScript -

$.fancybox.defaults({
    scrolling : 'auto',
    preload   : true
});

The error message -

Uncaught TypeError: Object function (obj) {
...
} has no method 'defaults' /:60

clearly explains your issue.

vip-david commented 12 years ago

its still not working on firefox

fancyapps commented 12 years ago

You still have not fixed your errors. For example, you have included jQuery library twice - http://dtcs.ca/lib/jquery-1.8.0.min.js ( jQuery v@1.8.0) and http://dtcs.ca/script/jquery.min.js ( jQuery v1.6.4 )

vip-david commented 12 years ago

yes as I need both as nithere script will work on the same libary

fancyapps commented 12 years ago

So, how can you offer web development services if you are not able to open developer tools, check JavaScript errors and fix them?

1) you have included jQuery UI before including jQuery library 2) If you include jQuery library twice, then every plugin loaded before will be lost

vip-david commented 12 years ago

i simply ask you too help as I've tested my site the way the coding is and yes it has errors my site but it loads proper and if you don't wonna help to fix your code i understand and i will go ells were so next time if somebody ask you for help with something you did you should often your help no mater what they do for a living and i know about not having 2 library's and i have 2 different version to run 2 different plugins

fancyapps commented 12 years ago

I`m sorry, but I do not think that anyone would be interested in debugging your code (especially since you are ignoring my hints).

fanxcyBox works fine on all modern browsers and there is nothing to fix.

borisoffdenis commented 11 years ago

Maybe you use wrong callback (closeClick) from another version of Fancybox? Try to use "onClosed"