royals-royce's People
royals-royce's Issues
isMoving in touch events
isMoving Variable in touch-Events entweder komplett entfernen oder Werte passend ändern, z. B. in onTouchMove nach dem Deaktivieren (off) der Handlerfunktionen auf false setzen.
Neuberechnung bei Resize (horizontales Scrollen)
Ändert sich die Fenstergrösse, muss die Breite des Gesamtfensters neu berechnet werden.
(Modul: qp_horizontal.jquery.js)
- Animations-Funktion umgestellt, dass Index des anzuzeigenden Slides übergeben wird
- resize-Event registriert
- resize-Handler eingefügt
ToDo (im resize-Handler)
- mousewheel- und touch-Events entfernen - .off("touchstart.qpHorPara touchmove.qpHorPara"), .off("mousewheel.qpHorPara DOMMouseScroll.qpHorPara")
- defaults.width und defaults.height neu berechnen
- Gesamtlänge neu berechnen und UL zuweisen (siehe Zeilen 24-30)
- Länge der slides neu berechnen slides.each(...) - siehe Zeile 36
- animSlide mit aktuellem Index aufrufen animSlide(defaults.index)
Paralax-Effekt für horizontales Scrolling
Es soll ein Paralax-Effenkt für das horizontale Scrollen implementiert werden.
Mögliche Vorgehensweise:
- Hintergrund in Wrapper (DIV) einfügen
- Hintergrund muss breit genug sein!
- Im Scroll-/Mousewheel-/Touchevent den Hintergrund langsamer bewegen als Vordergrund (UL)
Tipps:
isCss = checkCssProperty('transition');
isCss = checkCssProperty('transition');
aus calcDimensions
in init
verschieben - muss nur beim Initialisieren aufgerufen werden, nicht bei jedem Resize!
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.