Giter Club home page Giter Club logo

Comments (15)

juek avatar juek commented on September 28, 2024

Hmm. Works here.
Maybe a collision with some of your own custom JS? Any errors in the browser console?

Plugin option "All pages" in is off.

This must be enabled in order to work.

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

Maybe a collision with some of your own custom JS? Any errors in the browser console?

No, I have only Colorbox Extender + Simple Blog. Theme is "Bootswatch_Scss" without changes.

Yes, I have an error

 Uncaught TypeError: $(...).dotdotdot is not a function
    at HTMLDocument.<anonymous> (Child_Page:132)
    at j (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.J (jquery.js:2)

from colorbox-extender.

juek avatar juek commented on September 28, 2024

dotdotdot (a jQuery text truncation plugin) is new for TS 5.1
Is your installation up to date with the current master or did you only replace some gallery related files.

Please check if you have /include/thirdparty/dotdotdot/[3 files here]

dotdotdot gets called (only) from here

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

I just create clear TS-master + CBE-master installation on my 127.0.0.1:8080. Standard theme, no plugins
Same problem. Same error.

Uncaught TypeError: $(...).dotdotdot is not a function
    at HTMLDocument.<anonymous> ((index):145)
    at j (jquery.js:3148)
    at Object.fireWith [as resolveWith] (jquery.js:3260)
    at Function.ready (jquery.js:3472)
    at HTMLDocument.J (jquery.js:3503)

Gallery work fine, alone image with colorbox style and link on itself show permanent loading animation,
Dotdotdot is on place.
But I have only (Are You counting readme?)

22.05.2017  11:08            jquery.dotdotdot.js
22.05.2017  11:08            jquery.dotdotdot.min.js
22.05.2017  11:08            README.md

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

And server, where I found a problem is online on usual hosting and have last official TS-5.03

from colorbox-extender.

juek avatar juek commented on September 28, 2024

But I have only (Are You counting readme?)

Yes, that's fine.

I have to check what happens here.

from colorbox-extender.

juek avatar juek commented on September 28, 2024

... image with colorbox style and link on itself show permanent loading animation,

Just a suspicion. An image linking to itself might prevent the 'load' event colorbox needs to consider the loading process as completed.

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

No, I Make link to different file - same result

from colorbox-extender.

juek avatar juek commented on September 28, 2024

With a plain 5.0.3 installation you shouldn't get the $(...).dotdotdot JS error

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

Yes indeed, I have not. But...

1

from colorbox-extender.

juek avatar juek commented on September 28, 2024

The 'colorbox' class needs to be set on the surrounding anchor, not the image itself.

See the code example

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

Oops. Sorry.
What is surprising, I did everything right with my class for years. And here...
Errāre humānum est.
Once again sorry and many thanks

from colorbox-extender.

juek avatar juek commented on September 28, 2024

;o)

Just added "a." to the selector

from colorbox-extender.

mahotilo avatar mahotilo commented on September 28, 2024

Thx, it's a good fool protection and reminder for people like me who like tests CMS in 01:30

from colorbox-extender.

juek avatar juek commented on September 28, 2024

Uncaught TypeError: $(...).dotdotdot is not a function...

Thanks for spotting this one.
I forgot to push this commit

from colorbox-extender.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.