Giter Club home page Giter Club logo

Comments (8)

jssor avatar jssor commented on July 19, 2024

Custom attribute is legal in jssor slider. You can use either 'u' or 'data-u' attribute.
Please just try.

from slider.

SpitzBubeDe avatar SpitzBubeDe commented on July 19, 2024

Hi, you can
use "data-u" and "data-" prefix for all attributes used in jssor. It works. I am just developing a new site for me...

from slider.

SpitzBubeDe avatar SpitzBubeDe commented on July 19, 2024

oh - jssor faster....LOL

from slider.

tsarma avatar tsarma commented on July 19, 2024

Thank you, I have tested and replace "u" with "data-u" it worked. (example: examples-jquery/ui-definition-1.source.html)
But replacing other attributes like "t" and "t2" to "data-t" and "data-t2" respectively does not work. Any ideas

Edited: Sorry it worked

from slider.

jssor avatar jssor commented on July 19, 2024

That's great!

from slider.

llanverygranger avatar llanverygranger commented on July 19, 2024

The data-u fix isn't working for me. Onwards and upwards :)

from slider.

llanverygranger avatar llanverygranger commented on July 19, 2024

What DOCTYPE are you using in your HTML? I'm using this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The data-u attributes fail validation here: W3 HTML Validator

from slider.

jssor avatar jssor commented on July 19, 2024

Please validate with html5 standard instead of html4

from slider.

Related Issues (20)

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.