Comments (5)
Hi @luminatee, unfortunately, I made Morphext to serve as a simple text rotator. It is not meant for rotating content with HTML and I do not intend on implementing this in the near future.
You can however, modify the source so that it will not filter out HTML:
- https://github.com/MrSaints/Morphext/blob/master/dist/morphext.js#L41
- Replace text() with html()
Alternatively, you can look into another project of mine called Morphist. It is similar to Morphext except that it is slightly more advance and it can rotate HTML. It is meant to be used for rotating the children in a parent object (good for stuff like tweets).
Hope that helps.
Thanks.
from morphext.
Thanks for answer. I just set css rules for parent-node and all ok.
Good work man!
Regards, Alex.
from morphext.
Awesome. Let me know if you have any other problems.
Cheers.
from morphext.
I just opened this issue #13
Have you implemented this feature? Like an option cutHtml:true/false ?
If not do you intend to do it or it's better I search for something else?
It makes sense to use Morphist in place of this, only because of the "html cut" problem?
from morphext.
@dangelion, as my previous post stated, I don't intend on implementing this for Morphext. It's meant to be simple. I strongly recommend you look into Morphist or consider forking this project, and making the appropriate changes I mentioned in #1 (comment) (i.e. text to html fn).
from morphext.
Related Issues (20)
- devDependencies out of date HOT 4
- How to remove an animation after it has completed? HOT 5
- The latest version tag problem HOT 6
- Fade Out Animation HOT 2
- Add fadeInfadeOut stuff HOT 4
- Conflict with the animate.css latest version! HOT 4
- Changing rotation speed for last few phrases HOT 11
- Changing speed of animation depending on index
- linebreak HOT 4
- Stop after completed HOT 6
- Have not Animation feature Clip, Type, Loading Bar HOT 1
- Morphext is not a function HOT 2
- There is miss git tags v2.4.5~v2.4.7 on GitHub repository
- more compress and seccure this plugin HOT 4
- Skip to next Word HOT 1
- [Feature Request] Please add character based animation HOT 2
- Typo in the instructions on morphext.fyianlai.com HOT 2
- Prevent all phrases from flashing inside rotating element on page load HOT 4
- Reset to first word upon click of a button HOT 4
- How to override options?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from morphext.